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()
Nick Mathewson [Mon, 26 Nov 2007 19:25:09 +0000 (19:25 +0000)]
r16735@catbus: nickm | 2007-11-26 14:24:58 -0500
Fix test for EVBUFFER_LENGTH in evhttp_make_header(). Since appending an empty buffer to another is a no-op, this is not really a bug-fix.
Nick Mathewson [Mon, 26 Nov 2007 19:18:49 +0000 (19:18 +0000)]
r16733@catbus: nickm | 2007-11-26 14:18:25 -0500
Add an --enable-gcc-warnings option (lifted from Tor) to the configure script. When provided, and when we are using GCC, we enable a bunch of extra GCC warnings in the compiler. Also, make the code all build happily with these warnings.
Nick Mathewson [Sun, 25 Nov 2007 21:53:06 +0000 (21:53 +0000)]
r16731@catbus: nickm | 2007-11-25 16:52:53 -0500
Replace all fds on non-unix-specific APIs with evutil_socket_t, which is int on unix and intptr_t on win32.
Nick Mathewson [Sun, 25 Nov 2007 21:32:26 +0000 (21:32 +0000)]
r14953@tombo: nickm | 2007-11-25 15:56:40 -0500
Replace evbuffer_readline with a more powerful evbuffer_readln that can handle more EOL styles, and that can give useful results when there are NUL characters inside the returned values. Includes regression tests.
Nick Mathewson [Sun, 25 Nov 2007 17:14:19 +0000 (17:14 +0000)]
r14939@tombo: nickm | 2007-11-25 11:59:26 -0500
New function event_set_mem_functions to replace internal calls to malloc, free, etc with a user-supplied functions.
Nick Mathewson [Thu, 22 Nov 2007 16:41:29 +0000 (16:41 +0000)]
r14935@tombo: nickm | 2007-11-22 11:36:54 -0500
Always set test_ok to zero after finishing a test, and before starting one. This turns up some failures we had been missing.
Nick Mathewson [Sat, 17 Nov 2007 22:21:42 +0000 (22:21 +0000)]
r14931@tombo: nickm | 2007-11-17 17:21:09 -0500
Patch from Scott Lamb: Implement event_{base_}loopbreak. Includes documentation and tests. From sf.net Feature Request 1826546.