kc3-lang/libevent/test

Branch :


Log

Author Commit Date CI Message
cb50f615 2008-03-11 05:26:30 rename lock create callback functions; as suggested by nick svn:r691
c182baca 2008-03-10 03:17:20 switch thread support so that locks get allocated as they are needed. svn:r690
6a92ec0b 2008-03-04 19:47:01 r18547@catbus: nickm | 2008-03-04 14:46:42 -0500 Fix compilation with --enable-gcc-warnings svn:r689
558de9b3 2008-03-02 21:18:33 Provide OpenSSL style support for multiple threads accessing the same event_base svn:r684
0e7cbe65 2008-02-28 17:38:52 r18482@catbus: nickm | 2008-02-28 12:38:40 -0500 Fix GCC 4.2 warnings; fix includes in subdirs. svn:r675
5c70ea4c 2008-02-28 02:47:43 improved code for evbuffer; avoids memcpy svn:r674
eb9b9580 2008-02-27 06:20:48 add some basic tests for DELETE/PUT; from Josh Rotenberg svn:r673
bd31d00f 2008-02-26 04:54:19 move signal callbacks closer to test code svn:r670
67bf29ad 2008-02-23 06:02:04 simplify evbuffer by removing orig_buffer svn:r654
11230f7e 2008-02-18 20: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
23ef0d09 2008-02-17 01:15:36 allow regression code to be build even without Python installed svn:r645
807ab182 2008-02-16 20: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
8c66d4e2 2008-01-26 07:29:57 remove pending timeouts on event_base_free svn:r627
9859bc78 2007-12-31 20: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
2460aa59 2007-12-31 19:33:30 allow hooks to get access to the connection object svn:r623
5a5609c7 2007-12-29 22:45:54 allow association of meta data with RPC requests for hook processing svn:r622
024804cc 2007-12-28 07: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
955c6abf 2007-12-28 00: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
6d291da2 2007-12-28 00: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
819d4a33 2007-12-27 23: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
7e3a7af7 2007-12-24 23:59:41 support string arrays in event_rpcgen svn:r613
68725dc8 2007-12-23 07: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
a5176a65 2007-12-20 22:45:30 Fix a win32 warning in regress.c svn:r608
d4bdbca8 2007-12-18 03:54:19 add -Wstrict-aliasing and remove bogus evtag_test from event.h svn:r602
d56a34e4 2007-12-16 19: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
622f69cc 2007-12-14 07:12:05 forgot to make new member optional svn:r590
85053473 2007-12-13 06:36:54 fix a bug with event_rpcgen for integers svn:r588
ffd606cd 2007-12-13 06:14:18 prefix {encode,decode}_tag functions with evtag to avoid collisions svn:r587
ba487199 2007-12-12 04:39:42 support for 32-bit tag numbers in rpc structures svn:r583
fa89d661 2007-12-06 19:40:49 Adjust more unit tests to pass on win32. svn:r580
fd418645 2007-12-06 19:36:49 Add winsock init functions to bench.c so it can run on win32. svn:r579
1e435af1 2007-12-06 18:12:44 r15170@tombo: nickm | 2007-12-06 12:38:03 -0500 Fix a warning in regress.c svn:r572
60103d25 2007-12-01 16:36:00 remove duplicate submit of test_evbuffer_readln svn:r569
395dd198 2007-12-01 09: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
d73cf1e1 2007-12-01 09:29:52 svn:r567
876c3af7 2007-11-30 02:21:33 add another benchmark that tests cascading events svn:r566
74b3db50 2007-11-29 06:08:24 always generate Date and Content-Length headers for HTTP/1.1 svn:r564
eeb5e4cd 2007-11-29 02:52:32 a bug in the regression test of event_reinit caused epoll to fail svn:r560
e2e4cf1f 2007-11-27 06:11:28 more complete test for forking behavior svn:r556
ce4ee418 2007-11-26 19:18:49 r16733@catbus: nickm | 2007-11-26 14:18:25 -0500 Add an --enable-gcc-warnings option (lifted from Tor) to the configure script. When provided, and when we are using GCC, we enable a bunch of extra GCC warnings in the compiler. Also, make the code all build happily with these warnings. svn:r553
6773a597 2007-11-25 21:32:26 r14953@tombo: nickm | 2007-11-25 15:56:40 -0500 Replace evbuffer_readline with a more powerful evbuffer_readln that can handle more EOL styles, and that can give useful results when there are NUL characters inside the returned values. Includes regression tests. svn:r550
2823cb05 2007-11-25 17:15:28 r14944@tombo: nickm | 2007-11-25 12:12:28 -0500 Make kqueue pass more unit tests. svn:r544
88897852 2007-11-25 06:57:59 provide event_reinit() to reinitialized an event_base after fork - necessary for epoll/kqueue svn:r539
8c3396b0 2007-11-22 16:41:29 r14935@tombo: nickm | 2007-11-22 11:36:54 -0500 Always set test_ok to zero after finishing a test, and before starting one. This turns up some failures we had been missing. svn:r537
1c23e219 2007-11-17 22:21:42 r14931@tombo: nickm | 2007-11-17 17:21:09 -0500 Patch from Scott Lamb: Implement event_{base_}loopbreak. Includes documentation and tests. From sf.net Feature Request 1826546. svn:r535
f586f428 2007-11-14 17:52:21 provide event_base_new() as a mechanism for not setting the current_global svn:r529
568095bf 2007-11-12 05:34:10 srcdir for verify; from Christopher Layne svn:r516
321dfd55 2007-11-10 05:18:17 r16585@catbus: nickm | 2007-11-10 00:16:11 -0500 Patch from Christopher Layne: Make event_del() restore previous signal handlers, not the default. svn:r506
f74e7258 2007-11-07 06:01:57 r16501@catbus: nickm | 2007-11-07 01:00:31 -0500 This is one of those patches which will either make matters far simpler after the bugs shake out, or will get reverted pretty quick once we realize that it is a stupid idea. We now post-process the config.h file into a new event-config.h file, whose macros are prefixed with _EVENT_ and which is thus safe for headers to include. Using this, we can define replacement timeval manipulation functions in evutil.h, and use them uniformly through our code. We can also detect which headers are needful in event.h, and include them as required. This is also the perfect time to remove the long-deprecated acconfig.h file, so that autoheader no longer warns. Should resolve the following issues: [ 1826530 ] Header files should have access to autoconf output. [ 1826545 ] acconfig.h is deprecated. [ 1826564 ] On some platforms, event.h can't be included alone. svn:r492
206d4336 2007-11-07 05:02:21 r16497@catbus: nickm | 2007-11-07 00:01:02 -0500 Resolve issue 1826588: make event_base_free() succeed even if there are pending non-INTERNAL events still in the base. This can leak memory and fds if used injudiciously, but at least it no longer crashes. svn:r490
bab0e6d4 2007-11-07 04:28:54 r16492@catbus: nickm | 2007-11-06 23:27:32 -0500 Fix unit tests so that an outdated nameserver means "Skip IPv6 tests", not "Abort." svn:r487
7c507668 2007-11-07 03:52:20 r16489@catbus: nickm | 2007-11-06 22:51:05 -0500 Do not use "class" as identifier in evdns.h; but use a backward-compatible fix. (Should fix bug 1826515, originally reported by Roger Clark) svn:r486
e9564ece 2007-11-07 03:40:26 r16487@catbus: nickm | 2007-11-06 22:38:44 -0500 Remove rtsig method, as discussed in July. It hasn't compiled for quite a while, and nobody has seemed to miss it much. Please let us know if this was a bad call. [Tracker issue 1826539]. svn:r485
22bd8b00 2007-11-03 23:54:27 remove last vestiges of RBTREE svn:r471
88173102 2007-11-03 23:45:38 split libevent into two extra libraries libevent_core and libevent_extra svn:r469
1d3a008a 2007-11-03 22:51:26 provide hooks for outgoing pools; associate a base with a pool svn:r468
65236aa8 2007-11-02 06:34:04 simple hooks for processing incoming and outgoing rpcs svn:r466
c91794e2 2007-10-12 18:02:56 Instead of read/write in regress.c, use send/recv. Now all of the win32 regression tests pass, except for http and rpc. svn:r461
3550be93 2007-09-25 15:50:50 r15331@catbus: nickm | 2007-09-25 11:46:52 -0400 Add EVPORT to test.sh script. Patch from Trond Norbye. svn:r454
a4cc3d14 2007-09-22 23:57:11 rename the rpc member from kill to attack; that way the structure does not have the same name. might find some bugs. svn:r449
1e1f77c5 2007-09-20 19:08:20 Make the test/ subdirectory buildable under Windows. Well, mingw at least. The tests still don't all pass, but at least now we know that. svn:r447
c895ee46 2007-09-18 15:11:53 r15094@catbus: nickm | 2007-09-18 10:52:11 -0400 Patch from Christopher Lane: Make regress.gen.* buildable from outside source directory. svn:r434
8ee20a3f 2007-09-09 02:15:34 fix memory leaks/unitialized memory found by valgrind svn:r418
e678f009 2007-09-09 01:46:35 fix a couple memory leaks; time buffer marshaling svn:r417
98f9616b 2007-09-07 02:49:46 support setting local address on an evhttp_connection svn:r416
9c3ac4e4 2007-09-07 00:10:15 r14970@catbus: nickm | 2007-09-06 20:09:39 -0400 Fix compilation on Solaris; Patch from Magne Mahre. svn:r409
a36d4a93 2007-08-20 14:44:15 r14699@catbus: nickm | 2007-08-20 10:42:57 -0400 Use $top_srcdir and $srcdir variables to refer to source paths in Makefile.am. This makes it possible to build libevent from a separate directory. Patch from Kelly Anderson. svn:r400
67947ce3 2007-08-19 02:41:23 provide evhttp_new and evhttp_bind_socket instead of evhttp_start; using evhttp_new, it is possible to associate an event_base with the http server so that multi-threaded applications can have their own http server per thread; add appropriate testing. svn:r397
35983cd6 2007-08-16 21:12:53 r14618@catbus: nickm | 2007-08-16 17:11:47 -0400 In ANSI C, int func() is a function with unspecified arguments, whereas int func(void) is a function that takes no arguments. Using int func() to mean a function with no arguments is a C++ism, so let's not use or generate it. svn:r395
21a7e7ed 2007-08-10 15:59:31 r14498@catbus: nickm | 2007-08-10 11:58:32 -0400 Fix compilation warnings in trunk on linux with gcc 4.1.2. In time-test.c, always include time.h, so that time() is defined. In test/Makefile.am, put -I../compat in CPPFLAGS, and fix a typo. In test/regress.c, cast unsigned char pointers to char* before passing them to str[n]cmp. svn:r385
cd6dd951 2007-08-06 21:00:49 add a proper test for filtering new lines in headers svn:r384
073d3590 2007-08-06 20:53:33 fix an embarassing bug where strchr was used with a cstring instead of a char svn:r383
8ea5ffef 2007-08-05 02:15:10 request dispatching fix from Elliot Foster svn:r382
9e0333a8 2007-07-30 23:56:05 include config.h if HAVE_CONFIG_H from Jan Kneschke svn:r375
72c479e7 2007-07-30 23:54:25 remove c99 variable declarations; from Jan Kneschke svn:r374
7c6df310 2007-07-30 23:53:10 remove c++ comments from Jan Kneschke svn:r373
f0ff792a 2007-06-30 18:58:34 fixes from Joerg Sonnenberger: http.c is a violation of the ctype(3) interface and an unused function. test/regress_http.c are incorrect format strings. test/regress.c uses raise(3) from signal.h. evdns.c: evdns_error_strings is unused. The GET* macros can eat the semicolon from the expression. pos is passed in as off_t, so just pass that down. When assigning negativ values to unsigned variables, an explicit cast is considered good style. svn:r367
3794534f 2007-05-29 05:38:58 change the signature of the client rpc callback to pass in an rpc status; the status allows us to determine if an error happened. svn:r363
621a1b29 2007-05-23 05:31:33 support freeing of evrpc base svn:r356
0c280824 2007-05-23 05:20:59 support removing of http callbacks and removing of registered RPCs svn:r355
4408a5f8 2007-04-19 03:13:12 fix evbuffer_find off by one; found by Ken Cox; regression test by him and fix by me svn:r353
41b7cbc3 2007-03-10 06:37:53 more the signal base into the event base; this removes global state and makes signals work better with threading; from Wouter Wijngaards small fixes for kqueue and style by me svn:r351
50edb19f 2007-03-05 07:28:15 EVRPC_MAKE_REQUEST needs the pool argument svn:r349
b5d2f9a2 2007-03-01 06:25:18 rolling back r339: evconfig.h does not work svn:r341
8d94bd03 2007-02-28 04:29:18 signal fixes from scott lamb svn:r340
127c260b 2007-02-28 04:02:29 make evconfig.h available as installed header file; not really ideal but good enough for me; from Nick Mathewson svn:r339
faf5f73a 2007-02-08 16:39:15 dns server support from Nick Mathewson; tiny tweaks to the regression test from me to make it run on systems where stack variables get initialized with trash. svn:r321
121efe65 2007-01-27 08:38:51 small bug fixes to AAAA resolution and regression test; from Nick Mathewson! we love regresson tests. svn:r319
d5d04949 2007-01-18 06:28:42 fix http server so it can accept on high ports; better warning messages for getnameinfo; from Philip Lewis svn:r310
0db257b8 2007-01-03 07:11:17 rename strlcpy so that it does not conflict with other tests; from Nick Mathewson. svn:r306
942656bb 2006-11-23 06:32:20 persistent connections are somewhat complicated; detect on the client side if the server closes a persistent connection. previously, we would have failed the next request on that connection. provide test case. svn:r277
30a49b57 2006-11-22 07:30:34 test that rpc timeouts work correctly svn:r275
2d028ef6 2006-11-22 06:54:28 fix a bug where rpc would not be scheduled when they were queued; test for it. allow a configurable timeout for connections and RPCs. svn:r274
4aa780d6 2006-11-20 07:57:36 don't require string literal for message name svn:r270
ff43ed5b 2006-11-20 07:44:37 finish RPC client support svn:r269
fda1216b 2006-11-20 03:32:53 generate client request code via macro; flesh out the pools a little bit. svn:r268
31ba30ab 2006-11-18 08:51:12 make regression test work for poll and select svn:r265
9d81ac48 2006-11-18 03:43:26 test both piplining on persistent and non-persistent connections svn:r262
36212f9d 2006-11-18 03:05:26 make persistent connections work; needs more testing svn:r261
a67d9cb1 2006-11-17 07:45:42 add "Connection: close" to the output headers of the HTTP server reply; we don't currently support persistent connections; although that's going to be easy to add. svn:r259