]> granicus.if.org Git - libevent/log
libevent
13 years agoTry to fix up CHECK_REGRESS hack to not break on win32
Nick Mathewson [Sat, 23 Apr 2011 05:48:11 +0000 (01:48 -0400)]
Try to fix up CHECK_REGRESS hack to not break on win32

13 years agoAdd missing header for regress_http compilation on win32
Nick Mathewson [Sat, 23 Apr 2011 05:47:43 +0000 (01:47 -0400)]
Add missing header for regress_http compilation on win32

13 years agoMerge branch '20_iocp_conn_sockopt' into patches-2.0
Nick Mathewson [Sat, 23 Apr 2011 05:47:11 +0000 (01:47 -0400)]
Merge branch '20_iocp_conn_sockopt' into patches-2.0

13 years agocall setsockopt correctly on connecting() IOCP-bufferevents so shutdown() will work
Nick Mathewson [Fri, 22 Apr 2011 14:54:02 +0000 (10:54 -0400)]
call setsockopt correctly on connecting() IOCP-bufferevents so shutdown() will work

13 years agoZero a struct sockaddr_in before using it
Sebastian Hahn [Sat, 23 Apr 2011 00:22:08 +0000 (02:22 +0200)]
Zero a struct sockaddr_in before using it

Found by Dave Heart

13 years agoRemote some dead code from dns-example.c
Sebastian Hahn [Sat, 23 Apr 2011 00:20:59 +0000 (02:20 +0200)]
Remote some dead code from dns-example.c

Found by Dave Heart

13 years agoCheck return value of evbuffer_add_cb in tests
Sebastian Hahn [Mon, 11 Apr 2011 16:26:48 +0000 (18:26 +0200)]
Check return value of evbuffer_add_cb in tests

Caught by clang's static analyzer

13 years agoBe nice and "handle" error return values in sample code
Sebastian Hahn [Mon, 11 Apr 2011 16:03:02 +0000 (18:03 +0200)]
Be nice and "handle" error return values in sample code

Caught by clang's static analyzer

13 years agoRefactor test_getaddrinfo_async_cancel_stress()
Sebastian Hahn [Mon, 11 Apr 2011 15:48:23 +0000 (17:48 +0200)]
Refactor test_getaddrinfo_async_cancel_stress()

Turns out it didn't need an event base set up.

Spotted by clang's static anaylzer

13 years agoadd some (void) casts for unused variables
Sebastian Hahn [Mon, 11 Apr 2011 15:40:14 +0000 (17:40 +0200)]
add some (void) casts for unused variables

All these places already have an XXX marker, so we know we need to fix
them later. Let's not clutter the static analysis results with them.

13 years agoActually send NULL request in http_bad_request_test
Sebastian Hahn [Mon, 11 Apr 2011 15:32:03 +0000 (17:32 +0200)]
Actually send NULL request in http_bad_request_test

Issue caught by clang's static analyzer

13 years agoAdd a forgotten return value check in the unit tests
Sebastian Hahn [Mon, 11 Apr 2011 15:23:08 +0000 (17:23 +0200)]
Add a forgotten return value check in the unit tests

Spotted by clang's static analyzer

13 years agoAdd an assert to appease clang's static analyzer
Sebastian Hahn [Sun, 10 Apr 2011 12:03:39 +0000 (14:03 +0200)]
Add an assert to appease clang's static analyzer

It got confused because in EVLOCK_ASSERT_LOCKED(lock) there is an if
(lock) check.

13 years agoFix possible NULL-deref in evdns_cancel_request
Sebastian Hahn [Mon, 14 Mar 2011 03:24:33 +0000 (04:24 +0100)]
Fix possible NULL-deref in evdns_cancel_request

The clang static analyzer complained that base might be dereferenced
without being set, but this patch should fix another dereference issue.

13 years agoAdd a forgotten NULL check to evhttp_parse_headers
Sebastian Hahn [Mon, 14 Mar 2011 03:13:55 +0000 (04:13 +0100)]
Add a forgotten NULL check to evhttp_parse_headers

