Log

Author Commit Date CI Message
Niels Provos b225e756 2008-12-23T22:24:32 remove unused variable svn:r974
Niels Provos d776f846 2008-12-23T22:23:37 deprecate the usage of signal_{add,del,set} and name it evsignal_{add,del,set} instead; move the old definitions to compat svn:r973
Niels Provos 02b2b4d1 2008-12-23T16:37:01 Restructure the event backends so that they do not need to keep track of events themselves, as a side effect multiple events can use the same fd or signal. svn:r972
Niels Provos 97cebce8 2008-12-23T14:53:55 the switch of bufferevents for http connections did not handle the EVBUFFER_ERROR case correctly svn:r971
Niels Provos ebcf5efc 2008-12-19T22:42:51 fix memory leaks in the regression tools; add another close detection test that validates that there are no dangling connections on the server svn:r969
Niels Provos f1728d94 2008-12-19T22:41:07 fix the close detection problem correctly by not running close detection on the server svn:r968
Niels Provos f700566c 2008-12-19T21:31:43 Make the http connection close detection work properly with bufferevents and fix a potential memory leak associated with it svn:r963
Niels Provos 8c594168 2008-12-19T21:03:42 memory leak: forgot to free paused rpcs in server svn:r962
Niels Provos 77867244 2008-12-19T21:02:36 memory leak: forgot to free the configuration object svn:r961
Niels Provos 808f00e1 2008-12-13T06:11:12 constify structs; from Andrei Nigmatulin svn:r959
Nick Mathewson dd731685 2008-12-03T20:09:13 Implement increased DSN-poisoning resistance via the 0x20 hack. svn:r958
Niels Provos 1eeb96aa 2008-11-29T01:12:41 move cirular queue removal into its own function svn:r957
Niels Provos cdf9453a 2008-11-28T20:55:11 install the header files, too svn:r956
Niels Provos 1c765b78 2008-11-28T20:11:24 move dns header files into the include directory; move old functions into compat and structs into a struct header file svn:r955
Niels Provos 4fa4a562 2008-11-27T19:57:48 fix a typo in setting the global event base; reported by lance svn:r953
Niels Provos ffb3966e 2008-11-27T19:34:07 minor compilation and regresson fixes; from Frank Denis svn:r952
Niels Provos 4fe25cef 2008-11-27T19:27:33 Clear the timer cache when leaving the event loop; reported by Robin Haberkorn svn:r950
Niels Provos 5792d42f 2008-11-16T23:22:14 Allow setting of local port for evhttp connections to support millions of connections from a single system; from Richard Jones svn:r948
Niels Provos 50202d75 2008-11-15T05:27:23 only bind the socket on connect when a local address has been provided; reported by Ajejo Sanchez svn:r946
Niels Provos 31cfe526 2008-10-30T19:38:31 clear the timer cache on entering event loop; reported by Victor Chang svn:r944
Nick Mathewson c97ee898 2008-09-26T13:36:15 Fix: do not crash when asked to configure an impossible event_base svn:r942
Niels Provos b3d6a569 2008-09-07T23:24:54 do not remove accept-encoding header in make request svn:r938
Nick Mathewson fded0a87 2008-09-05T16:47:04 Fix compilation of recent error code with win32. svn:r937
Nick Mathewson de069b99 2008-09-05T16:29:56 On win32, errno is not the last socket error. Worse, WSAGetLastError() is not the last socket error sometimes (i.e., EWOULDBLOCK). Also, strerror() does not handle winsock errors. Therefore, event_err() and event_warn() are completely wrong for windows socket errors. Fix that. svn:r936
Niels Provos a710d817 2008-08-30T23:19:49 Match the query in DNS replies to the query in the request; from Vsevolod Stakhov svn:r930
Niels Provos c968eb3e 2008-08-19T11:26:47 Fix a bug where headers arriving in multiple packets were not parsed; fix from Jiang Hong; test by me. svn:r928
Niels Provos b89a3de0 2008-07-25T05:22:28 do not warn on accept when errno is egain|eintr svn:r925
Niels Provos cca2f8fa 2008-07-25T01:29:54 make event_add not change any state if it fails; repoted by Ian Bell svn:r923
Niels Provos 1aa6826f 2008-07-25T01:18:40 fix off by one errors in devpoll; from Ian Bell svn:r921
Niels Provos 3b24f4ee 2008-07-25T00:48:30 another fix; we also need to remove the signal event from the queue svn:r918
Niels Provos e67a5ea9 2008-07-25T00:19:15 fix a problem with epoll and event_reinit; reported by Alexander Drozdov svn:r917
Niels Provos a4e2f52a 2008-07-20T23:31:28 add a signal and free the base for reinit test svn:r915
Niels Provos 1c164ceb 2008-07-19T23:35:29 restore signal handlers correctly when we deallocate the signal base svn:r913
Niels Provos 5e905c9d 2008-07-17T14:09:07 if we change the timeouts on bufferevents, we might have to readd pending events svn:r911
Niels Provos 12077b4e 2008-07-16T03:47:47 support setting of AA or RD in dns server response svn:r910
Niels Provos 506f3d0c 2008-07-13T20:18:41 fix cname replies svn:r907
Niels Provos c4af6211 2008-07-11T16:11:16 forgot to add Alexander Drozdov as bug reporter in ChangeLog svn:r905
Niels Provos 4bf44654 2008-07-11T16:04:07 assert(a & b) -> assert(a && b) svn:r903
Niels Provos f7e61870 2008-07-11T15:49:04 support multiple events listening on the same signal; make signals regular events that go on the same event queue svn:r901
Niels Provos 5512be01 2008-07-11T15:15:04 fix a bug where deleting signals with kqueue would delete subsequent adds svn:r899
Niels Provos df97fca9 2008-07-02T06:08:16 From Scott Lamb: * Allow the user to set the Content-Length: then stream a reply. This is useful for large requests of a known size. Added unit test. * Don't send a response body on HEAD requests, 1xx status codes, 204 status codes, or 304 status codes, as described in RFC 2616 section 4.3. (Doing otherwise causes problems - in particular, if a 304 has a chunked body (even an empty one), Safari 3.1.1 issues and then fails the next request on the connection with the non-sequitur error message "Too many HTTP redirects"!) * Specify a default Content-Type: when a response body is required, not when we have data in the response buffer by the time we make the header. (I.e., do this on evhttp_send_reply_start() for consistency.) * Don't expect a body in response to HEAD requests. svn:r898
Niels Provos 409236a7 2008-07-02T04:39:09 detect CLOCK_MONOTONIC at runtime for evdns svn:r896
Niels Provos 707f6784 2008-07-02T04:22:48 reject negative content-length headers svn:r894
Niels Provos cb7c3bd6 2008-06-29T01:30:06 support multi-line http headers; based on a patch from Moshe Litvin svn:r890
Niels Provos 9998c0cb 2008-06-26T00:40:57 correct handling of trailing headers in chunked replies; from Scott Lamb. svn:r887
Niels Provos 21f76156 2008-06-25T16:32:47 change min_heap_idx to signed svn:r883
Niels Provos 52161b47 2008-06-25T14:56:35 fix a bug in which nameservers would not be added to the correct base in windows. svn:r873
Niels Provos 8aa94ced 2008-06-25T01:01:11 proper library dependencies for regress. svn:r872
Niels Provos 63750814 2008-06-25T01:00:29 add a visual studio 2005 solution svn:r871
Niels Provos 9816192a 2008-06-25T00:59:21 add log.h header file svn:r870
Niels Provos ac0c7e2c 2008-06-25T00:58:08 skip connection-retry test on windows svn:r869
Niels Provos 0bee2ff3 2008-06-25T00:34:24 void function should not return a value svn:r868
Niels Provos c3dc717a 2008-06-24T23:37:37 close fd if evhttp_get_requestion_connection fails svn:r867
Niels Provos 24580e2b 2008-06-24T22:43:19 fix build on unix side svn:r866
Niels Provos 60e4c067 2008-06-24T22:41:43 add an event_debug statement for executing active events. svn:r865
Niels Provos 30abfd99 2008-06-24T22:38:37 provide fake_getnameinfo so that the http layer works under windows. svn:r864
Niels Provos f80f90ed 2008-06-24T21:01:44 fix a bug in http_connect for windows; the address was not copied correctly. svn:r863
Niels Provos 2f8708db 2008-06-24T18:04:41 ifdef out a whole bunch of sections; gettimeofday to evutil_gettimeofday svn:r862
Niels Provos 994a7c50 2008-06-24T16:39:45 close -> EVUTIL_CLOSESOCKET() gettimeofday -> evutil_gettimeofday() svn:r861
Niels Provos 55f91494 2008-06-24T16:29:02 fix evutil_snprintf on windows svn:r860
Niels Provos 35b1236c 2008-06-24T15:29:41 change write to send for windows. svn:r859
Niels Provos e736991a 2008-06-22T16:00:48 make it work with older versions of automake; from Scott Lamb svn:r858
Niels Provos e711ce45 2008-06-21T06:10:10 reintroduce a memmove when there is enough misalignment to hold the new data; otherwise the size of the buffer may grow without bounds svn:r857
Niels Provos 99a1063e 2008-06-21T02:21:25 support 64-bit integers in rpc structs svn:r856
Niels Provos 4c56ba1c 2008-06-20T06:52:13 do not use SO_REUSEADDR when connecting svn:r854
Niels Provos 774d056c 2008-06-17T01:14:58 warn on connection failures svn:r853
Nick Mathewson 2baaac7f 2008-06-14T17:50:36 Forward-port: 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:r852
Niels Provos a6ce520c 2008-06-12T14:43:35 allow min_heap_erase to be called on removed members; from liusifan svn:r849
Nick Mathewson c584741b 2008-06-02T18:35:02 Fix line ending style on windows projects files. svn:r847
Niels Provos 344c2b56 2008-06-02T05:45:26 deliver partial data to request callbacks when chunked callback is set even if there is no chunking on the http level; allows cancelation of requests from within the chunked callback; from Scott Lamb. svn:r846
Niels Provos 9586a1cb 2008-06-01T16:21:24 fix an evbuffer corruption when adding an empty evbuffer; from Scott Lamb svn:r845
Niels Provos 480d8142 2008-06-01T01:19:08 do not define a variable in a header file; it will lead to duplicate symbols when linking svn:r844
Niels Provos f9707a01 2008-05-31T18:57:21 we need to declare the enum first before it can be used; c++ compilation errors svn:r843
Nick Mathewson 05965921 2008-05-31T14:37:31 Add new functions to access backends by their features and to query the features of a backend. svn:r842
Nick Mathewson 9515c807 2008-05-30T17:35:20 Oops; add regress_et.c svn:r841
Nick Mathewson 39400e68 2008-05-30T16:56:34 Patch from Valery Kholodkov: support for edge-triggered events with epoll and kqueue. Changed from original patch: made test into a regression test, with explicit success/failure for edge-triggered and non-edge-triggered cases. Closes SF request 1968284. svn:r840
Nick Mathewson 9ca7a3a3 2008-05-30T16:19:01 Resolve two conflicts. svn:r839
Niels Provos 2deb3ce0 2008-05-29T01:39:43 simplify handling of environment variables for disabling backends; make event_get_supported_methods obey environment variables; this fixes make verify; problem reported by Scott Lamb. svn:r838
Niels Provos 8b66f1bd 2008-05-17T02:14:17 constify struct timeval * svn:r836
Niels Provos 134344b7 2008-05-16T01:55:40 Fix use of freed memory in event_reinit; pointed out by Peter Postma svn:r834
Niels Provos bc5e2719 2008-05-15T06:36:36 Attempt to make a project for the regression test. There are several problems: - no gettimeofday on windows - no varargs macros on windows (all the rpc stuff does not build) - no zlib on windows (zlib test does not build) - some library dependencies seem to be missing svn:r833
Niels Provos 89a1512a 2008-05-15T06:33:23 close -> EVUTIL_CLOSESOCKET svn:r832
Niels Provos 9e8688a7 2008-05-15T06:10:40 windows does not have varargs macros, so this is all useless svn:r831
Niels Provos a35529c6 2008-05-15T06:03:23 add the code here until we figure out how to generate it on windows svn:r830
Nick Mathewson a68de252 2008-05-15T03:49:03 r19749@catbus: nickm | 2008-05-14 23:48:44 -0400 New function to dump inserted and active events. Also do not recv() on an int array. svn:r829
Niels Provos f9b4ee0a 2008-05-15T03:19:05 replace write/read/close with send/recv/EVUTIL_CLOSESOCKET svn:r828
Nick Mathewson 35245a60 2008-05-15T03:16:34 Minor project content tweaks svn:r827
Niels Provos 90ddd91f 2008-05-15T03:14:48 do not include sys/time.h on windows svn:r826
Nick Mathewson 3ca22aa8 2008-05-15T03:05:10 r19739@catbus: nickm | 2008-05-14 23:05:03 -0400 Use our offsetof; do not rely on platform offsetof svn:r825
Niels Provos c3c11f27 2008-05-15T01:54:20 add a simple http server for potential benchmarking svn:r823
Niels Provos ec3956ba 2008-05-15T01:53:48 fix connection keep-alive behavior for HTTP/1.0 svn:r822
Nick Mathewson 7be8f13b 2008-05-14T15:56:17 r19736@catbus: nickm | 2008-05-14 11:50:49 -0400 Add casts to make some printf formats in regress.c happier. svn:r821
Niels Provos aa4b9257 2008-05-13T05:05:30 move some structure definitions from evrpc.h to evrpc-internal.h svn:r817
Niels Provos 1bce6f74 2008-05-13T03:51:10 use evhttp_connection_base_new() svn:r816
Niels Provos ef0221cc 2008-05-13T03:42:47 document chunked replies plus fix doxygen warnings svn:r815
Nick Mathewson 0cafdeb6 2008-05-12T17:16:47 Tweaks to make unit tests fail less badly on mingw on trunk. svn:r814
Nick Mathewson c6da86ff 2008-05-12T16:44:24 r19709@catbus: nickm | 2008-05-12 12:42:48 -0400 Possible fix for [1960723] snprintf and vsnprintf return values are wrong on win32 svn:r813
Niels Provos 1080852e 2008-05-12T03:12:09 allow cancelation of user initiated http requests; this will allow cancelation of rpc requests eventually svn:r812
Nick Mathewson 03fafae0 2008-05-12T01:03:36 Make trunk event.c build happily on win32 under mingw. svn:r811
Nick Mathewson 054159f5 2008-05-12T00:56:19 r19679@catbus: nickm | 2008-05-11 20:56:12 -0400 Windows does not have alloca(). svn:r810