Nick Mathewson
a11c30b5fe
Merge remote branch 'origin/patches-2.0'
...
This branch is the big one that merges all the ntp folks' changes
Conflicts:
configure.in
2011-02-22 17:41:27 -05:00
Nick Mathewson
2fba21d867
Make -ffunction-sections off-by-default in 2.0.x
...
I don't see how this can burn anybody, but I don't want to take
chances: new build options are something that should be done in an
alpha. To turn -ffunction-sections on, pass
--enable-function-sections to configure.
2011-02-22 16:20:42 -05:00
Nick Mathewson
7d913f4c8e
Remove nonfunctional enable_libevent_(install|regress)_def variables
2011-02-22 16:14:16 -05:00
Nick Mathewson
15b2408c9b
Use $(), not @@, for LIBEVENT_GC_SECTIONS
2011-02-22 16:13:49 -05:00
Nick Mathewson
f95bafb608
Be explicit about how long event loops run in event.h documentation
2011-02-22 00:34:49 -05:00
Nick Mathewson
039b9bd0e3
Use %s with printf in test.sh
2011-02-22 00:31:56 -05:00
Dave Hart
9c469db300
Correct an AM_CFLAGS to an AM_CPPFLAGS in test/Makefile.am
2011-02-22 00:29:12 -05:00
Dave Hart
49e9bb7fb0
Add configure options to disable installation, regression tests
...
The main reason for disabling installation is if you're building
libevent as a subpackage for embedding: you want to have your main
package's "make all" build libevent, but you don't want your main
package's "make install" to install libevent.
2011-02-22 00:28:37 -05:00
Harlan Stenn
0b334799d6
Add -D_OSF_SOURCE to fix hpux builds
2011-02-22 00:26:19 -05:00
Dave Hart
0965c56356
Use the gcc -ffunction-segments feature to allow gc when linking with static libevent
2011-02-22 00:25:58 -05:00
Harlan Stenn
af08a94085
Check for getservbyname even if not on win32.
2011-02-22 00:25:30 -05:00
Harlan Stenn
833e5e9fcd
Fix autoconf bracket issues; make check for getaddrinfo include netdb.h
2011-02-22 00:25:23 -05:00
Harlan Stenn
a317c068fe
Skip check for zlib if we have no zlib.h
2011-02-22 00:25:18 -05:00
Harlan Stenn
05a2c22fee
Make test-eof fail with a timeout if we never get an eof.
...
Previously, it would just wait forever.
2011-02-22 00:25:12 -05:00
Nick Mathewson
4eb281c8a9
FIX: comment internal headers used in sample code.
2011-02-22 00:24:57 -05:00
Nick Mathewson
eb692be9c8
NM: Fix sample/http-server ipv6 fixes
...
Fix 1: Use #include "../xyz" rather than #include <../xyz>
Fix 2: util-internal.h includes ipv6-internal.h, which in turn defines
a replacement AF_INET6 on platforms that don't have it. As such,
the AF_INET6 checks shouldn't be needed. (right?)
2011-02-22 00:24:57 -05:00
Harlan Stenn
bbf55150b6
Include util-internal.h as needed to build on platforms with no sockaddr_storage
2011-02-22 00:24:54 -05:00
Harlan Stenn
10c834c4df
Include arpa/inet.h as needed on HPUX
2011-02-22 00:24:36 -05:00
Nick Mathewson
8f5cca47dd
Merge remote branch 'origin/patches-2.0'
2011-02-21 23:27:23 -05:00
Nick Mathewson
63a715e125
Correctly detect and stop non-chunked http requests when the body is too long
...
Based on analysis and code from Bas Verhoeven and from
Constantine Verutin.
2011-02-21 23:25:13 -05:00
Nick Mathewson
deb2f73879
fix spelling mistake in whatsnew-2.0.txt
2011-02-18 16:17:22 -05:00
Nick Mathewson
f665924649
Correct evhttp_del_accept_socket documentation on whether socket is closed
...
Thanks to Constantine Verutin for pointing this out.
2011-02-15 11:33:40 -05:00
Nick Mathewson
0c9be76804
Merge branch '20_evport_pollhup' into patches-2.0
2011-02-13 02:51:27 -05:00
Nick Mathewson
926f8165a7
Clarify event_set_mem_functions doc
2011-02-13 00:54:21 -05:00
Nick Mathewson
9f5bf66396
Merge remote branch 'origin/patches-2.0'
2011-02-08 22:24:51 -05:00
Nick Mathewson
f736198086
Fix a type error in our (unused) arc4random_stir()
2011-02-08 22:24:06 -05:00
Nick Mathewson
4cb3f53a6b
Merge remote branch 'origin/patches-2.0'
2011-02-03 14:04:25 -05:00
Sebastian Hahn
f663112fa2
Fix warnings about AC_LANG_PROGRAM usage
...
Autoconf 2.68 introduced some new warnings that were triggered during
autogen.sh. Fix those.
2011-02-03 13:59:18 -05:00
Nick Mathewson
86f02d7533
Merge remote branch 'origin/patches-2.0'
2011-02-01 02:12:46 -05:00
Dave Hart
b4f89b608a
Fix test.sh output on solaris
...
Solaris echo -n doesn't omit newlines, but printf omits newlines in
more places.
2011-02-01 02:09:49 -05:00
Nick Mathewson
c1260b0e7c
Do not check for gethostbyname_r versions if we have getaddrinfo
2011-01-31 17:36:49 -05:00
Nick Mathewson
22845886c6
Merge remote branch 'origin/patches-2.0'
2011-01-31 16:45:23 -05:00
Nick Mathewson
3c8f4e758e
Add compile-time check for AF_UNSPEC==PF_UNSPEC
2011-01-31 16:44:06 -05:00
Nick Mathewson
6092f1265f
Fix http unit test on non-windows platforms without getaddrinfo
2011-01-31 16:37:27 -05:00
Nick Mathewson
cb92113979
Build on systems without AI_PASSIVE
2011-01-31 16:32:05 -05:00
Nick Mathewson
713c254d21
Try to build correctly on platforms with no IPv6 support
2011-01-24 18:55:10 -05:00
Nick Mathewson
9184563e49
Build correctly on platforms without sockaddr_storage
2011-01-24 18:29:44 -05:00
Nick Mathewson
453317b28c
Fall back to sscanf if we have no other way to implement strtoll
2011-01-24 18:22:32 -05:00
Nick Mathewson
da13d64486
Merge remote branch 'origin/patches-2.0'
2011-01-24 18:02:11 -05:00
Nick Mathewson
3267703658
Make --enable-gcc-warnings a no-op if not using gcc
2011-01-24 17:42:23 -05:00
Dave Hart
f1f85147f3
Allow use of --enable-silent-rules for quieter compilation with automake 1.11
2011-01-24 15:50:25 -05:00
Nick Mathewson
8b0afe96eb
Merge remote branch 'origin/patches-2.0'
2011-01-12 21:41:58 -05:00
Nick Mathewson
0c0ec0be2b
Correctly free selectop fields when select_resize fails in select_init
2011-01-12 20:28:47 -05:00
Nick Mathewson
83e805a415
Handle resize failures in the select backend better.
2011-01-07 13:18:09 -05:00
Jardel Weyrich
3f8d22a123
Use event_err() only if the failure is truly unrecoverable.
2011-01-07 13:03:32 -05:00
Jardel Weyrich
666b096691
Detect and handle more allocation failures.
2011-01-07 13:03:31 -05:00
Nick Mathewson
b647e0bc94
Merge remote branch 'kev009/21_ac_use_system_extensions'
2011-01-07 12:31:30 -05:00
Kevin Bowling
ded0a0907b
Add evconfig-private to remaining files
2011-01-07 00:41:37 -07:00
Kevin Bowling
fd7b5a81eb
Shell hack for weird mkdir -p commands
2011-01-07 00:37:05 -07:00
Kevin Bowling
c13e185914
Remove use and reference to event-private.h
2011-01-07 00:34:22 -07:00