Issue detected by the clang static analyzer

13 years agoFix compilation under LLVM/clang with --enable-gcc-warnings
Sebastian Hahn [Sun, 10 Apr 2011 15:23:11 +0000 (17:23 +0200)]
Fix compilation under LLVM/clang with --enable-gcc-warnings

When compiling using clang (2.9 or lower) do not enable
-Wnormalized=id or -Woverride-init when --enable-gcc-warnings
or --enable-gcc-warnings-advisory is set as these options
are unsupported.

This commit is based on a patch for Tor
(git commit 56bdc844ba68ac0911efc7ad3398f1eafeaaac76 by Steven
Murdoch), Copyright (c) 2007-2011, The Tor Project, Inc.

13 years agoFix a memory leak on win32 socket->event map.
Nick Mathewson [Thu, 21 Apr 2011 21:33:13 +0000 (17:33 -0400)]
Fix a memory leak on win32 socket->event map.

This would lose some memory every time an event_base was freed on win32.

Found by Dimitre Piskyulev.

13 years agoHandle calloc failure in evdns. (Found by Dave Hart)
Nick Mathewson [Thu, 21 Apr 2011 21:11:41 +0000 (17:11 -0400)]
Handle calloc failure in evdns. (Found by Dave Hart)

13 years agoMerge branch '20_evdns_circular_list_patch' into patches-2.0
Nick Mathewson [Thu, 21 Apr 2011 17:30:22 +0000 (13:30 -0400)]
Merge branch '20_evdns_circular_list_patch' into patches-2.0

13 years agoFix a crash bug in evdns server circular list code
Nick Mathewson [Wed, 20 Apr 2011 17:27:31 +0000 (13:27 -0400)]
Fix a crash bug in evdns server circular list code

Really, this should use a circleq.  That's a change for 2.1, though.

13 years agoFix a couple of memory leaks in samples/http-server.c. Found by Dave Hart.
Nick Mathewson [Thu, 14 Apr 2011 18:15:13 +0000 (14:15 -0400)]
Fix a couple of memory leaks in samples/http-server.c. Found by Dave Hart.

13 years agoAvoid a free(NULL) if out-of-memory in evdns_getaddrinfo. Found by Dave Hart
Nick Mathewson [Wed, 13 Apr 2011 15:20:30 +0000 (11:20 -0400)]
Avoid a free(NULL) if out-of-memory in evdns_getaddrinfo. Found by Dave Hart

13 years agoFix the check for multicast or broadcast addresses in evutil_check_interfaces
Nick Mathewson [Tue, 5 Apr 2011 21:21:12 +0000 (17:21 -0400)]
Fix the check for multicast or broadcast addresses in evutil_check_interfaces

First of all, it is totally okay to have an address end with .255,
depending on what your netmask is, so we shouldn't reject a local
address if it ends with .255.

Second, our check for ending with .255 was broken.  So was our check
for class-d addresses.

Found by Dave Hart.

13 years agoMerge branch '20_socktype_protocol_nomem' into patches-2.0
Nick Mathewson [Tue, 5 Apr 2011 21:17:51 +0000 (17:17 -0400)]
Merge branch '20_socktype_protocol_nomem' into patches-2.0

13 years agoCheck for allocation failures in apply_socktype_protocol_hack
Nick Mathewson [Tue, 5 Apr 2011 20:32:39 +0000 (16:32 -0400)]
Check for allocation failures in apply_socktype_protocol_hack

13 years agoFix the case when failed evhttp_make_request() leaved request in the queue.
Tomash Brechko [Thu, 31 Mar 2011 15:11:10 +0000 (19:11 +0400)]
Fix the case when failed evhttp_make_request() leaved request in the queue.

13 years agoFix subtle recursion in evhttp_connection_cb_cleanup().
Tomash Brechko [Thu, 24 Mar 2011 12:52:34 +0000 (15:52 +0300)]
Fix subtle recursion in evhttp_connection_cb_cleanup().

