188 Commits

Author SHA1 Message Date
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
d5c3cdca20 from trunk: allow min_heap_erase to be called on removed members; from liusifan
svn:r850
2008-06-12 14:45:29 +00:00
Nick Mathewson
a78d92c4c1 Set correct line-ending style on win32 project styles (1.4 branch)
svn:r848
2008-06-02 18:43:46 +00:00
Niels Provos
9ce23febc2 constify struct timeval *
svn:r837
2008-05-17 02:19:21 +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
Niels Provos
17515971a0 from trunk: fix connection keep-alive behavior for HTTP/1.0
svn:r824
2008-05-15 01:58:32 +00:00
Niels Provos
8d8cff549a call it 1.4.4-stable
svn:r818
2008-05-14 04:09:50 +00:00
Nick Mathewson
c807358ff5 r19666@catbus: nickm | 2008-05-08 23:49:18 -0400
Always include winsock2.h before windows.h.  Apparently some SDKs need this.


svn:r802
release-1.4.4-stable
2008-05-09 03:59:57 +00:00
Nick Mathewson
32143cc285 r15553@tombo: nickm | 2008-05-08 19:54:10 -0400
The IRIX compiler thinks #error means warn.  Fix configure.in to tolerate this.


svn:r800
2008-05-08 23:54:23 +00:00
Nick Mathewson
a673c2c901 add missing header under win32 to evutil.c. remove misc.obj[ch] from vcproj file.
svn:r796
2008-05-08 14:43:09 +00:00
Nick Mathewson
ff6cbd06cf r19654@catbus: nickm | 2008-05-08 10:12:53 -0400
Remove #include "misc.h"s.


svn:r794
2008-05-08 14:19:34 +00:00
Nick Mathewson
987597ff0f r19651@catbus: nickm | 2008-05-08 10:05:35 -0400
Replace gettimeofday() usage with a new evutil_gettimeofday().  This removes all previous need for win32-code/misc.[ch]


svn:r793
2008-05-08 14:08:12 +00:00
Niels Provos
52a851389f expose evhttp_accept_socket() api
svn:r787
2008-05-08 05:16:47 +00:00
Nick Mathewson
6bd28951e7 r19639@catbus: nickm | 2008-05-07 17:50:48 -0400
Fix win32 vc-2005 build.


svn:r785
2008-05-07 21:51:07 +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
Nick Mathewson
fe3c4a2440 r19631@catbus: nickm | 2008-05-07 16:06:48 -0400
Backport: fix compilation on non-c99 platforms.


svn:r781
2008-05-07 20:11:37 +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
d58a0a7c42 revert to maintain stability: from trunk: separate signal events from io events
svn:r764
2008-05-04 00:52:57 +00:00
Niels Provos
974a75431d from trunk: separate signal events from io events
svn:r761
2008-05-03 21:40:32 +00:00
Niels Provos
bfdf56c22e from trunk: cache clock_gettime/gettimeofday values in base
svn:r759
2008-05-03 18:27:24 +00:00
Nick Mathewson
2a69a5ea9a r15342@tombo: nickm | 2008-04-29 14:10:46 -0400
Backport to 1.4 branch: Use internal implementation for evutil_timercmp() everywhere, to avoid bugs when the platform timercmp() has never heard of <= or >=.  Also, replace timercmp() usage in min_heap.c with call to evutil_timercmp().


svn:r745
2008-04-29 18:11:44 +00:00
Niels Provos
8c4529c54e from trunk: introduce bufferevent_setcb and bufferevent_setfd to allow better manipulation of bufferevents
svn:r738
2008-04-27 20:45:57 +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
47abd3eaa5 from trunk: expose bufferevent_setwatermark via header files and fix high watermark on read
svn:r730
2008-04-26 00:38:36 +00:00
Nick Mathewson
f5b17df11d r15247@tombo: nickm | 2008-04-18 09:30:43 -0400
Partial backport fix for bug in encode_int_internal


svn:r723
2008-04-18 13:31:07 +00:00
Nick Mathewson
212523d196 r19310@catbus: nickm | 2008-04-11 16:02:23 -0400
Backport fix for epoll-on-linux bug (#1908866).


svn:r708
2008-04-11 20:02:32 +00:00
Nick Mathewson
bb1dd9e750 r19306@catbus: nickm | 2008-04-10 15:34:27 -0400
Backport fix for bug 1938754: do not warn when epoll_create() fails with ENOSYS.


svn:r707
2008-04-10 19:35:57 +00:00
Nick Mathewson
a63db431a2 r19300@catbus: nickm | 2008-04-10 14:54:25 -0400
Correct the documentation on evbuffer_add_[v]printf: Fix for bug 1914464


svn:r704
2008-04-10 19:24:25 +00:00
Niels Provos
a684cb27e1 make it 1.4.3-stable
svn:r702
2008-04-05 21:04:06 +00:00
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