33 Commits

Author SHA1 Message Date
Niels Provos
2821152f7f from trunk: Fix a bug where headers arriving in multiple packets were not parsed; fix from Jiang Hong; test by me.
svn:r929
2008-08-19 11:38:32 +00:00
Niels Provos
7c7ab27960 from trunk: fix a problem with epoll() and reinit; repoted by Alexander Drozdov
svn:r919
2008-07-25 00:53:17 +00:00
Niels Provos
9ee4990f6c close -> EVUTIL_CLOSESOCKET
svn:r909
2008-07-13 21:07:59 +00:00
Niels Provos
0e535d2f32 from trunk: support multiple events listening on the same signal; make signals regular events that go on the same event queue
svn:r902
2008-07-11 15:59:29 +00:00
Niels Provos
459c78a20a from trunk: fix a bug where deleting signals with kqueue would delete subsequent adds
svn:r900
2008-07-11 15:17:35 +00:00
Niels Provos
3add69df67 from trunk: reject negative content-length headers
svn:r895
2008-07-02 04:28:12 +00:00
Niels Provos
e7d5dfda49 from trunk: support multi-line HTTP headers; based on a patch from Moshe Litvin
svn:r893
2008-06-30 01:55:13 +00:00
Niels Provos
efb50876fd from trunk: correct handling of trailing headers in chunked replies; from Scott Lamb
svn:r892
2008-06-30 01:04:21 +00:00
Niels Provos
33bb64c1e0 fix support of fixed-sized entries in event_rpcgen
svn:r885
2008-06-25 20:52:29 +00:00
Niels Provos
b7fd2ac302 fix gethostbyname on windows; close() -> EVUTIL_CLOSESOCKET()
svn:r877
2008-06-25 16:00:15 +00:00
Niels Provos
1efa70aba0 make it compile on windows; gettimeofday -> evutil_gettimeofday; snprintf -> evutil_snprintf
svn:r876
2008-06-25 15:46:33 +00:00
Nick Mathewson
921693c44e Rename INPUT and OUTPUT to EVRPC_INPUT and EVRPC_OUTPUT, but keep the INPUT/OUTPUT aliases on non-win32 platforms to maintain backwards compatibility.
svn:r851
2008-06-14 17:42:05 +00:00
Niels Provos
38e97b143f from trunk: Fix use of freed memory in event_reinit; pointed out by Peter Postma
svn:r835
2008-05-16 01:58:05 +00:00
Nick Mathewson
f47e7dff43 r19632@catbus: nickm | 2008-05-07 16:07:31 -0400
Fix bug 1958901: stop overriding CPPFLAGS in test directory.


svn:r782
2008-05-07 20:11:56 +00:00
Niels Provos
0d43f0dfc5 fix evhttp_bind_socket() so that multiple sockets can be bound by the same http server.
svn:r770
2008-05-04 22:28:22 +00:00
Niels Provos
f2b8f9b090 fromtrunk: fix a bug in buffrevent read water marks and add a test for them
svn:r732
2008-04-26 01:05:07 +00:00
Niels Provos
29e9b1d20a from trunk: allow regression code to be build even without Python installed
svn:r646
2008-02-17 01:16:55 +00:00
Nick Mathewson
7eb990d5ce r14212@tombo: nickm | 2008-02-16 15:29:17 -0500
Add new evutil_strtoll() function so we can apply 64-bit content-length patch from Scott Lamb in a portable way. [Backport to 1.4]


svn:r642
2008-02-16 20:50:49 +00:00
Niels Provos
d5aeeca0e8 from trunk: remove pending timeouts on event_base_free
svn:r628
2008-01-26 07:34:47 +00:00
Nick Mathewson
149c5b4306 r15763@tombo: nickm | 2007-12-31 15:46:03 -0500
Make generated rpc files build-depend on event_rpcgen.


svn:r625
2007-12-31 20:46:29 +00:00
Niels Provos
3368cc7922 from trunk:
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.



svn:r601
2007-12-18 03:50:04 +00:00
Niels Provos
5bb67a80fa from trunk: support for 32-bit tag numbers in rpc structures
svn:r593
2007-12-15 02:55:59 +00:00
Niels Provos
d5153cef3d from trunk: forgot to make new member optional
svn:r591
2007-12-14 07:12:35 +00:00
Niels Provos
6d5b846cb2 from trunk: pull setters/getters out of RPC structures to reduce their memory footprint
svn:r589
2007-12-13 06:44:40 +00:00
Niels Provos
eecd6932c7 from trunk:
Patch from Scott Lamb: Implement event_{base_}loopbreak.  Includes documentation and tests.  From sf.net Feature Request 1826546.


svn:r584
2007-12-12 06:26:07 +00:00
Niels Provos
ef12a5a15a from trunk: always generate Date and Content-Length headers for HTTP/1.1
svn:r565
2007-11-29 06:09:30 +00:00
Niels Provos
bcd263fb91 from trunk: a bug in the regression test of event_reinit caused epoll to fail
svn:r561
2007-11-29 02:53:19 +00:00
Niels Provos
7717cec719 from trunk: provide event_reinit() to reinitialized an event_base after fork - necessary for epoll/kqueue
svn:r557
2007-11-27 06:15:36 +00:00
Nick Mathewson
5ff1fd7a99 r14945@tombo: nickm | 2007-11-25 12:13:05 -0500
Make kqueue pass more unit tests. (Backport)


svn:r545
2007-11-25 17:15:39 +00:00
Nick Mathewson
6a2ad8d279 r14936@tombo: nickm | 2007-11-22 11:41:16 -0500
[Backport to 1.4 branch] Always set test_ok to zero after finishing a test, and before starting one.  This turns up some failures we had been missing.


svn:r538
2007-11-22 16:41:59 +00:00
Niels Provos
a060b24cfd from trunk: provide event_base_new() without setting current_base global
svn:r530
2007-11-14 17:53:43 +00:00
Niels Provos
3d14e10037 srcdir for verify; from Christopher Layne
svn:r517
2007-11-12 05:34:50 +00:00
Niels Provos
6b4342db67 copy trunk to 1.4
svn:r512
2007-11-12 02:37:25 +00:00