13 years agoReset outgoing connection when read data in idle state.
Tomash Brechko [Wed, 23 Mar 2011 09:05:33 +0000 (12:05 +0300)]
Reset outgoing connection when read data in idle state.

Imagine server side is buggy and miscalculates Content-Length: in the
reply.  Data arriving in idle state shouldn't make us crash, instead we
can just reset the connection.

13 years agoAdd comment to configure.in to explain gc-sections test logic
Nick Mathewson [Wed, 23 Mar 2011 20:32:42 +0000 (16:32 -0400)]
Add comment to configure.in to explain gc-sections test logic

(Basically, we need access to conftest.err for the test to work properly.)

13 years agoFix for --gc-sections on NetBSD
Dave Hart [Wed, 23 Mar 2011 20:22:57 +0000 (16:22 -0400)]
Fix for --gc-sections on NetBSD

This patch fixes http://bugs.ntp.org/1844, works around
http://gnats.netbsd.org/cgi-bin/query-pr-single.pl?number=40401, by
improving the test for support of --gc-sections to run a program which
reads a file using stdio built with --gc-sections, instead of simply
link the binary.  This catches the buggy linker as the garbage
collection removes a tag NetBSD uses to distinguish its own elf
binaries from Linux ones, causing it to treat conftest as a Linux
binary and run it with the wrong syscall table.

13 years agoFix make distcheck & installation of libevent 1 headers
Dave Hart [Wed, 23 Mar 2011 20:22:24 +0000 (16:22 -0400)]
Fix make distcheck & installation of libevent 1 headers

libevent/Makefile.am corrects a typo (thanks to Harlan for spotting it
once we realized make distcheck was broken when building the libevent
tearoff).  The result was the include/ev*.h were not distributed nor
installed whether or not --disable-libevent-install was used.  This
was introduced with the final round (3/3) of
--disable-libevent-install patch from me.

13 years agoFix incorrect assertions and possible use-after-free in evrpc_free()
Christophe Fillot [Sat, 12 Mar 2011 17:08:19 +0000 (12:08 -0500)]
Fix incorrect assertions and possible use-after-free in evrpc_free()

Original description:

  The following patch fixes incorrect assertions in evrpc_free():
  evrpc_unregister_rpc() and evrpc_remove_hook() return 0 for success.

  Also, in evrpc_unregister_rpc(), it is better to free RPC structure
  at the end: evrpc_free() uses rpc->uri as "name" parameter when
  calling evrpc_unregister_rpc(), then rpc->uri is freed, but we have
  "registered_uri = evrpc_construct_uri(name)". So at this time "name"
  is invalid.

13 years agoDisable lazy gettimeofday/clock_gettime comparison for now
Nick Mathewson [Tue, 8 Mar 2011 03:59:19 +0000 (22:59 -0500)]
Disable lazy gettimeofday/clock_gettime comparison for now

13 years agoMerge branch '20_timescale' into patches-2.0
Nick Mathewson [Tue, 8 Mar 2011 03:45:10 +0000 (22:45 -0500)]
Merge branch '20_timescale' into patches-2.0

13 years agoFollowup for Tomash Brechko's http patch
Nick Mathewson [Tue, 8 Mar 2011 02:55:47 +0000 (21:55 -0500)]
Followup for Tomash Brechko's http patch

This patch makes bufferevent_disable_hard() non-public, and
adds a comment about what it's for and why it's used.

13 years agoWorkaround libevent bug
Tomash Brechko [Thu, 24 Feb 2011 09:30:40 +0000 (12:30 +0300)]
Workaround libevent bug
https://sourceforge.net/tracker/index.php?func=detail&aid=3078187&group_id=50884&atid=461324

The problem is that bufferevent_disable() doesn't disable EV_WRITE
when 'connecting' flag is set.  However from evhttp_connection_reset()
we want to disable EV_WRITE for sure (we are closing the socket next).
So we add bufferevent_disable_hard(), which acts like
bufferevent_disable(), but resets 'connecting' flag before the call to
the actual handler.

TODO: bufferevent_disable_hard() shouldn't be public, remove it from
event2/bufferevent.h.

