Branch :
| Author | Commit | Date | CI | Message |
|---|---|---|---|---|
| 8240379a | 2015-10-04 03:19:12 | test/regress_be: drop debug __asm__(int3) to fix arm build Closes #284 | ||
| 3f749e93 | 2015-09-10 13:38:58 | test: fix bufferevent/bufferevent_pair_release_lock in debug mode After this test had been fixed for freebsd the debug build was broken because we can't call evthread_set_lock_callbacks() when something already initialized, and we can't call event_base_free() (in kqueue case) when it is initialized, because of "held_by", but this only playing role during freeing lock profiler so reset lock callbacks there before and this will fix both. Fixes: 79f9ace4ae8a259a5cf1b4ff3869078b60ff16a1 ("test: fix bufferevent/bufferevent_pair_release_lock for freebsd") P.S. after this patch 'make verify' finishes without errors on freebsd. | ||
| 79f9ace4 | 2015-09-10 12:39:20 | test: fix bufferevent/bufferevent_pair_release_lock for freebsd On FreeBSD with kqueue there is a call to evthread_debug_lock_mark_unlocked() during event_base_free(), that will fail with an assert because of unmatched "held_by", fix this by reseting lock callbacks to NULL before event_base_free(). Trace: bufferevent/bufferevent_pair_release_lock: [warn] Trying to disable lock functions after they have been set up will probaby not work. [warn] Trying to disable lock functions after they have been set up will probaby not work. FAIL libevent/test/regress_bufferevent.c:259: lock: lock error[err] libevent/evthread.c:277: Assertion lock->held_by == me failed in evthread_debug_lock_mark_unlocked [New Thread 802006400 (LWP 100070/regress)] Program received signal SIGABRT, Aborted. [Switching to Thread 802006400 (LWP 100070/regress)] 0x000000080167d6ca in thr_kill () from /lib/libc.so.7 (gdb) bt #0 0x000000080167d6ca in thr_kill () from /lib/libc.so.7 #1 0x0000000801752149 in abort () from /lib/libc.so.7 #2 0x00000000004dff44 in event_exit (errcode=-559030611) at libevent/log.c:105 #3 0x00000000004e053c in event_errx (eval=-559030611, fmt=0x5182cc "%s:%d: Assertion %s failed in %s") at libevent/log.c:162 #4 0x00000000004d9954 in evthread_debug_lock_mark_unlocked (mode=0, lock=0x802017060) at libevent/evthread.c:277 #5 0x00000000004d909a in debug_lock_unlock (mode=0, lock_=0x802017060) at libevent/evthread.c:290 #6 0x00000000004e132c in evsig_dealloc_ (base=0x80201e300) at libevent/signal.c:434 #7 0x00000000004e36c1 in kq_dealloc (base=0x80201e300) at libevent/kqueue.c:435 #8 0x00000000004c9a44 in event_base_free_ (base=0x80201e300, run_finalizers=1) at libevent/event.c:855 #9 0x00000000004c931a in event_base_free (base=0x0) at libevent/event.c:887 #10 0x0000000000452657 in lock_unlock_free_thread_cbs () at libevent/test/regress_bufferevent.c:279 #11 0x0000000000452621 in free_lock_unlock_profiler (data=0x8020170a0) at libevent/test/regress_bufferevent.c:317 #12 0x000000000044bc8f in test_bufferevent_pair_release_lock (arg=0x8020170a0) at libevent/test/regress_bufferevent.c:334 #13 0x00000000004b2288 in testcase_run_bare_ (testcase=0x737660) at libevent/test/tinytest.c:105 #14 0x00000000004b1e72 in testcase_run_one (group=0x738c90, testcase=0x737660) at libevent/test/tinytest.c:252 #15 0x00000000004b2930 in tinytest_main (c=3, v=0x7fffffffead0, groups=0x738c20) at libevent/test/tinytest.c:434 #16 0x00000000004982fe in main (argc=3, argv=0x7fffffffead0) at libevent/test/regress_main.c:459 (gdb) f 4 #4 0x00000000004d9954 in evthread_debug_lock_mark_unlocked (mode=0, lock=0x802017060) at libevent/evthread.c:277 277 EVUTIL_ASSERT(lock->held_by == me); Current language: auto; currently minimal (gdb) p lock $1 = (struct debug_lock *) 0x802017060 (gdb) p lock->held_by $2 = 0 (gdb) p me $3 = 34393318400 | ||
| a0f308da | 2015-09-10 11:18:20 | test/regress_be: bufferevent_enable() shouldn't call eventcb by it's own It must enter the event loop regardless BEV_OPT_DEFER_CALLBACKS, to avoid potential errors with subsequent connect(), you will find more info in #43, since this is a regression for it. | ||
| 37dc9e0e | 2015-09-10 01:17:50 | test/regress_be: introduce fake_listener_create() | ||
| 6f6fa0d2 | 2015-09-09 19:15:18 | test/regress_http: cover evhttp_request_own() | ||
| 3d15aeb4 | 2015-09-09 17:45:44 | test/regress_http: cover write during read This is the regression for evhttp_write_buffer() where we reset readcb to avoid illegal state: http/write_during_read: [err] evhttp_read_cb: illegal connection state 7 If you will comment that this test will fail. | ||
| 4be6c70b | 2015-09-08 15:44:13 | test/regress_http: verify that closecb will be called without multiple write And now this works incorrect, i.e. http layer will not detect EOF until another write. Reported-in: #78 | ||
| cf2cf2a0 | 2015-09-02 11:51:00 | test: run regress with EVENT_DEBUG_MODE=1 and without This could show some bugs like "event_assign called on an already added event", and some others that debugging mode could track. | ||
| 6ea66554 | 2015-09-02 11:55:14 | test/regress: fix bufferevent_pair_release_lock with EVENT_DEBUG_MODE Before this patch you will see next error: $ EVENT_DEBUG_MODE= regress --no-fork bufferevent/bufferevent_pair_release_lock bufferevent/bufferevent_pair_release_lock: [err] evthread initialization must be called BEFORE anything else! | ||
| cdafdf01 | 2015-09-02 17:49:41 | test/regress_ssl: check events fd/pending after timeout triggered In this case client can't connect to server, and this bring to the front some bugs with assigning on already added events (because of ```fd_is_set``` stuff), for more info see #258, since this is the reproducible for it. | ||
| 74845f11 | 2015-09-02 17:36:20 | test/regress_ssl: cover case when server didn't up (failed with timeout) | ||
| df507afa | 2015-09-02 17:17:43 | test/regress_ssl: covert that we can't change fd with underlying | ||
| 762edb46 | 2015-09-02 17:06:51 | test/regress_ssl: cover that events (read/write) at finish not pending | ||
| b78a8297 | 2015-09-02 12:35:51 | test/regress_ssl: cover fd manipulations | ||
| 46bba731 | 2015-09-02 12:31:15 | test/regress_ssl: convert open_ssl_bufevs() to mask | ||
| 34559913 | 2015-09-02 12:26:40 | test/regress_ssl: convert client/server to mask too | ||
| 04303273 | 2015-09-02 11:34:13 | test/regress_ssl: cover "allow_dirty_shutdown" | ||
| 342e116f | 2015-09-02 11:22:43 | test/regress_ssl: convert regress_bufferevent_openssl() to bitmask | ||
| 25e56fdb | 2015-08-25 17:01:42 | tests/regress_ssl: drop duplicated assert | ||
| fd36647a | 2015-08-25 15:24:39 | Don't use BSD u_* types. These types are not part of POSIX. As we only use them in a small number of places, we'd better replace them by C standard types. This makes a larger part of the code build for CloudABI. | ||
| 9f0bff3f | 2015-08-18 21:30:48 | test/regress_http: initialize "dns_base" to avoid reading trash Even though it is very unlikely, but it will better to fix this. | ||
| a50f5f0a | 2015-01-01 06:27:31 | http: reuse connected address only with EVHTTP_CON_REUSE_CONNECTED_ADDR | ||
| f4874d8c | 2014-11-15 20:35:40 | test/http: cover retrying with saved conn_address by shutting down dns server | ||
| cb969312 | 2015-06-07 15:51:15 | Update bench_httpclient.c *fixed: socket_geterror instead of WSAGetLastError | ||
| 4e9325e8 | 2015-06-05 16:39:26 | *fix: bench_httpclient to support win32 | ||
| e84e269b | 2015-05-11 22:53:05 | Commented out a WIN32 threading / timing test for now - seems as if windows has some time scale issues which I am looking into. For now I am commenting out the regression test until it is fixed. | ||
| 0c7f2178 | 2015-02-16 23:42:54 | Fix mixed declarations and code (forbidden by ISO C90) | ||
| 746d2c50 | 2015-02-16 23:41:53 | Fix "function declaration isn’t a prototype" add "void" to argument list | ||
| a77a82a0 | 2015-02-04 08:37:32 | Merge remote-tracking branch 'azat/be-pair-fix-freeing-shared-lock-v5' | ||
| 51821e20 | 2015-02-04 08:33:42 | Merge pull request #207 from azat/avoid-leaking-of-event_debug_map_HT_GROW Avoid leaking of event_debug_map_HT_GROW | ||
| 537177d3 | 2015-02-02 13:57:22 | New function to get address for nameserver. | ||
| a558fcdb | 2015-01-26 00:31:23 | be_pair/regress: cover use of shared lock (lock/unlock/free) For more info look at 92a359ee3adf4636db508e6c6d7179d4d59eaafc ("be_pair: release shared lock with the latest of bufferevent_pair") | ||
| 3540a193 | 2015-01-08 04:45:49 | regress_dns: drop hack for event_debug_map_HT_GROW in leak tests | ||
| f5b47657 | 2014-12-22 00:46:56 | Fix warnings when compiling with clang 3.5 | ||
| cb737041 | 2014-12-15 12:50:11 | Fix annoying heisenbug in test-time.c | ||
| 7fd49414 | 2014-11-30 19:26:20 | Merge remote-tracking branch 'origin/pr/182' | ||
| 154006ad | 2014-11-30 11:09:28 | More evbuffer_peek() test cases | ||
| e2d139dd | 2014-11-11 14:25:47 | test/evbuffer_peek: add regress in case we have first buffer greater | ||
| b0e99244 | 2014-10-29 03:40:44 | Add test for evhttp_connection_free_on_completion | ||
| 3ca9d43d | 2014-04-10 19:33:45 | evdns: add retry/reissue tests for EVDNS_BASE_DISABLE_WHEN_INACTIVE | ||
| 89c1a3b7 | 2014-09-18 12:40:38 | Fix several memory leaks in the unit tests. Also add a comment to buffer.c about why we call evbuffer_file_segment_free on failure to add the segment. | ||
| 364c1106 | 2014-09-18 12:12:36 | Fix for a677b72bd6d9d378daf9775966aa8ca574e26e67 | ||
| fb57b8ba | 2014-09-18 12:08:50 | Make a buffer larger in the tests to avoid a scary evbuffer_copyout_from() The call was safe, but coverity couldn't tell. CID 1239294. | ||
| ca5b5c7d | 2014-09-18 12:04:16 | Use a more precise calculation for max in time-ratelim.c CID 1239297 | ||
| a677b72b | 2014-09-18 12:02:13 | Use evutil_weakrand() in unit tests. (Coverity doesn't like random() or rand(). We don't care; this is for unit tests.) Fixes CID 1239298, 1239296, 1239295, 1239293. | ||
| 76643dd0 | 2014-09-18 11:54:39 | Fix a c90 warning | ||
| c119f241 | 2014-09-18 11:54:04 | Fix a dead-code warning in unit tests. CID 1193548 | ||
| 37390574 | 2014-09-18 11:52:16 | Fix a use-after-free in unit tests. CID 752027 | ||
| c243dbf4 | 2014-09-18 11:44:11 | Merge pull request #168 from ufo2243/master make bufferevent_getwatermark api more robust | ||
| 35f107de | 2014-09-18 11:36:08 | Merge remote-tracking branch 'origin/patches-2.0' | ||
| 79800df7 | 2014-03-25 13:35:13 | regress_buffer: fix 'memcmp' compare size | ||
| 73615a37 | 2014-09-18 11:31:52 | Merge pull request #118 from azat/http-forward-family-to-bufferevent Add evhttp_connection_set_family() to set addrinfo->family for DNS requests | ||
| 08c88ea5 | 2014-09-18 11:28:19 | use correct tt macro for pointer compare | ||
| afce2721 | 2014-09-18 11:25:27 | Merge pull request #128 from azat/tests-disable-when-inactive-v5 Some tests for EVDNS_BASE_DISABLE_WHEN_INACTIVE flag | ||
| a21e5108 | 2014-09-12 11:51:59 | make bufferevent_getwatermark api more robust | ||
| 9f3a8acf | 2014-08-29 14:38:09 | Merge pull request #153 from azat/tests-simplestsignal test/regress: add simplestsignal: to track reorder bugs separately | ||
| f691389e | 2014-08-29 14:28:09 | Change return type of evutil_load_windows_system_library_ to HMODULE Noted by Miles Chan as issue #146 | ||
| b897beff | 2014-02-23 02:31:51 | test/regress: add simplestsignal: to track reorder bugs separately | ||
| 8da5a186 | 2014-05-08 13:21:49 | Update to a more recent tinytest_macros. This one has less of a tendency to suppress important type warnings. | ||
| 5ca9e97e | 2014-04-11 18:50:10 | regress dns: drop alarm() (since windows don't have it) | ||
| fea86a64 | 2014-04-10 01:11:42 | evdns: add regress test for flag EVDNS_BASE_DISABLE_WHEN_INACTIVE without ns | ||
| ad0493ee | 2014-04-09 17:48:12 | evdns: add regress for EVDNS_BASE_DISABLE_WHEN_INACTIVE base flag | ||
| 3fbf3cc9 | 2014-03-27 00:49:00 | test/http: add regress test for set family to AF_INET6 | ||
| 42aefeb0 | 2014-03-27 00:40:14 | test: add regress for evhttp_connection_set_family() with AF_INET and AF_UNSPEC | ||
| 177b8a7c | 2014-03-27 00:44:51 | test: add family argument for http_connection_test_() | ||
| 6066f985 | 2014-03-26 11:02:52 | Merge pull request #121 from azat/dns-regress-leaks regress_dns: fix leaks in getaddrinfo_async{,_cancel_stress} tests | ||
| 2fdc5f29 | 2014-03-23 15:12:29 | regress_dns: fix leaks in getaddrinfo_async{,_cancel_stress} tests | ||
| dc82c8d3 | 2014-03-21 11:59:55 | Renamed sin to saddr due to name conflict During building on MSVC 2013 I got a compiler error by a type conflict for sin: test-fdleak.c(60) : error C2365: 'sin' : redefinition; previous definition was 'function' test-fdleak.c(134) : error C2070: 'double (__cdecl *)()': illegal sizeof operand test-fdleak.c(134) : error C2198: 'evconnlistener_new_bind' : too few arguments for call test-fdleak.c(148) : error C2070: 'double (__cdecl *)()': illegal sizeof operand test-fdleak.c(148) : error C2168: 'memcpy' : too few actual parameters for intrinsic function test-fdleak.c(149) : error C2224: left of '.sin_family' must have struct/union type test-fdleak.c(212) : error C2070: 'double (__cdecl *)()': illegal sizeof operand test-fdleak.c(212) : error C2198: 'bufferevent_socket_connect' : too few arguments for call test-fdleak.c(239) : error C2070: 'double (__cdecl *)()': illegal sizeof operand test-fdleak.c(239) : error C2168: 'memset' : too few actual parameters for intrinsic function test-fdleak.c(240) : error C2224: left of '.sin_family' must have struct/union type test-fdleak.c(241) : error C2224: left of '.sin_addr' must have struct/union type test-fdleak.c(242) : error C2224: left of '.sin_port' must have struct/union type The simplest solution to this problem would be to rename the variable. | ||
| 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+ |