kc3-lang/libevent/test

Branch :


Log

Author Commit Date CI Message
4d8919ec 2009-04-19 01:58:26 Do not try to double-free the nameserver in regression test svn:r1202
b182ed76 2009-04-18 18:28:18 More tweaks to http stress-tester svn:r1201
e4f24219 2009-04-18 00:12:52 Add a new bench_httpclient for a trivial codecon demo. svn:r1198
b3460387 2009-04-17 06:58:18 Even _more_ recent tinytest, designed to give better help output. svn:r1192
81280062 2009-04-17 06:57:52 Add the latest tinytest. This one supports a --terse flag and a --no-fork flag, and outputs nicer. svn:r1190
a8f6d961 2009-04-17 06:56:09 Actually stop using EVBUFFER_LENGTH/DATA, and move them to buffer_compat.h svn:r1183
30648529 2009-04-17 01:03:07 have evhttp_set_cb return an int; -1 on failure, 0 on success; this is better than returning a pointer svn:r1179
4e8cdc6f 2009-04-13 18:23:02 Fix two windows compilation bugs. svn:r1171
d475fb58 2009-04-12 00:38:31 http benchmark: add a way to change the size of the buffer; also use add_reference svn:r1158
23085c92 2009-04-10 15:01:31 Add a linked-pair abstraction to bufferevents. The new bufferevent_pair abstraction works like a set of buferevent_sockets connected by a socketpair, except that it doesn't require a socketpair, and therefore doesn't need to get the kernel involved. It's also a good way to make sure that deferred callbacks work. It's a good use case for deferred callbacks: before I implemented them, the recursive relationship between the evbuffer callback and the read callback would make the unit tests overflow the stack. svn:r1152
ce146eb1 2009-04-10 05:43:45 Fix parsing of queries where the encoded queries contained \r, \n or + svn:r1148
6dece3e9 2009-04-10 05:22:15 revert last commit; git user error svn:r1147
f43f1d14 2009-04-10 05:18:18 initial version of query decoding patch svn:r1146
747331d1 2009-04-08 03:04:39 Add freeze support to evbuffers. From the documentation: Prevent calls that modify an evbuffer from succeeding. A buffer may frozen at the front, at the back, or at both the front and the back. If the front of a buffer is frozen, operations that drain data from the front of the buffer, or that prepend data to the buffer, will fail until it is unfrozen. If the back a buffer is frozen, operations that append data from the buffer will fail until it is unfrozen. We'll use this to ensure correctness on an evbuffer when we're waiting for an overlapped IO call to finish. svn:r1143
68d0139f 2009-04-07 04:49:25 Refactor the zlib and pthreads tests to appear in the regular tinytest tree structure. svn:r1141
d2e9caa6 2009-04-06 20:38:19 Fix evdns_cancel to alert callback and free associated RAM. Also, we add a test to make sure evdns_cancel is working properly. svn:r1139
f1b1bad4 2009-04-03 14:27:03 Make the new evbuffer callbacks use a new struct-based interface. The old interface would fail pretty hard when we had to batch up multiple adds and drains in a single call. svn:r1131
f90500a5 2009-04-03 01:21:36 Add a new improved search function. The old evbuffer_find didn't allow iterative searching, and forced us to repack the buffer completely every time we searched in it. The new evbuffer_search addresses both of these. As a side-effect, the evbuffer_find implementation is now a little more efficient. svn:r1130
0afb1f7f 2009-04-01 16:08:34 Glibc mkstemp requires exactly 6 Xs. svn:r1129
73094d59 2009-02-13 13:43:35 Make tmpfile code compile without warnings svn:r1123
79b7799b 2009-02-13 01:42:59 a simple test for evbuffer_add_file svn:r1122
ec35eb55 2009-02-12 22:19:54 Make threading functions global, like the mm_ functions. Use the libevent_pthread.la library in regress_pthread. svn:r1121
acaf65c3 2009-02-11 17:23:32 Make evutil_parse_sockaddr_port give a useful socket-length output. svn:r1118
e7fd1034 2009-02-10 19:39:03 Test some formerly untested prepend cases of evbuffer. Now evbuffer coverage is over 80 percent. svn:r1108
9e3e7b36 2009-02-10 19:38:54 More unit tests for evbuffer_add_reference to make sure that certain interleaved data patterns work; that free invokes callback; that callbacks are not invoked too early or later; etc. svn:r1107
71604d85 2009-02-10 19:38:25 Remove some needless includes svn:r1104
f9e4e0f9 2009-02-03 18:28:53 Move bufferevent tests to regress_bufferevent.c file. svn:r1101
ea11f819 2009-02-02 22:17:32 Compile http_connection_retry_test, but mark it skipped on win32. svn:r1099
ea4b8724 2009-02-02 19:22:13 checkpoint work on big bufferevent refactoring svn:r1095
2e3f0f68 2009-02-01 02:20:16 Enable the edge-triggered test again svn:r1092
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