13 years agoHave event_base_gettimeofday_cached() always return wall-clock time
Nick Mathewson [Thu, 3 Mar 2011 20:34:22 +0000 (15:34 -0500)]
Have event_base_gettimeofday_cached() always return wall-clock time

Based on code by Dave Hart

13 years agoMake --no-libevent-install apply to event1 headers too
Dave Hart [Thu, 3 Mar 2011 17:57:17 +0000 (12:57 -0500)]
Make --no-libevent-install apply to event1 headers too

13 years agoMake --no-libevent-install apply to headers too
Dave Hart [Fri, 25 Feb 2011 15:35:12 +0000 (10:35 -0500)]
Make --no-libevent-install apply to headers too

13 years agoContinue AM_CFLAGS to AM_CPPFLAGS correction
Sebastian Hahn [Wed, 23 Feb 2011 08:19:08 +0000 (09:19 +0100)]
Continue AM_CFLAGS to AM_CPPFLAGS correction

9c469db300e1b270a93c6b04c1709ac0f7751136 had started with the conversion
but left out another instance of incorrectly used AM_CFLAGS.

Dave Hart provided the suggestion for this fix.

13 years agoMerge branch '20_uri_nonconformant' into patches-2.0
Nick Mathewson [Tue, 22 Feb 2011 23:53:55 +0000 (18:53 -0500)]
Merge branch '20_uri_nonconformant' into patches-2.0

13 years agoMake -ffunction-sections off-by-default in 2.0.x
Nick Mathewson [Tue, 22 Feb 2011 21:20:42 +0000 (16:20 -0500)]
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.

13 years agoRemove nonfunctional enable_libevent_(install|regress)_def variables
Nick Mathewson [Tue, 22 Feb 2011 21:14:16 +0000 (16:14 -0500)]
Remove nonfunctional enable_libevent_(install|regress)_def variables

13 years agoUse $(), not @@, for LIBEVENT_GC_SECTIONS
Nick Mathewson [Tue, 22 Feb 2011 21:13:49 +0000 (16:13 -0500)]
Use $(), not @@, for LIBEVENT_GC_SECTIONS

13 years agoBe explicit about how long event loops run in event.h documentation
Nick Mathewson [Tue, 22 Feb 2011 05:34:49 +0000 (00:34 -0500)]
Be explicit about how long event loops run in event.h documentation

13 years agoUse %s with printf in test.sh
Nick Mathewson [Tue, 22 Feb 2011 05:31:56 +0000 (00:31 -0500)]
Use %s with printf in test.sh

13 years agoCorrect an AM_CFLAGS to an AM_CPPFLAGS in test/Makefile.am
Dave Hart [Sun, 13 Feb 2011 07:27:42 +0000 (02:27 -0500)]
Correct an AM_CFLAGS to an AM_CPPFLAGS in test/Makefile.am

13 years agoAdd configure options to disable installation, regression tests
Dave Hart [Sun, 13 Feb 2011 07:05:04 +0000 (02:05 -0500)]
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.

13 years agoAdd -D_OSF_SOURCE to fix hpux builds
Harlan Stenn [Sun, 13 Feb 2011 07:00:10 +0000 (02:00 -0500)]
Add -D_OSF_SOURCE to fix hpux builds

13 years agoUse the gcc -ffunction-segments feature to allow gc when linking with static libevent
Dave Hart [Sun, 13 Feb 2011 06:50:40 +0000 (01:50 -0500)]
Use the gcc -ffunction-segments feature to allow gc when linking with static libevent

13 years agoCheck for getservbyname even if not on win32.
Harlan Stenn [Sun, 13 Feb 2011 06:42:58 +0000 (01:42 -0500)]
Check for getservbyname even if not on win32.

13 years agoFix autoconf bracket issues; make check for getaddrinfo include netdb.h
Harlan Stenn [Sun, 13 Feb 2011 06:39:10 +0000 (01:39 -0500)]
Fix autoconf bracket issues; make check for getaddrinfo include netdb.h

