59 Commits

Author SHA1 Message Date
Niels Provos
937230a8bd from trunk: do not delete uninitialized timeout event in evdns
svn:r698
release-1.4.3-stable
2008-03-31 00:34:58 +00:00
Niels Provos
f817b5ffd7 from trunk: make RPC replies use application/octet-stream
svn:r695
2008-03-30 21:09:38 +00:00
Niels Provos
9e92909cf0 from trunk: make event methods static so that they are not exported; from Andrei Nigmatulin
svn:r693
2008-03-29 01:47:04 +00:00
Niels Provos
534d32727a from trunk: make event_rpcgen.py generate code include event-config.h
svn:r687
2008-03-03 03:37:42 +00:00
Niels Provos
d136059826 from trunk: Do not free the kqop file descriptor in other processes, also allow it to be 0; from Andrei Nigmatulin
svn:r683
2008-03-02 01:48:09 +00:00
Nick Mathewson
aab6b84cc2 r14508@tombo: nickm | 2008-02-26 15:24:01 -0500
Backport to 1.4 branch: Patch from Tani Hosokawa: make some functions in http.c threadsafe.  Also, note some functions in http.c that still are not threadsafe.


svn:r672
2008-02-26 20:24:52 +00:00
Niels Provos
134cbc86c4 from trunk: deal correctly with http/1.0 and keep-alive
svn:r668
2008-02-26 03:30:43 +00:00
Niels Provos
b820936b7f make it 1.4.2-rc
svn:r664
2008-02-26 02:38:17 +00:00
Niels Provos
5e1f41d955 update whatsnew
svn:r663
release-1.4.2-rc
2008-02-26 02:27:44 +00:00
Niels Provos
e1ab038bb5 from trunk: do not insert event into list when evsel->add fails
svn:r661
2008-02-25 07:35:57 +00:00
Nick Mathewson
b1341f056a r18379@catbus: nickm | 2008-02-23 14:22:12 -0500
mention event_get_method() in whatsnew-14.txt.  Remove duplicate mention of changed tag length.  Fix a typo in Changelog


svn:r659
2008-02-23 19:22:19 +00:00
Nick Mathewson
d5d1aa531d r18375@catbus: nickm | 2008-02-23 14:18:17 -0500
Backport removal of AM_MAINTAINER_MODE from configure.in: It causes more trouble than it is worth.


svn:r658
2008-02-23 19:18:56 +00:00
Nick Mathewson
3a285c5bcb r18374@catbus: nickm | 2008-02-23 14:16:20 -0500
Improved integer handling on platforms without stdint.  Backported.


svn:r657
2008-02-23 19:18:47 +00:00
Nick Mathewson
bd6fae1de3 r18373@catbus: nickm | 2008-02-23 14:13:06 -0500
add missing "static" to epoll.c


svn:r656
2008-02-23 19:18:39 +00:00
Niels Provos
fccf4489f8 from trunk: update event_base_loop documentation; from Tani Hosokawa
svn:r653
2008-02-20 21:53:33 +00:00
Niels Provos
8b116c762b from trunk: remove NDEBUG ifdefs from evdns.c
svn:r648
2008-02-17 01:35:24 +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
41971a4283 r14214@tombo: nickm | 2008-02-16 15:49:32 -0500
Patch from Scott Lamb: make http content length into a 64-bit value. [Backport to 1.4]


svn:r643
2008-02-16 20:51:04 +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
Nick Mathewson
d453c07387 r14206@tombo: nickm | 2008-02-16 11:56:10 -0500
Fix bug 1894184: add a CRLF after each chunk when sending chunked HTTP data.  Original patch from propanbutan. [Backporting to 1.4 branch]


svn:r638
2008-02-16 16:56:47 +00:00
Niels Provos
72ae0a2e59 from trunk: event_base_get_method; from Springande Ulv
svn:r636
2008-02-16 06:10:52 +00:00
Niels Provos
f74af0310d from trunk: devpoll and evport need reinit; tested by W.C.A. Wijngaards
svn:r634
2008-02-12 06:02:23 +00:00
Niels Provos
68db6186bc the last two changes belong to new release
svn:r632
2008-02-12 05:59:41 +00:00
Niels Provos
3d7ffbd995 from trunk: check EAGAIN for Solaris' event ports; from W.C.A. Wijngaards
svn:r631
2008-02-09 16:05:23 +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
Nick Mathewson
1cfba1175e r15675@tombo: nickm | 2007-12-24 21:48:00 -0500
Add a new "what's new in Libevent 1.4" file to summarize changes from a user's point of view.  Needs editing.


svn:r614
2007-12-25 02:48:12 +00:00
Niels Provos
718e64ac13 make it 1.4.1-beta
svn:r610
2007-12-23 08:32:00 +00:00
Nick Mathewson
163c37b628 r17289@catbus: nickm | 2007-12-20 17:09:04 -0500
Backport win32 changes in r574 through r576: make win32 backend n lg n instead of n^2.


svn:r606
release-1.4.1-beta
2007-12-20 22:09:37 +00:00
Niels Provos
195455832a from trunk: removed linger from http server socket; reported by Ilya Martynov
svn:r605
2007-12-19 06:34:36 +00:00
Niels Provos
108ee5f3a6 from trunk:
r15171@tombo:  nickm | 2007-12-06 12:47:47 -0500
 Use GCC attributes (where available) to verify printf type-correctness.  Fix some bugs this turned up.


svn:r603
2007-12-19 04:52:28 +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
Nick Mathewson
c7bc1f10cf r15520@tombo: nickm | 2007-12-16 13:54:22 -0500
Fix for bug 1846282: accept as well-formed DNS replies with questions but no answers. [Backport to 1.4]


svn:r596
2007-12-16 18:55:47 +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
b23f1dbe96 from trunk: move EV_PERSIST handling out of the event backends
svn:r592
2007-12-14 07:18:02 +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
9a70838936 from trunk: remove obsolete recalc code
svn:r586
2007-12-13 05:58:05 +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
Nick Mathewson
d582000e37 r15167@tombo: nickm | 2007-12-05 23:35:30 -0500
Backport: Apply patch from bug 1841036: set the base of the correct event in evhttp_connection_start_detectclose()


svn:r570
2007-12-06 04:35:39 +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
567f681bf1 from trunk: small improvements to evhttp documentation
svn:r563
2007-11-29 04:04:08 +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
75cc61bf2c from trunk: we need to pass the evbase to evsel->add
svn:r559
2007-11-27 06:46:44 +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
Nick Mathewson
2604377f7a r14929@tombo: nickm | 2007-11-17 17:00:31 -0500
Backport documentation fix on loopexit from Scott Lamb.


svn:r536
2007-11-17 22:23:03 +00:00
Niels Provos
9e06077525 from trunk: use a const pointer for bufferevent_write
svn:r532
2007-11-17 01:33:35 +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