|
f4874d8c
|
2014-11-15T20:35:40
|
|
test/http: cover retrying with saved conn_address by shutting down dns server
|
|
cb969312
|
2015-06-07T15:51:15
|
|
Update bench_httpclient.c
*fixed: socket_geterror instead of WSAGetLastError
|
|
4e9325e8
|
2015-06-05T16:39:26
|
|
*fix: bench_httpclient to support win32
|
|
e84e269b
|
2015-05-11T22: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-16T23:42:54
|
|
Fix mixed declarations and code (forbidden by ISO C90)
|
|
746d2c50
|
2015-02-16T23:41:53
|
|
Fix "function declaration isn’t a prototype"
add "void" to argument list
|
|
a77a82a0
|
2015-02-04T08:37:32
|
|
Merge remote-tracking branch 'azat/be-pair-fix-freeing-shared-lock-v5'
|
|
51821e20
|
2015-02-04T08: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-02T13:57:22
|
|
New function to get address for nameserver.
|
|
a558fcdb
|
2015-01-26T00: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-08T04:45:49
|
|
regress_dns: drop hack for event_debug_map_HT_GROW in leak tests
|
|
f5b47657
|
2014-12-22T00:46:56
|
|
Fix warnings when compiling with clang 3.5
|
|
cb737041
|
2014-12-15T12:50:11
|
|
Fix annoying heisenbug in test-time.c
|
|
7fd49414
|
2014-11-30T19:26:20
|
|
Merge remote-tracking branch 'origin/pr/182'
|
|
154006ad
|
2014-11-30T11:09:28
|
|
More evbuffer_peek() test cases
|
|
e2d139dd
|
2014-11-11T14:25:47
|
|
test/evbuffer_peek: add regress in case we have first buffer greater
|
|
b0e99244
|
2014-10-29T03:40:44
|
|
Add test for evhttp_connection_free_on_completion
|
|
3ca9d43d
|
2014-04-10T19:33:45
|
|
evdns: add retry/reissue tests for EVDNS_BASE_DISABLE_WHEN_INACTIVE
|
|
89c1a3b7
|
2014-09-18T12: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-18T12:12:36
|
|
Fix for a677b72bd6d9d378daf9775966aa8ca574e26e67
|
|
fb57b8ba
|
2014-09-18T12: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-18T12:04:16
|
|
Use a more precise calculation for max in time-ratelim.c
CID 1239297
|
|
a677b72b
|
2014-09-18T12: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-18T11:54:39
|
|
Fix a c90 warning
|
|
c119f241
|
2014-09-18T11:54:04
|
|
Fix a dead-code warning in unit tests. CID 1193548
|
|
37390574
|
2014-09-18T11:52:16
|
|
Fix a use-after-free in unit tests. CID 752027
|
|
c243dbf4
|
2014-09-18T11:44:11
|
|
Merge pull request #168 from ufo2243/master
make bufferevent_getwatermark api more robust
|
|
35f107de
|
2014-09-18T11:36:08
|
|
Merge remote-tracking branch 'origin/patches-2.0'
|
|
79800df7
|
2014-03-25T13:35:13
|
|
regress_buffer: fix 'memcmp' compare size
|
|
73615a37
|
2014-09-18T11: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-18T11:28:19
|
|
use correct tt macro for pointer compare
|
|
afce2721
|
2014-09-18T11: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-12T11:51:59
|
|
make bufferevent_getwatermark api more robust
|
|
9f3a8acf
|
2014-08-29T14:38:09
|
|
Merge pull request #153 from azat/tests-simplestsignal
test/regress: add simplestsignal: to track reorder bugs separately
|
|
f691389e
|
2014-08-29T14:28:09
|
|
Change return type of evutil_load_windows_system_library_ to HMODULE
Noted by Miles Chan as issue #146
|
|
b897beff
|
2014-02-23T02:31:51
|
|
test/regress: add simplestsignal: to track reorder bugs separately
|
|
8da5a186
|
2014-05-08T13:21:49
|
|
Update to a more recent tinytest_macros.
This one has less of a tendency to suppress important type warnings.
|
|
5ca9e97e
|
2014-04-11T18:50:10
|
|
regress dns: drop alarm() (since windows don't have it)
|
|
fea86a64
|
2014-04-10T01:11:42
|
|
evdns: add regress test for flag EVDNS_BASE_DISABLE_WHEN_INACTIVE without ns
|
|
ad0493ee
|
2014-04-09T17:48:12
|
|
evdns: add regress for EVDNS_BASE_DISABLE_WHEN_INACTIVE base flag
|
|
3fbf3cc9
|
2014-03-27T00:49:00
|
|
test/http: add regress test for set family to AF_INET6
|
|
42aefeb0
|
2014-03-27T00:40:14
|
|
test: add regress for evhttp_connection_set_family() with AF_INET and AF_UNSPEC
|
|
177b8a7c
|
2014-03-27T00:44:51
|
|
test: add family argument for http_connection_test_()
|
|
6066f985
|
2014-03-26T11:02:52
|
|
Merge pull request #121 from azat/dns-regress-leaks
regress_dns: fix leaks in getaddrinfo_async{,_cancel_stress} tests
|
|
2fdc5f29
|
2014-03-23T15:12:29
|
|
regress_dns: fix leaks in getaddrinfo_async{,_cancel_stress} tests
|
|
dc82c8d3
|
2014-03-21T11: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-18T18:36:32
|
|
Correctly skip ipv6 http test on systems without ipv6
|
|
e5302ac7
|
2014-03-18T12:35:39
|
|
Remove integer-overflow unit tests
There's not much point checking undefined behavior.
|
|
58fc9b6c
|
2014-03-18T11: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-18T11:13:45
|
|
Fix an illegal read error in the evbuffer_add_reference tests
Found with AddressSanitizer
|
|
2578ec14
|
2014-03-13T10: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-12T18:19:07
|
|
Add missing include to regress_finalize.h
|
|
21477e40
|
2014-03-12T18:13:19
|
|
Skip http/ipv6_for_domain test when we have no ipv6 support
|
|
4947c185
|
2014-03-12T14:29:15
|
|
Heap-allocate zlib data structure in regress_zlib tests
|
|
7a804767
|
2014-03-06T18:09:00
|
|
Update to the latest version of tinytest
This brings us up to tinytest 709a36ba63ff16d8
|
|
239d8345
|
2014-03-06T10:18:09
|
|
Fix 'make distcheck' by adding regress.gen.[ch] to DISTCLEANFILES
Patch from Harlan Stenn.
|
|
e212c548
|
2014-01-22T13:19:49
|
|
Check for OSX when checking for clang.
|
|
5c142a7e
|
2014-01-21T14:53:47
|
|
Merge remote-tracking branch 'origin/pr/98'
|
|
4cb44fdf
|
2014-01-21T14:26:01
|
|
Merge remote-tracking branch 'joakimsoderberg/new_cmake'
Conflicts:
sample/https-client.c
|
|
c2076824
|
2014-01-21T12:21:37
|
|
Fix a c90 warning
|
|
4e143958
|
2014-01-21T11:30:27
|
|
Change all uses of WIN32 to _WIN32
|
|
b1b69ac7
|
2014-01-17T23: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-14T17:53:47
|
|
Fix so that old nmake project still builds.
|
|
d240328d
|
2014-01-08T13:02:37
|
|
Fix even more coverity warnings.
|
|
860767e8
|
2014-01-08T12:46:09
|
|
Fix a couple of compilation warnings in regress_http.c
|
|
544cf888
|
2014-01-08T11:58:50
|
|
Whoops; fix compilation in bench.c
|
|
ff7f7396
|
2014-01-08T11:54:56
|
|
Fix coverity warnings in benchmark tools.
Again, not harmful, but best to stay warning-free.
|
|
867f401f
|
2014-01-08T11: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-07T16:59:26
|
|
Merge remote-tracking branch 'asweeny86/on-complete-cb'
|
|
b85f3987
|
2014-01-06T21:19:15
|
|
Update unit test to make sure that the callback happens after the output data is written
|
|
f9e091bf
|
2014-01-06T12:11:30
|
|
Merge remote-tracking branch 'asweeny86/event-count-max'
|
|
b083ca05
|
2014-01-05T20: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-05T16:30:35
|
|
Added unit test for max event counts
|
|
b4ef3def
|
2013-12-24T10:33:58
|
|
Merge remote-tracking branch 'mistotebe/bufferevent_trigger'
|
|
87fa2b00
|
2013-12-23T20: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-17T14:32:07
|
|
Get rid of unknown pragma warnings.
|
|
69c3516b
|
2013-12-17T13:28:23
|
|
Get rid of deprecation warnings for OpenSSL on OSX 10.7+
|
|
8f2af50f
|
2013-12-16T13:45:45
|
|
Don't segfault on no found event backend.
|
|
78da644f
|
2013-12-16T11:35:31
|
|
Fix bench_cascade program on Windows.
|
|
dbf2b517
|
2013-12-16T11:26:29
|
|
Use evutil_closesocket instead.
|
|
99c1dc32
|
2013-12-12T18:21:11
|
|
More work on adding tests to CMake project
|
|
e9fc014c
|
2013-12-12T16:33:20
|
|
Add all tests and benchmarks to CMake project.
Also fixed some minor issues with what's built.
|
|
e415196a
|
2013-12-09T18:05:32
|
|
Initial CMake commit.
|
|
a7384c78
|
2013-12-03T23:01:54
|
|
Add an option to trigger bufferevent event callbacks
|
|
61ee18b8
|
2013-12-03T22:49:57
|
|
Add an option to trigger bufferevent I/O callbacks
|
|
4ce242bd
|
2013-12-03T22:35:53
|
|
Add watermark introspection
|
|
4dd500cd
|
2013-10-01T19:54:09
|
|
regress_http: add tests for evhttp_connection_get_addr()
|
|
611e28b6
|
2013-10-01T19:54:57
|
|
regress_main: logging all if env EVENT_DEBUG_LOGGING_ALL isset
|
|
0a051ef9
|
2013-09-16T12:29:48
|
|
Merge remote-tracking branch 'rosslagerwall/tree-build'
|
|
243386cc
|
2013-09-15T21: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-06T19:42:20
|
|
test_evutil_rtrim: add another missing check.
|
|
82b6956c
|
2013-08-06T19:39:35
|
|
Finalize tests: add a missing check
|
|
f314900d
|
2013-08-06T19:38:48
|
|
DNS tests: add a missing check
|
|
87cd6f01
|
2013-08-06T19:35:56
|
|
Fix some crash-on-fail cases in DNS regression tests
Found by coverity.
|
|
eba4506a
|
2013-08-06T19:33:45
|
|
Add missing check to test_evbuffer_file_segment_add_cleanup_cb
|
|
77658846
|
2013-08-06T19:32:21
|
|
Fix a logic error in test_evbuffer_freeze
|
|
1104d0be
|
2013-08-06T19:31:26
|
|
Fix a (failure-only) null dereference in the unit tests
|
|
7080d55c
|
2013-08-06T19:28:53
|
|
Use void casts to suppress some "unchecked return value" warns
|
|
fbc323b7
|
2013-07-31T15: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-11T12: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.
|