13 years agoSkip check for zlib if we have no zlib.h
Harlan Stenn [Sun, 13 Feb 2011 06:34:40 +0000 (01:34 -0500)]
Skip check for zlib if we have no zlib.h

13 years agoMake test-eof fail with a timeout if we never get an eof.
Harlan Stenn [Sun, 13 Feb 2011 06:30:37 +0000 (01:30 -0500)]
Make test-eof fail with a timeout if we never get an eof.

Previously, it would just wait forever.

13 years agoFIX: comment internal headers used in sample code.
Nick Mathewson [Sun, 13 Feb 2011 06:29:54 +0000 (01:29 -0500)]
FIX: comment internal headers used in sample code.

13 years agoNM: Fix sample/http-server ipv6 fixes
Nick Mathewson [Sun, 13 Feb 2011 06:27:06 +0000 (01:27 -0500)]
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?)

13 years agoInclude util-internal.h as needed to build on platforms with no sockaddr_storage
Harlan Stenn [Sun, 13 Feb 2011 06:25:33 +0000 (01:25 -0500)]
Include util-internal.h as needed to build on platforms with no sockaddr_storage

13 years agoInclude arpa/inet.h as needed on HPUX
Harlan Stenn [Sun, 13 Feb 2011 06:22:25 +0000 (01:22 -0500)]
Include arpa/inet.h as needed on HPUX

13 years agoCorrectly detect and stop non-chunked http requests when the body is too long
Nick Mathewson [Tue, 22 Feb 2011 04:25:13 +0000 (23:25 -0500)]
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.

13 years agofix spelling mistake in whatsnew-2.0.txt
Nick Mathewson [Fri, 18 Feb 2011 21:17:22 +0000 (16:17 -0500)]
fix spelling mistake in whatsnew-2.0.txt

13 years agoCorrect evhttp_del_accept_socket documentation on whether socket is closed
Nick Mathewson [Tue, 15 Feb 2011 16:33:40 +0000 (11:33 -0500)]
Correct evhttp_del_accept_socket documentation on whether socket is closed

Thanks to Constantine Verutin for pointing this out.

13 years agoMerge branch '20_evport_pollhup' into patches-2.0
Nick Mathewson [Sun, 13 Feb 2011 07:51:27 +0000 (02:51 -0500)]
Merge branch '20_evport_pollhup' into patches-2.0

13 years agoClarify event_set_mem_functions doc
Nick Mathewson [Sun, 13 Feb 2011 05:54:21 +0000 (00:54 -0500)]
Clarify event_set_mem_functions doc

13 years agoMake URI parser able to tolerate nonconformant URIs.
Nick Mathewson [Sun, 13 Feb 2011 05:41:22 +0000 (00:41 -0500)]
Make URI parser able to tolerate nonconformant URIs.

If the EVHTTP_URI_NONCONFORMANT flag is passed in (which it is when
parsing URIs we get over the wire), then we relax our checks a lot.
Specifically, we do nothing to check for correct characters in the
path, query, and fragment parts of such a URI.

We could do much more here: we could relax our hostname requirements,
deal with spaces differently/better, trap some errors but not others,
etc.  But this should solve the worst user-agent compatibility issues
for now; the other issues can wait for a later release.

13 years agoFix a type error in our (unused) arc4random_stir()
Nick Mathewson [Wed, 9 Feb 2011 03:24:06 +0000 (22:24 -0500)]
Fix a type error in our (unused) arc4random_stir()

13 years agoFix warnings about AC_LANG_PROGRAM usage
Sebastian Hahn [Thu, 14 Oct 2010 18:15:04 +0000 (20:15 +0200)]
Fix warnings about AC_LANG_PROGRAM usage

Autoconf 2.68 introduced some new warnings that were triggered during
autogen.sh. Fix those.

13 years agoFix test.sh output on solaris
Dave Hart [Tue, 1 Feb 2011 06:15:48 +0000 (01:15 -0500)]
Fix test.sh output on solaris

Solaris echo -n doesn't omit newlines, but printf omits newlines in
more places.

