Branch :
| Author | Commit | Date | CI | Message |
|---|---|---|---|---|
| b3b425eb | 2011-07-18 12:45:50 | Give Makefile.am echo a non-null argument. msys likes this | ||
| caf695af | 2011-07-05 14:55:09 | Fix up test_evutil_snprintf | ||
| af6a05f7 | 2011-07-05 14:51:24 | Merge remote-tracking branch 'github/20_size_fmt' into patches-2.0 | ||
| b031adf1 | 2011-06-14 14:37:49 | Don't break when building tests from git without python installed | ||
| 812d42e8 | 2011-06-11 01:26:54 | Simplify windows commandname logic in tinytest Instead of using a dup'd pointer, let's use a static array, so we don't need to free it. This patch also makes tinytest build on non-windows again. | ||
| 57def346 | 2011-06-11 00:49:24 | Fix tinytest invocation from windows shell Original post: This post is in response to a posting last December on a Windows regression fork failure ([Libevent-users] Re: Libevent 2.0.10-stable is released by Dongsheng Song). I noticed the question was not answered and I recently experienced the same error myself when trying to run the Windows regression tests myself. I checked the return status from the CreateProcess call and found it was "file not found". This led me to look at the command-line I was using which was .\regress in a Visual Studio 2008 command prompt window. Windows could not find the file because it did not have the .exe extension on the end. The code that builds the command should be modified to ensure the extension is present. | ||
| 3203f88c | 2011-06-08 17:18:03 | Use the correct printf args when formatting size_t Based on a patch from Mansour Moufid | ||
| 4461f1a0 | 2011-06-06 15:11:28 | Fix incorrect results from evbuffer_search_eol(EOL_LF) Our evbuffer_strchr() function [which was only used for search_eol(EOL_LF) could give incorrect results if it found its answer in the first chunk but didn't start searching from the front of the chunk. Also, this patch adds unit tests for evbuffer_search_eol, particularly in those cases that evbuffer_readln() tests didn't exercise. | ||
| bdfb8330 | 2011-06-03 17:06:17 | Fix regress_ssl.c build on openbsd | ||
| f47c15e7 | 2011-05-27 23:28:17 | Make the new http_connect_fail_test use a multicast addr, not broadcast Turns out that FreeBSD does _not_ give a ENETUNREACH error when told to make a TCP socket to 255.255.255.255, but it is quite happy to do so for 239.10.20.30. So that's what we'll do. Found by Robert Ransom and Dave Hart. | ||
| c11c6fcd | 2011-05-27 14:57:55 | Disable main/many_events_slow_add with evport backend In 2.0 and earlier, evport only reports up to 8 events at a time, which confuses this test badly. | ||
| d1b2d11b | 2011-05-26 02:05:54 | Always use evutil_snprintf, even if OS provides it In test/tinytest_local.h we can't redefine snprintf if the OS has it defined already. | ||
| 0de87fe6 | 2011-05-25 15:11:01 | Use evutil_gettimeofday instead of relying on the system gettimeofday. | ||
| 3d768dc9 | 2011-05-25 11:04:43 | Fix winsock2.h #include issues with MSVC Define WIN32_LEAN_AND_MEAN, so that windows.h does not bring in winsock.h which in turn makes it impossible to #include <winsock2.h> (at least with MSVC) | ||
| 8fa030c0 | 2011-05-26 00:03:38 | Make sure TINYTEST_LOCAL is defined when building tinytest.c | ||
| fe93022a | 2011-05-25 10:58:48 | unistd.h and sys/time.h might not exist. | ||
| 06a714ff | 2011-05-25 16:51:25 | Fix new warnings from GCC 4.6 | ||
| 57ddda78 | 2011-05-23 01:40:05 | Test case for 0848814ac49616 "I'm not sure if you'll like my use of the limited broadcast address for simulating an ENETUNREACH error with a TCP connection, but it's the best that I could think of. Basically, we want to trigger a non-EINPROGRESS error in evutil_socket_connect() immediately at the connect() in order to bring about the assertion in the evhttp_connection_fail() error handling code." | ||
| 5786b91e | 2011-05-05 18:02:42 | Fix a compile warning with zlib 1.2.4 and 1.2.5 I took this fix from Tor (commit 1a52e39c22d5, author Nick Mathewson, Copyright (c) 2007-2011, The Tor Project, Inc.) and adapted it slightly for libevent. | ||
| 7b819f2d | 2011-05-04 16:37:58 | Libtool brings in the dependencies of libevent_openssl.la automatically | ||
| 274dd036 | 2011-05-04 16:34:28 | libssl depends on libcrypto, not the other way around. | ||
| d11e9e0f | 2011-05-03 14:22:48 | Oops; that new unit test breaks for epoll. Fix it. | ||
| 28317a08 | 2011-05-03 13:54:57 | Fix a warn-and-fail bug in kqueue by providing kevent() room to report errors Apparently, kevent fails gracefully if there is not enough space in its output events array to report every _event_... but it just dies and returns -1 if there is not enough space to report every _error_. There are a couple of possible fixes here. One would to handle -1 returns from kevent better by re-growing the array and retrying... but that seems a little error prone. Instead, I'm just going to say that the events array must be large enough to handle all the errors. This patch also adds a unit test designed to make sure that our many-events-out code works even if not all the events are added at once. | ||
| ea0d019b | 2011-04-23 02:35:17 | Use AM_CONDITIONAL, not AC_SUBST, to tell automake to build regress For some reason, this makes mingw much happier about building regress.exe by default. No, I'm afraid I don't know why. | ||
| dd68cce4 | 2011-04-23 01:47:43 | Add missing header for regress_http compilation on win32 | ||
| 646f9feb | 2011-04-23 02:22:08 | Zero a struct sockaddr_in before using it Found by Dave Heart | ||
| 93a1abb3 | 2011-04-11 18:26:48 | Check return value of evbuffer_add_cb in tests Caught by clang's static analyzer | ||
| 48c44a6d | 2011-04-11 17:48:23 | Refactor test_getaddrinfo_async_cancel_stress() Turns out it didn't need an event base set up. Spotted by clang's static anaylzer | ||
| b693c324 | 2011-04-11 17:32:03 | Actually send NULL request in http_bad_request_test Issue caught by clang's static analyzer | ||
| 3819b62c | 2011-04-11 17:23:08 | Add a forgotten return value check in the unit tests Spotted by clang's static analyzer | ||
| 3f79a3a0 | 2011-02-23 09:19:08 | Continue AM_CFLAGS to AM_CPPFLAGS correction 9c469db300e1b270a93c6b04c1709ac0f7751136 had started with the conversion but left out another instance of incorrectly used AM_CFLAGS. Dave Hart provided the suggestion for this fix. | ||
| 5dc200b7 | 2011-02-22 18:53:55 | Merge branch '20_uri_nonconformant' into patches-2.0 | ||
| 15b2408c | 2011-02-22 16:13:49 | Use $(), not @@, for LIBEVENT_GC_SECTIONS | ||
| 039b9bd0 | 2011-02-22 00:31:56 | Use %s with printf in test.sh | ||
| 9c469db3 | 2011-02-13 02:27:42 | Correct an AM_CFLAGS to an AM_CPPFLAGS in test/Makefile.am | ||
| 49e9bb7f | 2011-02-13 02:05:04 | Add configure options to disable installation, regression tests The main reason for disabling installation is if you're building libevent as a subpackage for embedding: you want to have your main package's "make all" build libevent, but you don't want your main package's "make install" to install libevent. | ||
| 0965c563 | 2011-02-13 01:50:40 | Use the gcc -ffunction-segments feature to allow gc when linking with static libevent | ||
| 05a2c22f | 2011-02-13 01:30:37 | Make test-eof fail with a timeout if we never get an eof. Previously, it would just wait forever. | ||
| bbf55150 | 2011-02-13 01:25:33 | Include util-internal.h as needed to build on platforms with no sockaddr_storage | ||
| 10c834c4 | 2011-02-13 01:22:25 | Include arpa/inet.h as needed on HPUX | ||
| 95060b54 | 2011-02-13 00:41:22 | Make URI parser able to tolerate nonconformant URIs. If the EVHTTP_URI_NONCONFORMANT flag is passed in (which it is when parsing URIs we get over the wire), then we relax our checks a lot. Specifically, we do nothing to check for correct characters in the path, query, and fragment parts of such a URI. We could do much more here: we could relax our hostname requirements, deal with spaces differently/better, trap some errors but not others, etc. But this should solve the worst user-agent compatibility issues for now; the other issues can wait for a later release. | ||
| b4f89b60 | 2011-02-01 01:15:48 | Fix test.sh output on solaris Solaris echo -n doesn't omit newlines, but printf omits newlines in more places. | ||
| 6092f126 | 2011-01-31 16:37:27 | Fix http unit test on non-windows platforms without getaddrinfo | ||
| 22f4af65 | 2010-12-09 11:43:12 | Remove end-of-line whitespace | ||
| d23839fc | 2010-12-07 11:43:52 | Reject overlong http requests early when Expect:100-continue is set | ||
| c0bf63ce | 2010-12-02 14:13:33 | tests: Use relative includes ("") instead of system includes (<>) | ||
| 4f332091 | 2010-12-02 14:09:52 | tests: Use new event2 headers instead of old compatibility headers. | ||
| fa9305f8 | 2010-11-29 18:25:04 | Preliminary support for Continue expectation in evhttp. | ||
| aab8c38b | 2010-11-05 11:17:07 | Add evhttp server alias interface, correct flagging of proxy requests. evhttp needs to be mindful of all hostnames and addresses that clients use to contact the main server and vhosts to know the difference between proxy requests and non-proxy requests. | ||
| c2e5e22c | 2010-11-23 14:09:03 | xlC doesn't obey C99 comments here. autoconf isn't invoking full C99 mode. | ||
| 7bcace2d | 2010-11-22 21:02:34 | Fix some irix compilation warnings spotted by Kevin Bowling | ||
| 150d7d0a | 2010-11-22 20:24:03 | Merge remote branch 'kev009/master' | ||
| e8749823 | 2010-11-22 16:40:31 | Fix IRIX build. sa_family collides with a #define in sys/socket.h on IRIX. | ||
| 26049c2f | 2010-11-22 16:24:52 | Merge remote branch 'github/20_getaddrinfo_cancel_v2' | ||
| da1bf528 | 2010-11-22 16:24:09 | Add a stress test for getaddrinfo_cancel | ||
| ece974fb | 2010-11-22 14:13:24 | Reorder backends in test.sh to match preference order in event.c | ||
| aed7e029 | 2010-11-22 14:10:01 | Make unit tests for epoll-with-changelist pass The only changes needed were to handle the fact that the methodname "epoll (with changelist)" matches the environment variable EVENT_NOEPOLL rather than the imaginary "EVENT_EPOLL (WITH CHANGELIST)". | ||
| 3a67d0bf | 2010-11-19 17:09:30 | Resolve an evport bug in the thread/forking test | ||
| 5c8a59e8 | 2010-11-09 10:19:05 | Merge remote branches 'github/20_evdns_cancel_segfault_v2', 'github/20_http_close_detect', 'github/20_http_versions', 'github/20_more_http_methods', 'github/20_shutdown_iocp_listener' and 'github/20_win64_fixes' | ||
| 3db6bc00 | 2010-11-09 10:03:00 | Remove some debugging puts() calls from allow_methods test | ||
| 75e3320e | 2010-11-04 12:41:13 | Units test for unexpected evhttp methods. | ||
| 34b84b97 | 2010-11-03 14:38:45 | Fix more wn64 warnings. | ||
| 985430ae | 2010-11-03 15:17:57 | Remove need for http_compat.h in http tests | ||
| 0b137f45 | 2010-11-03 15:14:29 | Stop accessing http request struct directly from in the unit tests. | ||
| c91622d1 | 2010-11-03 15:04:44 | Stop using event_compat.h in regress_http | ||
| 9bb82393 | 2010-11-03 14:31:23 | Convert the rest of the http tests to be non-legacy unit tests. | ||
| 353402a8 | 2010-11-03 14:13:20 | Rename the confusing "base" static variable in regress_http.c | ||
| 8505a744 | 2010-11-03 13:55:20 | Start porting http tests to not use legacy interfaces | ||
| 7484df61 | 2010-11-01 13:43:43 | Fix even more win64 warnings | ||
| f8064762 | 2010-10-28 10:11:25 | Increase the skew tolerance to 2 seconds in thread/deferred_cb_skew This is to make the test not fail on Sebastian Hahn's Win7 box. | ||
| f817bfa4 | 2010-10-27 17:31:52 | Fix some ints to evutil_socket_t; make tests pass on win64. | ||
| 5d389dc0 | 2010-10-26 22:27:57 | Fix some uses of int for socket in regress | ||
| c281aba3 | 2010-10-24 11:38:29 | Fix a nasty bug related to use of dup() with epoll on Linux Current versions of the Linux kernel don't seem to remove the struct epitem for a given (file,fd) combo when the fd is closed unless the file itself is also completely closed. This means that if you do: fd = dup(fd_orig); add(fd); close(fd); dup2(fd_orig, fd); add(fd); you will get an EEXIST when you should have gotten a success. This could cause warnings and dropped events when using dup and epoll. The solution is pretty simple: when we get an EEXIST from EPOLL_CTL_ADD, we retry with EPOLL_CTL_MOD. Unit test included to demonstrate the bug. Found due to the patient efforts of Gilad Benjamini; diagnosed with help from Nicholas Marriott. | ||
| bf11e7dd | 2010-10-21 15:33:13 | Merge branch 'http_uri_parse' | ||
| bc98f5e6 | 2010-10-21 14:53:21 | Unit tests for evhttp_uri_set* | ||
| 45f6869c | 2010-10-21 14:41:12 | Make evhttp_uri non-public, and give it accessor functions. | ||
| d9ffa899 | 2010-10-21 12:48:13 | Update the HTTP regression tests to use Libevent2 apis for non-http stuff | ||
| 1f507d75 | 2010-10-21 12:27:16 | Stop using Libevent-1 headers in regress_http | ||
| cd00079b | 2010-10-21 12:19:28 | Add evhttp_connection_get_base() to get the event_base from an http connection Based on a patch by Mark Ellzey from 27 July 2010. Closes ticket 3052406 | ||
| a5a76e68 | 2010-10-19 12:35:50 | Add a huge pile of tests for the new URI functions, and make them pass. | ||
| ad923a11 | 2010-10-19 12:33:50 | Improvements to tinytest_macros.h First, handle cases where we have %s in a tt_want or tt_assert. Second, add tt_want_*_op that do a tt_*_op test, but do not exit the test on failure. We should push these upstream to tinytest some time. | ||
| eaa5f1d9 | 2010-10-19 11:26:59 | Revise evhttp_uri_parse implementation to handle more of RFC3986 | ||
| 86dd720a | 2010-08-08 16:46:39 | Introduce absolute URI parsing helpers. See evhttp_uri_parse(), evhttp_uri_free() and evhttp_uri_join() for details. | ||
| f13e449b | 2010-10-18 14:20:06 | Merge branch 'http_parse' | ||
| e5870690 | 2010-10-18 13:53:31 | Modernize header usage in bench_http.c | ||
| 4ebf9509 | 2010-10-14 14:40:40 | Fixes for MSVC compilation | ||
| e06f514d | 2010-10-14 13:51:24 | Fix signed/unsigned warnings on win32 | ||
| e5c214a4 | 2010-10-14 13:16:41 | Fix -Wsigned-compare warnings in test/* | ||
| 02f6259f | 2010-10-14 11:44:32 | New unit test for ssl bufferevents starting with connected SSLs. | ||
| 34331e45 | 2010-10-08 01:09:02 | The corrected bufferevent filter semantics let us fix our openssl tests | ||
| a8148ced | 2010-10-08 13:05:13 | New evhttp_uri(encode|decode) functions to handle + and NUL characters right The old evhttp_decode_uri() function would act as tough it was doing an (illegal, undefined) decode operation on a whole URL at once, and treat + characters following a ? as different from + characters preceding one. But that's not useful: If you are decoding a URI before splitting off query parameters, you are begging to fail as soon as somebody gives you a value with an encoded & in it. The new evhttp_uridecode() function takes an argument that says whether to decode + signs. Both uridecode and uriencode also now support encoding or decoding to strings with internal 0-valued characters. | ||
| 62b429af | 2010-10-07 13:41:39 | Make iocp/listener/error work; don't accept again if lev is disabled. | ||
| 127d4f21 | 2010-09-23 16:49:58 | Add a LEV_OPT_THREADSAFE option for threadsafe evconnlisteners | ||
| b1756d01 | 2010-10-06 11:48:52 | Let evhttp_parse_query return -1 on failure We already detected certain malformed queries, but we responded by aborting the query-parsing process half-way through without telling the user. Now, if query-parsing fails, no headers are returned, and evhttp_parse_query returns -1. | ||
| 5b7a3706 | 2010-10-05 14:29:48 | Fix warnings on mingw with gcc 4.5 | ||
| d49b5e33 | 2010-09-27 15:12:55 | Do not search outside of the system directory for windows DLLs Hardens against some attacks. | ||
| 045eef4c | 2010-09-23 14:23:45 | Unit tests for listener error callbacks | ||
| 4858b794 | 2010-09-15 01:54:51 | Remove the now-useless evsig_caught and evsig_process | ||
| 720bd933 | 2010-09-15 01:08:39 | Warn when using the error-prone EV_SIGNAL interface in an error-prone way. Also, fix a couple of race conditions in signal.c When using the signal.c signal backend, Libevent currently only allows one event_base to actually receive signals at a time. (This has been the behavior since at least 1.4 and probably much earlier.) Now, we detect and warn if you're likely to be racing about which signal goes to which thread. We also add a lock to control modifications of the evsig_base field, to avoid race conditions like those found by Jason Toffaletti. Also, more comments. Comments are good. | ||
| f0bd83ea | 2010-09-09 16:13:09 | Bump to the latest version of tinytest This lets us do without libevent-specific code in tinytest.c, and lets us add a feature to skip individual tests from the command line. |