kc3-lang/libevent/test

Branch :


Log

Author Commit Date CI Message
8d3a10f8 2009-02-01 01:43:58 Support temporarily suspending an evbuffer callback. This is different from disabling the callback, since we want to process changes, but not just yet. svn:r1091
e3e11531 2009-02-01 01:07:42 Unit tests for evbuffer callback manipulation svn:r1090
ca37fef9 2009-02-01 01:07:22 Change evbuffer callbacks to use tinytest natively and never assert. svn:r1088
a30c9eb1 2009-02-01 01:07:12 Move evbuffer tests into their own file. svn:r1087
ff7a5e12 2009-01-31 19:32:20 slightly more coverage for evutil. svn:r1086
12e8db5b 2009-01-31 18:36:47 Convert evtag test. svn:r1085
5831d11a 2009-01-31 18:36:37 Move rpc_test to regress_rpc. svn:r1084
fa6ae169 2009-01-31 18:36:24 Convert RPC suite. There are still some places it can exit(1), but those always run forked, so no big deal. svn:r1083
d9628ef4 2009-01-31 18:36:08 Add missing initializers svn:r1082
eac75f91 2009-01-31 07:32:14 Port DNS tests. svn:r1081
e6ba208b 2009-01-31 07:32:00 Tinytest update: mostly just to allow test skipping. svn:r1080
4ec690d3 2009-01-31 05:45:16 Rename a couple of http tests so they all end with _test. This lets us simplify the naming. svn:r1077
153093ec 2009-01-30 17:44:13 Port the HTTP unit tests. Most are still legacy (since they use test_ok so much), but at least they no longer exit(1) on failure svn:r1076
241690b2 2009-01-30 17:43:59 Move util tests to regress_util.c svn:r1075
4e9470b4 2009-01-30 17:43:48 Convert test_evutil_strtoll to new framework. svn:r1074
a8203b34 2009-01-29 23:19:57 Refactor unit tests using my spiffy new "tinytest" framework. The big win here is that we can get process-level isolation. This has been tested to work okay on at least Linux and Win32. Only the tests in regress.c have been converted wrapped in the new wrapper functions; the others are still on the old system. svn:r1073
cc7a53c1 2009-01-29 18:15:36 fix signed/unsigned warning in unit tests. can we just use "char*" on all new APIs? this void/unsigned char*/char* business is awful. svn:r1071
7dd362b1 2009-01-29 15:09:24 Have util-internal.h define socklen_t if we need it, and include it appropriately. This fixes win32 compilation. svn:r1070
66b2a7ff 2009-01-29 03:20:40 test evbuffer_add_reference svn:r1068
b85b710c 2009-01-27 22:34:36 Update copyright statements to reflect the facts that: a) this is 2009 b) niels and nick have been comaintainers for a while c) saying "all rights reserved" when you then go on to explicitly disclaim some rights is sheer cargo-cultism. svn:r1065
8889a770 2009-01-27 22:30:46 Replace all use of config.h with event-config.h. svn:r1064
9993137c 2009-01-27 21:10:31 Remove all trailing whitespace in all the source files. svn:r1063
30653899 2009-01-27 16:35:28 make it so that test_persistent_timeout can call loopexit only once; reported by Alexander Drozdov svn:r1062
f20902a2 2009-01-22 17:56:15 Remove evperiodic_assign and its related parts: its functionality is subsumed by EV_PERSIST timeouts. svn:r1040
dc1526e0 2009-01-22 17:48:16 Fix warnings on compile: make static functions static. svn:r1037
fe72c885 2009-01-22 06:23:14 fix signal processing for non-kqueue backends; when a signal callback delivers a signal; from Alexander Drozdov svn:r1035
a077fb8c 2009-01-22 02:47:35 rename sys/signal.h to signal.h; configure m4 macro dir; this assist with compilation on Haiku svn:r1033
56ea4687 2009-01-22 02:33:38 Change the semantics of timeouts in conjunction with EV_PERSIST; timeouts in that case will now repeat until deleted. svn:r1032
309fc7c4 2009-01-21 07:51:25 New functions to provide sane threading callbacks with pthreads and win32 threading implementations. svn:r1031
9935d5b0 2009-01-13 21:39:32 Fix win32 compilation. Surprisingly, unit tests pass too. svn:r1002
169321c9 2009-01-13 20:26:37 Rename four internal headers to follow the -internal.h convention. svn:r1000
980bcd68 2009-01-02 21:21:58 Work better with platforms that do not have ipv6 structures, or that do not have sin_len fields, etc. svn:r986
cfbd1680 2009-01-02 20:46:26 Add another function to parse the common address:port combination formats into a sockaddr. svn:r984
0d9d5cfe 2009-01-02 20:46:12 New functions in evutil to clone inet_pton and inet_ntop, with tests. Adapted from Tor code. svn:r983
87be18da 2008-12-25 16:25:37 implement evdns_cancel_request; test one of the new evdns_base functions svn:r980
eed23451 2008-12-25 16:20:45 forgot to re-enable dns tests svn:r978
d776f846 2008-12-23 22: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
02b2b4d1 2008-12-23 16: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
ebcf5efc 2008-12-19 22: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
dd731685 2008-12-03 20:09:13 Implement increased DSN-poisoning resistance via the 0x20 hack. svn:r958
ffb3966e 2008-11-27 19:34:07 minor compilation and regresson fixes; from Frank Denis svn:r952
c968eb3e 2008-08-19 11:26:47 Fix a bug where headers arriving in multiple packets were not parsed; fix from Jiang Hong; test by me. svn:r928
3b24f4ee 2008-07-25 00:48:30 another fix; we also need to remove the signal event from the queue svn:r918
a4e2f52a 2008-07-20 23:31:28 add a signal and free the base for reinit test svn:r915
f7e61870 2008-07-11 15:49:04 support multiple events listening on the same signal; make signals regular events that go on the same event queue svn:r901
5512be01 2008-07-11 15:15:04 fix a bug where deleting signals with kqueue would delete subsequent adds svn:r899
df97fca9 2008-07-02 06: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
707f6784 2008-07-02 04:22:48 reject negative content-length headers svn:r894
cb7c3bd6 2008-06-29 01:30:06 support multi-line http headers; based on a patch from Moshe Litvin svn:r890
9998c0cb 2008-06-26 00:40:57 correct handling of trailing headers in chunked replies; from Scott Lamb. svn:r887
ac0c7e2c 2008-06-25 00:58:08 skip connection-retry test on windows svn:r869
f80f90ed 2008-06-24 21:01:44 fix a bug in http_connect for windows; the address was not copied correctly. svn:r863
2f8708db 2008-06-24 18:04:41 ifdef out a whole bunch of sections; gettimeofday to evutil_gettimeofday svn:r862
994a7c50 2008-06-24 16:39:45 close -> EVUTIL_CLOSESOCKET() gettimeofday -> evutil_gettimeofday() svn:r861
e736991a 2008-06-22 16:00:48 make it work with older versions of automake; from Scott Lamb svn:r858
99a1063e 2008-06-21 02:21:25 support 64-bit integers in rpc structs svn:r856
2baaac7f 2008-06-14 17: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
344c2b56 2008-06-02 05: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
9586a1cb 2008-06-01 16:21:24 fix an evbuffer corruption when adding an empty evbuffer; from Scott Lamb svn:r845
9515c807 2008-05-30 17:35:20 Oops; add regress_et.c svn:r841
39400e68 2008-05-30 16: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
2deb3ce0 2008-05-29 01: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
134344b7 2008-05-16 01:55:40 Fix use of freed memory in event_reinit; pointed out by Peter Postma svn:r834
89a1512a 2008-05-15 06:33:23 close -> EVUTIL_CLOSESOCKET svn:r832
c3c11f27 2008-05-15 01:54:20 add a simple http server for potential benchmarking svn:r823
7be8f13b 2008-05-14 15: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
0cafdeb6 2008-05-12 17:16:47 Tweaks to make unit tests fail less badly on mingw on trunk. svn:r814
c6da86ff 2008-05-12 16: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
1080852e 2008-05-12 03:12:09 allow cancelation of user initiated http requests; this will allow cancelation of rpc requests eventually svn:r812
950af186 2008-05-10 05:58:17 replace fnmatch with homegrown function svn:r804
8acb80b4 2008-05-08 22: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
3f56e364 2008-05-08 05:56:20 event_base_new_with_config() and related methods svn:r789
3b2022ef 2008-05-08 05:33:15 provide an api for retrieving the supported event mechanisms svn:r788
f2d65f8a 2008-05-07 20:29:33 r19634@catbus: nickm | 2008-05-07 16:10:37 -0400 the C syntax is fn(void), not fn(). svn:r784
68fecb7a 2008-05-07 20:29:11 r19633@catbus: nickm | 2008-05-07 16:10:00 -0400 Fix bug 1958901: stop overriding CPPFLAGS in test directory. svn:r783
300a4efb 2008-05-07 01:52:24 test virtual hosts svn:r780
caa368e1 2008-05-05 19: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
4e8a339e 2008-05-05 15:46:00 r19602@catbus: nickm | 2008-05-05 11:45:18 -0400 Make most of the tests use the new headers. svn:r776
f940eb4b 2008-05-04 22: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
1d30750b 2008-05-03 22:10:09 support for periodic timeouts svn:r762
45e6fb0d 2008-05-03 18:23:44 cache clock_gettime/gettimeofday values in base svn:r758
f04497e4 2008-05-03 03:05:28 introduce evbuffer_reserve_space() and evbuffer_commit_space() to make processing in filters more efficient svn:r757
becc89b7 2008-05-03 02:37:18 introduce evbuffer_contiguous_space() and use it in the zlib filter test svn:r756
e8f450f2 2008-05-01 02:08:26 expose a way to create the rpc context manually svn:r754
d76cca72 2008-04-30 04:36:26 fix missing printf format argument svn:r752
ccb70f1b 2008-04-30 04:31:10 provide example bufferevent filters doing compression and decompression as additional regression test svn:r751
c58a01a2 2008-04-30 00:50:20 fix regression test; oops svn:r749
682adc44 2008-04-30 00:09:16 support input/output filters for bufferevents svn:r748
98dc98c5 2008-04-29 21:19:26 r15346@tombo: nickm | 2008-04-29 17:19:18 -0400 Remove the never-exported, never-used, never-threadsafe evhttp_hostportfile() svn:r746
4cff82bb 2008-04-29 18: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
0ec09b55 2008-04-29 04:35:26 also try client connection for chunked requests svn:r741
9c480533 2008-04-29 02:33:27 test the server side of sending chunked replies svn:r740
72a3902e 2008-04-29 00:24:00 test some primitives from http.c svn:r739
22c8a404 2008-04-27 20:04:33 test connection retry logic svn:r736
7b29ad57 2008-04-27 19:41:26 test server behavior when connection times out while reading the headers svn:r735
3a17aeed 2008-04-26 01:00:44 fix a bug in buffrevent read water marks and add a test for them svn:r731
89f63b20 2008-04-25 02:44:46 add bufferevent_read_buffer function svn:r728
3eb21c0d 2008-04-17 19:25:35 r15226@tombo: nickm | 2008-04-17 15:25:25 -0400 Fix a couple of gcc warnings on 64-bit platforms svn:r719
f560198e 2008-04-16 20:01:27 r15192@tombo: nickm | 2008-04-16 15:59:51 -0400 Fix a compilation error on OSX. svn:r710
193c06a7 2008-03-31 02: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