13 years agoDo not check for gethostbyname_r versions if we have getaddrinfo
Nick Mathewson [Mon, 31 Jan 2011 22:36:49 +0000 (17:36 -0500)]
Do not check for gethostbyname_r versions if we have getaddrinfo

13 years agoAdd compile-time check for AF_UNSPEC==PF_UNSPEC
Nick Mathewson [Mon, 31 Jan 2011 21:44:06 +0000 (16:44 -0500)]
Add compile-time check for AF_UNSPEC==PF_UNSPEC

13 years agoFix http unit test on non-windows platforms without getaddrinfo
Nick Mathewson [Mon, 31 Jan 2011 21:37:27 +0000 (16:37 -0500)]
Fix http unit test on non-windows platforms without getaddrinfo

13 years agoBuild on systems without AI_PASSIVE
Nick Mathewson [Mon, 31 Jan 2011 21:32:05 +0000 (16:32 -0500)]
Build on systems without AI_PASSIVE

13 years agoTry to build correctly on platforms with no IPv6 support
Nick Mathewson [Mon, 24 Jan 2011 23:55:10 +0000 (18:55 -0500)]
Try to build correctly on platforms with no IPv6 support

13 years agoBuild correctly on platforms without sockaddr_storage
Nick Mathewson [Mon, 24 Jan 2011 23:29:20 +0000 (18:29 -0500)]
Build correctly on platforms without sockaddr_storage

13 years agoFall back to sscanf if we have no other way to implement strtoll
Nick Mathewson [Mon, 24 Jan 2011 23:22:32 +0000 (18:22 -0500)]
Fall back to sscanf if we have no other way to implement strtoll

13 years agoMake --enable-gcc-warnings a no-op if not using gcc
Nick Mathewson [Mon, 24 Jan 2011 22:42:23 +0000 (17:42 -0500)]
Make --enable-gcc-warnings a no-op if not using gcc

13 years agoCorrectly free selectop fields when select_resize fails in select_init
Nick Mathewson [Thu, 13 Jan 2011 01:28:47 +0000 (20:28 -0500)]
Correctly free selectop fields when select_resize fails in select_init

13 years agoHandle resize failures in the select backend better.
Nick Mathewson [Fri, 7 Jan 2011 18:18:09 +0000 (13:18 -0500)]
Handle resize failures in the select backend better.

13 years agoUse event_err() only if the failure is truly unrecoverable.
Jardel Weyrich [Sat, 18 Dec 2010 04:40:22 +0000 (02:40 -0200)]
Use event_err() only if the failure is truly unrecoverable.

13 years agoDetect and handle more allocation failures.
Jardel Weyrich [Sat, 18 Dec 2010 03:07:27 +0000 (01:07 -0200)]
Detect and handle more allocation failures.

13 years agoCheck for POLLERR, POLLHUP and POLLNVAL for Solaris event ports
Trond Norbye [Sun, 2 Jan 2011 09:17:15 +0000 (10:17 +0100)]
Check for POLLERR, POLLHUP and POLLNVAL for Solaris event ports

13 years agoFix compilation on Windows with NDEBUG
Nick Mathewson [Sun, 2 Jan 2011 02:37:21 +0000 (21:37 -0500)]
Fix compilation on Windows with NDEBUG

Dongsheng Song reports that when building on windows with NDEBUG, you
run into an attempt to do EVUTIL_ASSERT(x) where x is a bitfield,
which turns into _EVUTIL_NIL_CONDITION(x), which takes sizeof(x),
which is illegal.  This patch fixes _EVUTIL_NIL_CONDITION to work on
bitfields too.

13 years agoFix evport handling of POLLHUP and POLLERR
Nick Mathewson [Sun, 2 Jan 2011 02:17:31 +0000 (21:17 -0500)]
Fix evport handling of POLLHUP and POLLERR

In other backends, they make _all_ events trigger; with evport they
previously triggered nothing.  Found by Phua Keat Yee.

14 years agoBump version to 2.0.10-stable-dev
Nick Mathewson [Thu, 16 Dec 2010 17:57:23 +0000 (12:57 -0500)]
Bump version to 2.0.10-stable-dev

