test


Log

Author Commit Date CI Message
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 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
Nick Mathewson dd731685 2008-12-03T20:09:13 Implement increased DSN-poisoning resistance via the 0x20 hack. svn:r958
Niels Provos ffb3966e 2008-11-27T19:34:07 minor compilation and regresson fixes; from Frank Denis svn:r952
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 3b24f4ee 2008-07-25T00:48:30 another fix; we also need to remove the signal event from the queue svn:r918
Niels Provos a4e2f52a 2008-07-20T23:31:28 add a signal and free the base for reinit test svn:r915
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 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 ac0c7e2c 2008-06-25T00:58:08 skip connection-retry test on windows svn:r869
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 e736991a 2008-06-22T16:00:48 make it work with older versions of automake; from Scott Lamb svn:r858
Niels Provos 99a1063e 2008-06-21T02:21:25 support 64-bit integers in rpc structs svn:r856
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 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
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
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 134344b7 2008-05-16T01:55:40 Fix use of freed memory in event_reinit; pointed out by Peter Postma svn:r834
Niels Provos 89a1512a 2008-05-15T06:33:23 close -> EVUTIL_CLOSESOCKET svn:r832
Niels Provos c3c11f27 2008-05-15T01:54:20 add a simple http server for potential benchmarking svn:r823
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
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
Niels Provos 950af186 2008-05-10T05:58:17 replace fnmatch with homegrown function svn:r804
Nick Mathewson 8acb80b4 2008-05-08T22:51:39 r15551@tombo: nickm | 2008-05-08 14:49:20 -0400 Use _get_ convention for new accessor functions. (These are all new ones as of 2.0, I believe). svn:r799
Niels Provos 3f56e364 2008-05-08T05:56:20 event_base_new_with_config() and related methods svn:r789
Niels Provos 3b2022ef 2008-05-08T05:33:15 provide an api for retrieving the supported event mechanisms svn:r788
Nick Mathewson f2d65f8a 2008-05-07T20:29:33 r19634@catbus: nickm | 2008-05-07 16:10:37 -0400 the C syntax is fn(void), not fn(). svn:r784
Nick Mathewson 68fecb7a 2008-05-07T20:29:11 r19633@catbus: nickm | 2008-05-07 16:10:00 -0400 Fix bug 1958901: stop overriding CPPFLAGS in test directory. svn:r783
Niels Provos 300a4efb 2008-05-07T01:52:24 test virtual hosts svn:r780
Nick Mathewson caa368e1 2008-05-05T19:19:47 r19610@catbus: nickm | 2008-05-05 15:18:52 -0400 Switch strcmp() tests in test_evbuffer() to use memcmp instead. Previously they broke on my Linux box. svn:r779
Nick Mathewson 4e8a339e 2008-05-05T15:46:00 r19602@catbus: nickm | 2008-05-05 11:45:18 -0400 Make most of the tests use the new headers. svn:r776
Niels Provos f940eb4b 2008-05-04T22:21:29 fix a bug where it was not possible to bind multiple sockets to the same http server; test that binding multiple sockets works. svn:r769
Niels Provos 1d30750b 2008-05-03T22:10:09 support for periodic timeouts svn:r762
Niels Provos 45e6fb0d 2008-05-03T18:23:44 cache clock_gettime/gettimeofday values in base svn:r758
Niels Provos f04497e4 2008-05-03T03:05:28 introduce evbuffer_reserve_space() and evbuffer_commit_space() to make processing in filters more efficient svn:r757
Niels Provos becc89b7 2008-05-03T02:37:18 introduce evbuffer_contiguous_space() and use it in the zlib filter test svn:r756
Niels Provos e8f450f2 2008-05-01T02:08:26 expose a way to create the rpc context manually svn:r754
Niels Provos d76cca72 2008-04-30T04:36:26 fix missing printf format argument svn:r752
Niels Provos ccb70f1b 2008-04-30T04:31:10 provide example bufferevent filters doing compression and decompression as additional regression test svn:r751
Niels Provos c58a01a2 2008-04-30T00:50:20 fix regression test; oops svn:r749
Niels Provos 682adc44 2008-04-30T00:09:16 support input/output filters for bufferevents svn:r748
Nick Mathewson 98dc98c5 2008-04-29T21:19:26 r15346@tombo: nickm | 2008-04-29 17:19:18 -0400 Remove the never-exported, never-used, never-threadsafe evhttp_hostportfile() svn:r746
Nick Mathewson 4cff82bb 2008-04-29T18:11:10 r15339@tombo: nickm | 2008-04-29 14:03:48 -0400 Note that evhttp_hostportfile is not threadsafe, and so its usage will change. Mark its first argument const. Remove a now-redundant declaration for it in http-internal.h. svn:r743
Niels Provos 0ec09b55 2008-04-29T04:35:26 also try client connection for chunked requests svn:r741
Niels Provos 9c480533 2008-04-29T02:33:27 test the server side of sending chunked replies svn:r740
Niels Provos 72a3902e 2008-04-29T00:24:00 test some primitives from http.c svn:r739
Niels Provos 22c8a404 2008-04-27T20:04:33 test connection retry logic svn:r736
Niels Provos 7b29ad57 2008-04-27T19:41:26 test server behavior when connection times out while reading the headers svn:r735
Niels Provos 3a17aeed 2008-04-26T01:00:44 fix a bug in buffrevent read water marks and add a test for them svn:r731
Niels Provos 89f63b20 2008-04-25T02:44:46 add bufferevent_read_buffer function svn:r728
Nick Mathewson 3eb21c0d 2008-04-17T19:25:35 r15226@tombo: nickm | 2008-04-17 15:25:25 -0400 Fix a couple of gcc warnings on 64-bit platforms svn:r719
Nick Mathewson f560198e 2008-04-16T20:01:27 r15192@tombo: nickm | 2008-04-16 15:59:51 -0400 Fix a compilation error on OSX. svn:r710
Niels Provos 193c06a7 2008-03-31T02:04:34 fix a bug in which evbuffer_add_vfprintf would loop forever; avoid fragmentation in evbuffer_expand by increasing the size of the last buffer in the chain; as a result with have to keep track of the previous_to_last chain; provide a evbuffer_validate() function in the regression test to make sure that all evbuffer are internally consistent. svn:r699
Niels Provos cb50f615 2008-03-11T05:26:30 rename lock create callback functions; as suggested by nick svn:r691
Niels Provos c182baca 2008-03-10T03:17:20 switch thread support so that locks get allocated as they are needed. svn:r690
Nick Mathewson 6a92ec0b 2008-03-04T19:47:01 r18547@catbus: nickm | 2008-03-04 14:46:42 -0500 Fix compilation with --enable-gcc-warnings svn:r689
Niels Provos 558de9b3 2008-03-02T21:18:33 Provide OpenSSL style support for multiple threads accessing the same event_base svn:r684
Nick Mathewson 0e7cbe65 2008-02-28T17:38:52 r18482@catbus: nickm | 2008-02-28 12:38:40 -0500 Fix GCC 4.2 warnings; fix includes in subdirs. svn:r675
Niels Provos 5c70ea4c 2008-02-28T02:47:43 improved code for evbuffer; avoids memcpy svn:r674
Niels Provos eb9b9580 2008-02-27T06:20:48 add some basic tests for DELETE/PUT; from Josh Rotenberg svn:r673
Niels Provos bd31d00f 2008-02-26T04:54:19 move signal callbacks closer to test code svn:r670
Niels Provos 67bf29ad 2008-02-23T06:02:04 simplify evbuffer by removing orig_buffer svn:r654
Nick Mathewson 11230f7e 2008-02-18T20:04:01 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. svn:r649
Niels Provos 23ef0d09 2008-02-17T01:15:36 allow regression code to be build even without Python installed svn:r645
Nick Mathewson 807ab182 2008-02-16T20:49:47 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. svn:r640
Niels Provos 8c66d4e2 2008-01-26T07:29:57 remove pending timeouts on event_base_free svn:r627
Nick Mathewson 9859bc78 2007-12-31T20:47:12 r15764@tombo: nickm | 2007-12-31 15:46:16 -0500 Forward-port from 1.4 branch: Make generated rpc files build-depend on event_rpcgen. svn:r626
Niels Provos 2460aa59 2007-12-31T19:33:30 allow hooks to get access to the connection object svn:r623
Niels Provos 5a5609c7 2007-12-29T22:45:54 allow association of meta data with RPC requests for hook processing svn:r622
Niels Provos 024804cc 2007-12-28T07:58:29 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. svn:r621
Niels Provos 955c6abf 2007-12-28T00:36:47 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. svn:r620
Nick Mathewson 6d291da2 2007-12-28T00:34:05 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. svn:r619
Niels Provos 819d4a33 2007-12-27T23:17:24 allow hooks to pause RPC processing; this will allow hooks to do meaningful work before resuming the RPC processing; this is not backwards compatible. svn:r617
Niels Provos 7e3a7af7 2007-12-24T23:59:41 support string arrays in event_rpcgen svn:r613
Niels Provos 68725dc8 2007-12-23T07:38:11 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 svn:r609
Nick Mathewson a5176a65 2007-12-20T22:45:30 Fix a win32 warning in regress.c svn:r608
Niels Provos d4bdbca8 2007-12-18T03:54:19 add -Wstrict-aliasing and remove bogus evtag_test from event.h svn:r602
Nick Mathewson d56a34e4 2007-12-16T19:33:52 r16991@catbus: nickm | 2007-12-06 15:05:56 -0500 Move event_init in regress.c to the function that actually messed up the current_base value. svn:r598
Niels Provos 622f69cc 2007-12-14T07:12:05 forgot to make new member optional svn:r590
Niels Provos 85053473 2007-12-13T06:36:54 fix a bug with event_rpcgen for integers svn:r588
Niels Provos ffd606cd 2007-12-13T06:14:18 prefix {encode,decode}_tag functions with evtag to avoid collisions svn:r587
Niels Provos ba487199 2007-12-12T04:39:42 support for 32-bit tag numbers in rpc structures svn:r583
Nick Mathewson fa89d661 2007-12-06T19:40:49 Adjust more unit tests to pass on win32. svn:r580
Nick Mathewson fd418645 2007-12-06T19:36:49 Add winsock init functions to bench.c so it can run on win32. svn:r579
Nick Mathewson 1e435af1 2007-12-06T18:12:44 r15170@tombo: nickm | 2007-12-06 12:38:03 -0500 Fix a warning in regress.c svn:r572
Niels Provos 60103d25 2007-12-01T16:36:00 remove duplicate submit of test_evbuffer_readln svn:r569
Nick Mathewson 395dd198 2007-12-01T09:30:07 r15096@tombo: nickm | 2007-12-01 04:29:39 -0500 Test for corner-cases of re-adding non-persistent events from one another's handlers svn:r568
Nick Mathewson d73cf1e1 2007-12-01T09:29:52 svn:r567
Niels Provos 876c3af7 2007-11-30T02:21:33 add another benchmark that tests cascading events svn:r566