|
24d64666
|
2014-01-14T17:53:47
|
|
Fix so that old nmake project still builds.
|
|
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.
|
|
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.
|
|
0fa107d8
|
2013-07-02T16:01:02
|
|
Added event_base_get_num_events()
|
|
e1766a1b
|
2013-05-29T16: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-13T19: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-13T19: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-11T22:21:30
|
|
Whoops. It is gdi.lib, not gdi32.lib. (github issue #61)
|
|
5ba8ab76
|
2013-05-10T21:38:26
|
|
Fix test compilation with nmake: add the gdi.lib dependency
ACK: efekty
|
|
85a40040
|
2013-05-01T13:37:57
|
|
Add regress_finalize to makefile.nmake
|
|
5bc290e2
|
2013-05-01T10:04:08
|
|
Make http/connection_retry off-by-default
|
|
9e3a99ca
|
2013-04-30T20:09:52
|
|
Fix a bug in fixing a bug in out-of-tree test-dumpevents
|
|
b48c7bf8
|
2013-04-30T14:40:50
|
|
Make regress_finalize work with malloc replacement disabled
|
|
cbfc35f6
|
2013-04-30T14:26:47
|
|
Fix some out-of-tree build bugs
|
|
702c9aa4
|
2013-04-26T19: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-26T17: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-26T17:46:33
|
|
A test for event_get_assignment()
|
|
30ea2910
|
2013-04-26T17:28:46
|
|
Unit tests for event_base_gettimeofday_cached() and event_base_update_cache_time()
|
|
0b096efe
|
2013-04-26T13: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-26T13: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-26T12:27:05
|
|
Merge branch '21_deadlock_fix_v2'
|
|
25aac697
|
2013-04-26T12:00:17
|
|
Remove a no-longer-true XXXX comment.
|
|
9d893c97
|
2013-04-09T18:15:08
|
|
Add some verbose notes to bufferevent unit tests
|
|
8eedeabe
|
2013-03-28T14:13:19
|
|
Implement event_finalize() and related functions to avoid certain deadlocks
|
|
b1b054f0
|
2013-04-26T12: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-25T15:13:24
|
|
Merge branch '21_http_error_cb_squashed'
|
|
54cc8005
|
2013-03-21T17:01:31
|
|
Drop extra header http_struct.h from regress_http.c
|
|
862c217a
|
2013-03-22T14:35:47
|
|
Add test for EVREQ_HTTP_REQUEST_CANCEL into http_cancel_test()
|
|
7b077194
|
2013-03-21T13: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-10T18:03:16
|
|
Add a test with an active_later event at event_base_free time.
|
|
2fad0f3d
|
2013-04-05T15: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-15T09:33:28
|
|
build test/test-script.sh on systems with a less-featureful $<
|
|
787fd748
|
2013-03-15T09:33:13
|
|
Make --disable-libevent-regress work again
|
|
13676535
|
2013-03-01T12:01:42
|
|
Test: decoding just part of string with evhttp_decode_uri_internal()
|
|
c9ad3af2
|
2013-02-25T20:13:01
|
|
test filling up the hash table a bit
|
|
2078e9b4
|
2013-02-14T20:14:37
|
|
make sure caching works, and we don't leak memory
|
|
72965126
|
2013-02-07T17:06:49
|
|
a program to print out the error strings for winsock errors
|
|
97094614
|
2013-02-14T14:13:11
|
|
Merge remote-tracking branch 'origin/patches-2.0'
|
|
b6182042
|
2013-02-14T09:54:56
|
|
fix #73 and fix http_connection_fail_test to catch it
|
|
96150dd0
|
2013-02-13T11:38:57
|
|
Unit test for event_remove_timer with EV_PERSIST.
Patch from dcicppin on sourceforge.
|
|
74e52db4
|
2013-02-11T11:25:25
|
|
Merge remote-tracking branch 'ppelleti/nmake-clean-exes'
|
|
2863c837
|
2013-02-08T22:10:05
|
|
Avoid using $(top_srcdir) in TESTS.
Newer automakes don't like this.
|
|
a55514ee
|
2013-02-08T22:08:18
|
|
Avoid using top_srcdir in TESTS-new automakes do not like this
|
|
974bfa07
|
2013-02-07T17:14:18
|
|
remove all exes on "make clean", not just regress.exe
|
|
2ecd8947
|
2013-02-04T13: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-03T19:08:37
|
|
Preliminary changes for Minix3.
|
|
9ec88bdf
|
2013-01-27T02: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-19T09:07:13
|
|
Fix a bug when running "make verify" out-of-tree
|
|
173d7823
|
2012-11-18T01:40:33
|
|
Fix a gcc warning in rtrim test
|
|
f38e0788
|
2012-11-18T01:36:03
|
|
Make ssl version check in unit tests work
|
|
e3b2e086
|
2012-11-16T16:15:03
|
|
Add an event_remove_timer() to remove timer on an event without deleting it
|
|
5a9a0141
|
2012-11-16T16:17:07
|
|
Fix a couple of compile warnings in the unit tests
|
|
c6ff3812
|
2012-11-16T11:38:53
|
|
Remove internal ws from multiline http headers correctly
According to RFC2616:
All linear white space, including folding, has the same semantics
as SP. A recipient MAY replace any linear white space with a single
SP before interpreting the field value or forwarding the message
downstream.
|
|
ac425197
|
2012-11-16T11:29:34
|
|
Remove trailing tabs in HTTP headers as well.
|
|
aa59d805
|
2012-11-16T11:13:29
|
|
Clean up rtrim implementation
If I understand the C standard correctly, you can't actually point
at a position immediately _before_ the start of an object; only at the
position immediately after.
According to J.2 in the standard, in its big list of undefined behavior:
"The behavior is undefined in the following circumstances:
...
— Addition or subtraction of a pointer into, or just beyond, an
array object and an integer type produces a result that does not
point into, or just beyond, the same array object (6.5.6)."
So we've got to fix rtrim to not do that. Also, make it unit tested,
and give it an evutil_*_ name.
|
|
efb644ed
|
2012-11-16T10:29:37
|
|
Merge remote-tracking branch 'origin/patches-2.0'
Conflicts:
test/rpcgen_wrapper.sh
|
|
f3009e48
|
2012-11-16T10:28:19
|
|
Make rpcgen_wrapper.sh work on systems without a "python2" binary
|
|
4343edf3
|
2012-11-16T10:17:34
|
|
Add a unit test in which an event is created with event_base_once() but never fires
|
|
1f5a48d1
|
2012-11-15T11:45:12
|
|
Merge remote-tracking branch 'origin/patches-2.0'
|
|
ac009f92
|
2012-11-15T11:43:20
|
|
Warn when openssl version in unit test mismatches compiled version.
|
|
c2f30863
|
2012-11-15T11:42:14
|
|
Fix renegotiation test to work around openssl 1.0.1 bug
There's a bug in openssl 1.0.1 where TLS1.1 and TLS1.2 can't
renegotiate with themselves. When testing renegotiation with OpenSSL
>=1.0.1 and <1.0.1d, disable those protocols.
|
|
1d9d5110
|
2012-11-15T11:40:33
|
|
Use the same CFLAGS for openssl when building unit tests as with libevent
|
|
64051b90
|
2012-11-06T17:42:46
|
|
Clean up unit test for evbuffer_file_segment_add_cleanup_cb a little
|
|
e9f8feba
|
2012-11-06T17:37:28
|
|
Add a new callback to get called on evbuffer_file_segment free
|
|
56e48c10
|
2012-11-02T10:58:02
|
|
Fix a few mingw64 incompatibilities introduced since 2.0
|
|
2e6a9850
|
2012-11-01T18:12:07
|
|
Merge remote-tracking branch 'github/20_win64_compilation' into 21_win64_compilation
Conflicts:
event.c
http.c
sample/event-read-fifo.c
test/regress_bufferevent.c
|
|
94866c27
|
2012-11-01T17:38:34
|
|
Compile without warnings on mingw64
This is mostly a matter of catching cases where we were still
assuming that evutil_socket_t could be used as an int.
|
|
4b5f32a5
|
2012-10-23T13:26:44
|
|
Use python2 rather than python
python may refer to either python2 or python3 so rather by explicit by
using python2.
See PEP 394 - http://www.python.org/dev/peps/pep-0394/ for more
details.
|
|
1e3123da
|
2012-08-28T16:15:14
|
|
Fix handling of no-python case for nonrecursive make
|
|
607a8ff9
|
2012-08-28T16:14:38
|
|
Be quiet when making regress.gen.[ch]
|
|
371a1237
|
2012-08-28T16:07:56
|
|
Make quiet build even quieter
|
|
6cdfeebe
|
2012-08-28T16:01:14
|
|
Rename subordinate Makefile.ams to include.am
|
|
7092f3b6
|
2012-08-28T15:58:18
|
|
Switch to non-recursive makefiles
This approach should let Make work better, let libevent build faster
(especially when using a parallelized build), and basically make the
Makefiles easier to maintain.
See http://miller.emu.id.au/pmiller/books/rmch/ for more info on why
you'd want to do this.
This is due to an idea from Zack Weinberg; the patch is my own.
|
|
07e132e3
|
2012-08-23T10:46:29
|
|
Rename event_enable_lock_debuging() to ..._debugging()
Keep the misspelled version around for backward compatibility
Based on a patch by Diwaker Gupta.
|
|
f1bd9388
|
2012-08-02T15:02:27
|
|
Avoid test -e; older shs don't have one.
Reported by Paul Croome.
Report forwarded by Dave Hart.
|
|
34c8f316
|
2012-08-02T12:36:05
|
|
Add deferred_cb_skew to list of timing-dependent tests
|
|
403b0d6e
|
2012-07-31T12:03:48
|
|
Merge remote-tracking branch 'ppelleti/windows-ssl'
|
|
9852107f
|
2012-07-26T10:43:13
|
|
Merge remote-tracking branch 'origin/patches-2.0'
Conflicts:
buffer.c
http.c
|
|
a2006c00
|
2012-07-26T10:37:47
|
|
Move assignment outside tt_assert in ssl unit tests. Appeases coverity.
|
|
b9e73297
|
2012-07-26T10:37:13
|
|
Add checks to various return values in unit tests. Found by coverity
|