kc3-lang/libevent/test

Branch :


Log

Author Commit Date CI Message
6a1c4d50 2014-03-18 18:36:32 Correctly skip ipv6 http test on systems without ipv6
e5302ac7 2014-03-18 12:35:39 Remove integer-overflow unit tests There's not much point checking undefined behavior.
58fc9b6c 2014-03-18 11:35:50 Fix ubsan warnings when parsing ipv4/ipv6 addrs left-shifting a one-byte integer by 24 invokes undefined behavior. Let's not do that.
860c71c8 2014-03-18 11:13:45 Fix an illegal read error in the evbuffer_add_reference tests Found with AddressSanitizer
2578ec14 2014-03-13 10:46:59 Avoid double-close paths in http tests Coverity spotted that there were some paths through the test functions that would double-close some sockets.
b6f15cce 2014-03-12 18:19:07 Add missing include to regress_finalize.h
21477e40 2014-03-12 18:13:19 Skip http/ipv6_for_domain test when we have no ipv6 support
4947c185 2014-03-12 14:29:15 Heap-allocate zlib data structure in regress_zlib tests
7a804767 2014-03-06 18:09:00 Update to the latest version of tinytest This brings us up to tinytest 709a36ba63ff16d8
239d8345 2014-03-06 10:18:09 Fix 'make distcheck' by adding regress.gen.[ch] to DISTCLEANFILES Patch from Harlan Stenn.
e212c548 2014-01-22 13:19:49 Check for OSX when checking for clang.
5c142a7e 2014-01-21 14:53:47 Merge remote-tracking branch 'origin/pr/98'
4cb44fdf 2014-01-21 14:26:01 Merge remote-tracking branch 'joakimsoderberg/new_cmake' Conflicts: sample/https-client.c
c2076824 2014-01-21 12:21:37 Fix a c90 warning
4e143958 2014-01-21 11:30:27 Change all uses of WIN32 to _WIN32
b1b69ac7 2014-01-17 23:20:42 Implemented EV_CLOSED event for epoll backend (EPOLLRDHUP). - Added new EV_CLOSED event - detects premature connection close by clients without the necessity of reading all the pending data. Does not depend on EV_READ and/or EV_WRITE. - Added new EV_FEATURE_EARLY_CLOSED feature for epoll. Must be supported for listening to EV_CLOSED event. - Added new regression test: test-closed.c - All regression tests passed (test/regress and test/test.sh) - strace output of test-closed using EV_CLOSED: socketpair(PF_LOCAL, SOCK_STREAM, 0, [6, 7]) = 0 sendto(6, "test string\0", 12, 0, NULL, 0) = 12 shutdown(6, SHUT_WR) = 0 epoll_ctl(3, EPOLL_CTL_ADD, 7, {EPOLLRDHUP, {u32=7, u64=7}}) = 0 epoll_wait(3, {{EPOLLRDHUP, {u32=7, u64=7}}}, 32, 3000) = 1 epoll_ctl(3, EPOLL_CTL_MOD, 7, {EPOLLRDHUP, {u32=7, u64=7}}) = 0 fstat(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 4), ...}) mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYM... write(1, "closed_cb: detected connection close "..., 45) = 45
24d64666 2014-01-14 17:53:47 Fix so that old nmake project still builds.
d240328d 2014-01-08 13:02:37 Fix even more coverity warnings.
860767e8 2014-01-08 12:46:09 Fix a couple of compilation warnings in regress_http.c
544cf888 2014-01-08 11:58:50 Whoops; fix compilation in bench.c
ff7f7396 2014-01-08 11:54:56 Fix coverity warnings in benchmark tools. Again, not harmful, but best to stay warning-free.
867f401f 2014-01-08 11:51:22 Fix a pile of coverity warnings in the unit tests Most of these problems can only trigger when the tests fail, but it's good hygiene to keep the code warning-free in any case.
8d15f57f 2014-01-07 16:59:26 Merge remote-tracking branch 'asweeny86/on-complete-cb'
b85f3987 2014-01-06 21:19:15 Update unit test to make sure that the callback happens after the output data is written
f9e091bf 2014-01-06 12:11:30 Merge remote-tracking branch 'asweeny86/event-count-max'
b083ca05 2014-01-05 20:35:46 Provide on request complete callback facility This patch provides the ability to receive a callback on the completion of a request. The callback takes place immediately before the request's resources are released.
26230a2d 2014-01-05 16:30:35 Added unit test for max event counts
b4ef3def 2013-12-24 10:33:58 Merge remote-tracking branch 'mistotebe/bufferevent_trigger'
87fa2b00 2013-12-23 20:46:38 Unit tests for active_by_fd; unsupport active_by_fd(TIMEOUT) [It turns out that event_base_active_by_fd(TIMEOUT) didn't actually work right. Feel free to add it back in as a patch.]
0ef1d04e 2013-12-17 14:32:07 Get rid of unknown pragma warnings.
69c3516b 2013-12-17 13:28:23 Get rid of deprecation warnings for OpenSSL on OSX 10.7+
8f2af50f 2013-12-16 13:45:45 Don't segfault on no found event backend.
78da644f 2013-12-16 11:35:31 Fix bench_cascade program on Windows.
dbf2b517 2013-12-16 11:26:29 Use evutil_closesocket instead.
99c1dc32 2013-12-12 18:21:11 More work on adding tests to CMake project
e9fc014c 2013-12-12 16:33:20 Add all tests and benchmarks to CMake project. Also fixed some minor issues with what's built.
e415196a 2013-12-09 18:05:32 Initial CMake commit.
a7384c78 2013-12-03 23:01:54 Add an option to trigger bufferevent event callbacks
61ee18b8 2013-12-03 22:49:57 Add an option to trigger bufferevent I/O callbacks
4ce242bd 2013-12-03 22:35:53 Add watermark introspection
4dd500cd 2013-10-01 19:54:09 regress_http: add tests for evhttp_connection_get_addr()
611e28b6 2013-10-01 19:54:57 regress_main: logging all if env EVENT_DEBUG_LOGGING_ALL isset
0a051ef9 2013-09-16 12:29:48 Merge remote-tracking branch 'rosslagerwall/tree-build'
243386cc 2013-09-15 21:48:15 rpcgen: Generate regress.gen.[c,h] in build rather than src dir Currently an out-of-tree build will either write to the src dir or reuse the existing regress.gen.[c,h]. But if building from a read-only git tree (or if the git dir is cleaned), these files will not exist and the build fails. So write the files to the build dir. If the system does not have python, the regress.gen.[c,h] will be used from the src dir if they exist.
e193c959 2013-08-06 19:42:20 test_evutil_rtrim: add another missing check.
82b6956c 2013-08-06 19:39:35 Finalize tests: add a missing check
f314900d 2013-08-06 19:38:48 DNS tests: add a missing check
87cd6f01 2013-08-06 19:35:56 Fix some crash-on-fail cases in DNS regression tests Found by coverity.
eba4506a 2013-08-06 19:33:45 Add missing check to test_evbuffer_file_segment_add_cleanup_cb
77658846 2013-08-06 19:32:21 Fix a logic error in test_evbuffer_freeze
1104d0be 2013-08-06 19:31:26 Fix a (failure-only) null dereference in the unit tests
7080d55c 2013-08-06 19:28:53 Use void casts to suppress some "unchecked return value" warns
fbc323b7 2013-07-31 15:02:07 Add checks for evhttp_connection_get_server() in unit tests. They validate that this function behave as expected; that is, it returns NULL for outgoing connections, and returns the HTTP server object that received the connection for incoming ones.
4b3d5af8 2013-07-11 12:31:39 Add function to fetch underlying ratelimit cfg bufferevent_get_token_bucket_cfg() will return the struct ev_token_bucket_cfg for a bufferevent if available.
0fa107d8 2013-07-02 16:01:02 Added event_base_get_num_events()
e1766a1b 2013-05-29 16:26:50 Actually use the log facility for reporting evdns problems. Fixes issue #63. Also refactors the evdns logging and log backend a bit, so that it wastes a little less code.
7e876df7 2013-05-13 19:50:30 Fix dns/leak_resume_send_err test. Because we don't cancel request, and want our callback to recieve DNS_ERR_SHUTDOWN, we use deferred callback, and there was - one extra malloc(), @see reply_schedule_callback() - and one missing free @see request_finished() (req->handle->pending_cb = 1) than we don't need to count in testleak_cleanup() So just decrement allocated_chunks to 2, like we already take care about it.
1cd9ff59 2013-05-13 19:20:42 Add tests for evdns_base_resume(). - leak_resume - leak_cancel_and_resume - leak_resume_send_err - leak_cancel_and_resume_send_err
8ab612e3 2013-05-11 22:21:30 Whoops. It is gdi.lib, not gdi32.lib. (github issue #61)
5ba8ab76 2013-05-10 21:38:26 Fix test compilation with nmake: add the gdi.lib dependency ACK: efekty
85a40040 2013-05-01 13:37:57 Add regress_finalize to makefile.nmake
5bc290e2 2013-05-01 10:04:08 Make http/connection_retry off-by-default
9e3a99ca 2013-04-30 20:09:52 Fix a bug in fixing a bug in out-of-tree test-dumpevents
b48c7bf8 2013-04-30 14:40:50 Make regress_finalize work with malloc replacement disabled
cbfc35f6 2013-04-30 14:26:47 Fix some out-of-tree build bugs
702c9aa4 2013-04-26 19:14:05 Fix a bug in the new main/event_foreach test It wasn't making sure that the events weren't internal.
d5967397 2013-04-26 17:51:33 More unit tests for initializing common timeouts. Try with: misformed usecs in inputs, and with initializing common timeouts from other common timeouts.
f09629ea 2013-04-26 17:46:33 A test for event_get_assignment()
30ea2910 2013-04-26 17:28:46 Unit tests for event_base_gettimeofday_cached() and event_base_update_cache_time()
0b096efe 2013-04-26 13:50:22 New tests for event_base_foreach_event() Our dump-events code had exercised this a bit, but only via the nonlocking backend. Also, nothing was checking the "Search for a specific event" code.
a153874d 2013-04-26 13:49:45 New test for active_later->active transition on event_active When event_active is called, an active_later event is supposed to become active now. We had lacked a test for that.
3555befd 2013-04-26 12:27:05 Merge branch '21_deadlock_fix_v2'
25aac697 2013-04-26 12:00:17 Remove a no-longer-true XXXX comment.
9d893c97 2013-04-09 18:15:08 Add some verbose notes to bufferevent unit tests
8eedeabe 2013-03-28 14:13:19 Implement event_finalize() and related functions to avoid certain deadlocks
b1b054f0 2013-04-26 12:12:08 Make all tests pass under EVENT_DEBUG_MODE=1 The fix was easy: the tests that were failing were those tests that also enabled debug mode themselves. So, let them know when EVENT_DEBUG_MODE is on, so they won't do that.
b3aca5d9 2013-04-25 15:13:24 Merge branch '21_http_error_cb_squashed'
54cc8005 2013-03-21 17:01:31 Drop extra header http_struct.h from regress_http.c
862c217a 2013-03-22 14:35:47 Add test for EVREQ_HTTP_REQUEST_CANCEL into http_cancel_test()
7b077194 2013-03-21 13:55:40 Add new error_cb for actual reporting of HTTP request errors. It is useful to know why you callback called with NULL (i.e. it failed), for example if you set max_body with evhttp_connection_set_max_body_size() you must know that it failed because of body was longer than this size. (Commit message tweaked by Nick)
1c3147f5 2013-04-10 18:03:16 Add a test with an active_later event at event_base_free time.
2fad0f3d 2013-04-05 15:06:54 Add an environment variable (EVENT_DEBUG_MODE) to run unit tests in debug mode Not all tests currently pass with debug mode on.
f935e215 2013-03-15 09:33:28 build test/test-script.sh on systems with a less-featureful $<
787fd748 2013-03-15 09:33:13 Make --disable-libevent-regress work again
13676535 2013-03-01 12:01:42 Test: decoding just part of string with evhttp_decode_uri_internal()
c9ad3af2 2013-02-25 20:13:01 test filling up the hash table a bit
2078e9b4 2013-02-14 20:14:37 make sure caching works, and we don't leak memory
72965126 2013-02-07 17:06:49 a program to print out the error strings for winsock errors
97094614 2013-02-14 14:13:11 Merge remote-tracking branch 'origin/patches-2.0'
b6182042 2013-02-14 09:54:56 fix #73 and fix http_connection_fail_test to catch it
96150dd0 2013-02-13 11:38:57 Unit test for event_remove_timer with EV_PERSIST. Patch from dcicppin on sourceforge.
74e52db4 2013-02-11 11:25:25 Merge remote-tracking branch 'ppelleti/nmake-clean-exes'
2863c837 2013-02-08 22:10:05 Avoid using $(top_srcdir) in TESTS. Newer automakes don't like this.
a55514ee 2013-02-08 22:08:18 Avoid using top_srcdir in TESTS-new automakes do not like this
974bfa07 2013-02-07 17:14:18 remove all exes on "make clean", not just regress.exe
2ecd8947 2013-02-04 13:49:08 Merge pull request #39 from azat/fix-http-for-ipv6 Fix ipv6 support for http. When URL contain domain, not IP address.
0dda56a4 2013-02-03 19:08:37 Preliminary changes for Minix3.
9ec88bdf 2013-01-27 02:17:02 Add regress test ipv6_for_domain. Written for commit 71e709c7829275a594f767b27468b1b52e8b5bb9. Fix ipv6 support for http. When URL contain domain, not IP address.
c1420690 2012-11-19 09:07:13 Fix a bug when running "make verify" out-of-tree
173d7823 2012-11-18 01:40:33 Fix a gcc warning in rtrim test