Nick Mathewson [Wed, 16 Apr 2008 20:01:51 +0000 (20:01 +0000)]
r15193@tombo: nickm | 2008-04-16 16:00:35 -0400
Split event.h into several new headers in include/event2. event.h is now just a wrapper that includes all the subheaders.
Nick Mathewson [Fri, 11 Apr 2008 20:02:50 +0000 (20:02 +0000)]
r19309@catbus: nickm | 2008-04-11 16:02:07 -0400
Fix for epoll-on-linux bug (#1908866) where timeout values over (LONG_MAX-999)/HZ) (35 for me, or maybe 6 hours 50 min for some people, or maybe 3 hours 25 minutes for a special few) get treated as "wait forever". This actually deserves to be fixed in the kernel, but even if it is we will need to support Linux versions with this bug.
Niels Provos [Mon, 31 Mar 2008 02:04:34 +0000 (02:04 +0000)]
fix a bug in which evbuffer_add_vfprintf would loop forever; avoid
fragmentation in evbuffer_expand by increasing the size of the last buffer
in the chain; as a result with have to keep track of the previous_to_last
chain; provide a evbuffer_validate() function in the regression test to
make sure that all evbuffer are internally consistent.
Nick Mathewson [Thu, 28 Feb 2008 18:36:03 +0000 (18:36 +0000)]
r18486@catbus: nickm | 2008-02-28 13:35:53 -0500
Make offsetof into evutil_offsetof. Be a little more willing to call evbuffer_chain_align() from evbuffer_expand(). Clarify some docs, and add some XXX comments to note questionable areas.
Nick Mathewson [Tue, 26 Feb 2008 20:24:29 +0000 (20:24 +0000)]
r14507@tombo: nickm | 2008-02-26 15:23:44 -0500
Patch from Tani Hosokawa: make some functions in http.c threadsafe. Also, note some functions in http.c that still are not threadsafe.
Nick Mathewson [Mon, 18 Feb 2008 20:13:27 +0000 (20:13 +0000)]
r18169@catbus: nickm | 2008-02-18 15:13:20 -0500
Rebuild and re-run configure etc when configure.in or Makefile.am changes. Also, have automake do its dependency tracking.
Nick Mathewson [Mon, 18 Feb 2008 20:04:01 +0000 (20:04 +0000)]
r18145@catbus: nickm | 2008-02-18 15:02:20 -0500
Stop using deprecated autoconf code to set integer types; detect actual files to include more thoroughly. This should make us work on solaris 9 again. This should be a backport candidate, if it works. Also, make all libevent code use ev_uint32_t etc, rather than uint_32_t.
Nick Mathewson [Sat, 16 Feb 2008 20:49:47 +0000 (20:49 +0000)]
r14211@tombo: nickm | 2008-02-16 15:28:54 -0500
Add new evutil_strtoll() function so we can apply 64-bit content-length patch from Scott Lamb in a portable way.
Nick Mathewson [Sat, 16 Feb 2008 16:56:34 +0000 (16:56 +0000)]
r14205@tombo: nickm | 2008-02-16 11:55:57 -0500
Fix bug 1894184: add a CRLF after each chunk when sending chunked HTTP data. Original patch from propanbutan.
Niels Provos [Fri, 28 Dec 2007 07:58:29 +0000 (07:58 +0000)]
the win32 changes for regress_http broke the regression test under unix. making the socket non-blocking can return -1 on connect; so now, we need to check the errno; not sure if that is supported under windows.
Niels Provos [Fri, 28 Dec 2007 00:36:47 +0000 (00:36 +0000)]
pausing an rpc via a hook needs to deal with the fact that http callbacks free the request after they return; provide a way for a callback to take ownership of the request structure; the user then needs to explicitly free it.
Nick Mathewson [Fri, 28 Dec 2007 00:34:05 +0000 (00:34 +0000)]
Fix at least two bugs that are keeping the HTTP regression tests from running on windows. There are some more bugs somewhere, since the HTTP regression tests still fail on windows. But now they fail less.
Niels Provos [Sun, 23 Dec 2007 07:38:11 +0000 (07:38 +0000)]
support integer arrays in rpc structures; this involved some refactoring of the event_rpcgen code, so that other types should be able to get arrays fairly easily
Nick Mathewson [Thu, 6 Dec 2007 18:13:03 +0000 (18:13 +0000)]
r15172@tombo: nickm | 2007-12-06 12:54:37 -0500
Rewrite win32.c to use a red-black tree to map sockets to events. This changes the performance from O(N^2) to O(N lg N). Needs testing. (This was made possible by recent changes to the implementation of non-persistent events.)
Nick Mathewson [Thu, 6 Dec 2007 04:36:18 +0000 (04:36 +0000)]
r15166@tombo: nickm | 2007-12-05 23:35:10 -0500
Apply patch from bug 1841036: set the base of the correct event in evhttp_connection_start_detectclose()