14 years agoAdd changelog for 2.0.10-stable release-2.0.10-stable
Nick Mathewson [Wed, 15 Dec 2010 19:31:08 +0000 (14:31 -0500)]
Add changelog for 2.0.10-stable

14 years agoAdd more acknowledgements to the readme for 2.0.10-stable
Nick Mathewson [Wed, 15 Dec 2010 19:30:04 +0000 (14:30 -0500)]
Add more acknowledgements to the readme for 2.0.10-stable

14 years agoSet the version to 2.0.10-stable
Nick Mathewson [Wed, 15 Dec 2010 19:29:50 +0000 (14:29 -0500)]
Set the version to 2.0.10-stable

14 years agoEVUTIL_ASSERT: Use sizeof() to avoid "unused variable" warnings.
Evan Jones [Mon, 6 Dec 2010 19:17:44 +0000 (14:17 -0500)]
EVUTIL_ASSERT: Use sizeof() to avoid "unused variable" warnings.

14 years agoAdd stuff to whatsnew based on reading include changes since August.
Nick Mathewson [Thu, 9 Dec 2010 17:17:58 +0000 (12:17 -0500)]
Add stuff to whatsnew based on reading include changes since August.

14 years agoDocument that the cpu_hint is only used on Windows with IOCP for now
Nick Mathewson [Thu, 9 Dec 2010 17:17:11 +0000 (12:17 -0500)]
Document that the cpu_hint is only used on Windows with IOCP for now

14 years agoConsistentize tabs
Nick Mathewson [Thu, 9 Dec 2010 16:47:54 +0000 (11:47 -0500)]
Consistentize tabs

14 years agoRemove end-of-line whitespace
Nick Mathewson [Thu, 9 Dec 2010 16:43:12 +0000 (11:43 -0500)]
Remove end-of-line whitespace

14 years agotweak readme, whatsnew
Nick Mathewson [Thu, 9 Dec 2010 16:40:35 +0000 (11:40 -0500)]
tweak readme, whatsnew

14 years agoFix a signed/unsigned comparison in the last commit
Nick Mathewson [Tue, 7 Dec 2010 16:45:14 +0000 (11:45 -0500)]
Fix a signed/unsigned comparison in the last commit

14 years agoReject overlong http requests early when Expect:100-continue is set
Constantine Verutin [Tue, 7 Dec 2010 16:43:52 +0000 (11:43 -0500)]
Reject overlong http requests early when Expect:100-continue is set

14 years agotests: Use relative includes ("") instead of system includes (<>)
Evan Jones [Thu, 2 Dec 2010 19:13:33 +0000 (14:13 -0500)]
tests: Use relative includes ("") instead of system includes (<>)

14 years agotests: Use new event2 headers instead of old compatibility headers.
Evan Jones [Thu, 2 Dec 2010 19:09:52 +0000 (14:09 -0500)]
tests: Use new event2 headers instead of old compatibility headers.

14 years agoUse relative includes instead of system includes consistently.
Evan Jones [Thu, 2 Dec 2010 15:26:12 +0000 (10:26 -0500)]
Use relative includes instead of system includes consistently.

14 years agobufferevent-internal.h: Use the new event2/util.h header, not evutil.h
Evan Jones [Thu, 2 Dec 2010 15:27:06 +0000 (10:27 -0500)]
bufferevent-internal.h: Use the new event2/util.h header, not evutil.h

14 years agoCorrectly notify the main thread when activating an event from a subthread
Nick Mathewson [Thu, 2 Dec 2010 02:28:03 +0000 (21:28 -0500)]
Correctly notify the main thread when activating an event from a subthread

14 years agoMinor fix for IOCP shutdown handling fix
Kelly Brock [Tue, 30 Nov 2010 16:34:26 +0000 (11:34 -0500)]
Minor fix for IOCP shutdown handling fix

Call setsockopt() on the actual new socket, not on as->s, which was
set to INVALID_SOCKET.