kc3-lang/libevent

Branch :


Log

Author Commit Date CI Message
5cb3865a 2013-09-19 10:43:54 Fix a compiler warning when checking for arc4random_buf linker breakage. Patch by Ralph Castain.
5eb17885 2013-09-03 14:46:47 Avoid racy bufferevent activation The evhttp_send_reply method invokes evhttp_write_buffer with a callback that may release the underlying request object and bufferevent upon completion. This cleanup callback is invoked by the underlying bufferevent's write callback. Improperly enabling write events before referencing the bufferevent could lead to use after free and memory corruption.
c83efb80 2013-08-19 10:02:55 Merge remote-tracking branch 'public/20_memclear' into patches-2.0
f5ced88c 2013-08-19 09:52:29 Really remove RNG seeds from the stack
bb524712 2013-08-13 11:12:25 Oops; revert testing code
9695e9c1 2013-08-13 10:59:27 Avoid other RNG initialization FS reads when urandom file is specified
d44f91ad 2013-08-13 10:59:20 Finish a sentence
2bbb5d76 2013-08-06 17:06:23 Add evutil_secure_rng_set_urandom_device_file This experimental function is needed for some seccomp2 hackery to work, and should have no effect for systems that don't use it.
b8f59807 2013-07-20 14:02:49 libevent/win32_dealloc() : fix sizeof(pointer) vs sizeof(*pointer)
387e6b90 2013-06-10 15:16:13 Merge remote-tracking branch 'public/pr/79' into patches-2.0
6e496961 2013-06-10 10:38:12 Document that arc4random is not a great cryptographic PRNG.
e35b5408 2013-06-10 10:33:56 When we seed from /proc/sys/kernel/random/uuid, count it as success Found by Joseph Spadavecchia
363388a0 2013-05-29 14:19:14 restore the comment
f8d7df85 2013-05-11 03:53:11 Fix SEGFAULT after evdns_base_resume if no nameservers installed. If there is no nameservers installed, using evdns_base_nameserver_ip_add(), than evdns_base_resume() will SEGFAULT, because of NULL dereference in evdns_requests_pump_waiting_queue() Conflicts: evdns.c
e826f19e 2013-05-29 13:30:56 Use windows vsnprintf fixup logic on all windows environments Previously I'd relied on mingw to provide a vsnprintf with a conformant return value. But it appears that some mingw environments don't do that.
5c710c03 2013-05-06 18:15:03 Checking request nameserver for NULL, before using it.
959c1428 2013-04-30 11:42:53 Start a changelog for Libevent 2.0.22-stable
66dacfa2 2013-04-25 13:43:49 Merge remote-tracking branch 'origin/pr/36' into patches-2.0
773b0a5d 2013-03-25 21:12:49 Fix a typo in a comment in buffer.h. Spotted by Alt_F4
b6182042 2013-02-14 09:54:56 fix #73 and fix http_connection_fail_test to catch it
a55514ee 2013-02-08 22:08:18 Avoid using top_srcdir in TESTS-new automakes do not like this
0c79787a 2013-02-08 22:07:43 Rename configure.in to configure.ac to appease newer autoconfs
817ea369 2013-02-08 13:03:29 Use AC_CONFIG_HEADERS in place of AM_CONFIG_HEADERS for autmake 1.13 compat Patch from cazfi.
0a5eb2eb 2013-02-05 15:07:32 Fix a locking error in bufferevent_socket_get_dns_error. Patch from Ka-Hing Cheung.
c322c207 2013-01-22 16:59:07 Fix a mistake in evbuffer_remove() arguments in example http server code (commit message by nickm)
74d4c44c 2011-01-03 15:09:21 Backport libevent to vanilla Autoconf 2.59 (as used in RHEL5) This is a backport of ad03952.
9ab2b3f7 2013-01-15 12:52:08 Fix missing AC_PROG_SED on older Autoconfs For pre-2.59b Autoconfs, AC_PROG_SED is not available [1]; on such systems, avoid calling AC_PROG_SED, while providing a sensible SED. This aids backporting to Autoconf 2.59. [1] http://lists.gnu.org/archive/html/autotools-announce/2004-08/msg00002.html
0a822a64 2012-12-20 11:48:05 Avoid double-close on getsockname error in evutil_ersatz_socketpair Found by coverity; CID 739726
69db2610 2012-12-20 11:47:09 Avoid leaking fds on evconnlistener with no callback set There's no way to retrieve an fd from an evconnlistener whose callback has been cleared, so we had better close any such fd. Found by coverity; CID 739725.
7e45739e 2012-12-04 12:01:25 Fix compilation with WIN32_HAVE_CONDITION_VARIABLES enabled Reported by Xiuqiang Jiang
f7d92c63 2012-11-19 10:56:16 Increment version to 2.0.21-stable-dev
64177777 2012-11-18 01:39:10 Increment libtool version for 2.0.21 too
0ee10fdf 2012-11-18 01:38:07 Increment version to 2.0.21-stable
1c5517c9 2012-11-18 01:36:33 Changelog for 2.0.21-stable
f38e0788 2012-11-18 01:36:03 Make ssl version check in unit tests work
e3cccf38 2012-11-16 11:55:27 Avoid crash when event_pending() called with no event_base set on event Instead, give a warning and return 0. Reported by Antony Dovgal on github as https://github.com/libevent/libevent/issues/19
ac356502 2012-11-07 19:48:22 remove stray 'x' so print_err will compile when uncommented
f3009e48 2012-11-16 10:28:19 Make rpcgen_wrapper.sh work on systems without a "python2" binary
ac009f92 2012-11-15 11:43:20 Warn when openssl version in unit test mismatches compiled version.
c2f30863 2012-11-15 11: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.
62bd2c44 2012-11-02 11:44:29 Fix compilation on mingw64 with -DUSE_DEBUG
94866c27 2012-11-01 17: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.
2479d964 2012-10-26 19:36:44 Merge remote-tracking branch 'rosslagerwall/python2-2.0' into patches-2.0
cb853ea3 2012-10-26 19:33:31 Close IOCP listener socket on free when LEV_OPT_CLOSE_ON_FREE is set
1ff2c249 2012-10-24 22:48:59 Merge remote-tracking branch 'public/20_bev_timeout_semantics' into patches-2.0
0eb01099 2012-10-23 13:30:58 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.
1acf2ebc 2012-09-06 10:01:10 No need to reserve space if reading is suspended. Conflicts: bufferevent_openssl.c
f719b8a9 2012-09-03 21:42:15 Stop looping in "consider_reading" if reading is suspended.
f2bff75e 2012-09-12 20:12:03 FIx another memleak on OOM in evdns
73e85dd0 2012-09-12 20:11:12 Avoid a memory-leak on OOM in evdns.
576b29f2 2012-09-07 15:53:02 Don't discard SSL read event when timeout and read come close together
484e93c1 2012-08-24 11:40:46 Increment version to 2.0.20-stable-dev
41d77a7c 2012-08-23 14:39:30 Add a date to the changelog
46604b34 2012-08-23 14:38:54 Increment version to 2.0.20-stable
fc43cbdc 2012-08-23 10:36:39 Initial changelog and credits for 2.0.20
606ac43b 2012-08-22 12:30:42 Correctly invoke callbacks when a SSL bufferevent reads some and then blocks. Based on a patch by Andrew Hochhaus, who correctly diagnosed this bug.
ca80ea61 2012-08-02 11:56:17 Add explicit AC_PROG_SED to configure.in so all autoconfs will expose $(SED)
c0720c1b 2012-08-02 11:38:32 Fix an unused variable warning on *BSD.
dc320776 2012-07-30 16:52:55 Avoid segfault on weird timeout during name lookup. If an evdns_getaddrinfo timeout happens while pending_cb is set, and a callback is about to run, but we get a call to evdns_getaddrinfo_gotresolve before it finishes. Github issue #60. Thanks to Greg Hazel for patch and patience.
a0912e32 2012-07-26 10:39:05 Check more setsockopt return values when binding sockets. Found by coverity
a1a0e675 2012-07-26 10:38:29 memset sockaddr_in before using it. Found by coverity.
a2006c00 2012-07-26 10:37:47 Move assignment outside tt_assert in ssl unit tests. Appeases coverity.
b9e73297 2012-07-26 10:37:13 Add checks to various return values in unit tests. Found by coverity
6a4ec5c2 2012-07-26 10:34:06 Avoid possible needless call to writev. Found by coverity.
6355b2a4 2012-07-26 10:16:47 Remove unused variable; spotted by coverity
3cde5bf5 2012-07-26 10:04:43 Avoid more crashes/bad calls in unit tests; found by coverity
f021c3d7 2012-07-26 09:59:47 Add some missing null checks to unit tests; found by coverity
270f279f 2012-07-26 09:53:20 Fix resource leaks in the unit tests; found by coverity
4f3732d7 2012-07-26 09:35:43 Fix various check-after-dereference issues in unit tests: found by coverity
f1ce15d9 2012-07-25 16:18:33 Set umask before calling mkstemp in unit tests. Found by coverity
2259777c 2012-07-25 16:05:36 Fix possible uninitialized read in dns regression tests. Found by coverity.
55533467 2012-07-25 15:59:50 Remove deadcode in http regression tests. Found by coverity.
11c8b317 2012-07-17 11:08:25 Fix a memory leak on error in evhttp_uriencode If we ran out of memory in evhttp_uriencode when allocating the output buffer, we would neglect to call evbuffer_free() on our temporary buffer. Now we always free the temporary buffer. Fixes sourceforge issue 3539887. Thanks to Andrew Cox for reporting this one.
160e58b6 2012-07-16 15:34:18 Win32: avoid crash when waiting forever on zero fds.
be7a95c6 2012-06-15 01:01:05 Make event_pending() threadsafe. (Commit message by Nick)
117e3273 2012-06-14 13:25:10 Add GCC annotations so that the vsprintf functions get checked properly
60f65403 2012-06-06 14:10:11 Merge pull request #57 from rosslagerwall/memleak Fix a couple of memory leaks (found with Valgrind).
3b2529ac 2012-06-06 21:57:12 Fix a couple of memory leaks (found with Valgrind).
fcec3e80 2012-06-01 05:23:29 Correctly check for arc4random_buf Apparently it's necssary to do an explicit comparison with NULL here. This also gets rid of a compile warning
bff5f940 2012-05-29 12:39:12 check for arc4random_buf at runtime, on OS X (Tweaked by nickm: Fix up the arcr4andom_buf OSX hack so that the fallback case isn't compiled into the code when we have arc4random_buf() and we are not on OSX. Also add a comment explaining what's up.)
faa92253 2012-05-03 16:34:29 Bump version to 2.0.19-stable-dev
8a9b0cdf 2012-05-03 12:33:36 Increment version to 2.0.19-stable
e06206eb 2012-05-03 12:15:11 Oops; fix the *right* windows compile issue
be7a0be8 2012-05-03 12:05:52 Fix win32 build issues: sleep, pid_t
cecb111b 2012-05-02 17:09:11 Start changelog for 2.0.19-stable
265e6779 2012-05-02 16:52:27 Fix evdns build with threads disabled The last evdns change apparently broke it, by using a "base" variable that we were only declaring with threads turned on.
3d9e52ac 2012-05-01 19:52:55 When retransmitting a timed-out DNS request, pick a fresh nameserver. Otherwise, requests initially sent to a failing nameserver would stay there indefinitely, even if other nameservers would work. Fix for sourceforge bug 3518439
d873d678 2012-05-01 19:52:49 Make some evdns.c debug logs more verbose
6610fa5a 2012-05-01 17:07:50 dns-example.c can now take a resolv.conf file on the commandline
30f06715 2012-04-30 21:45:43 Merge remote-tracking branch 'github/20_active_prio_inv' into patches-2.0
b3887cdf 2012-04-11 21:33:27 Work-around a stupid gcov-breaking bug in OSX 10.6 This only affects the unit tests. Fix found at http://rachelbythebay.com/w/2011/07/12/forkcrash/ (Backport from 2.1)
4e62cd16 2012-03-30 15:08:40 Fixed potential double-readcb execution with openssl bufferevents. the function do_read() will call SSL_read(), and if successful, will call _bufferevent_run_readcb() before returning to consider_reading(). consider_reading() will then check SSL_pending() to make sure all pending data has also been read. If it does not, do_read() is called again. The issue with this is the possibility that the function that is executed by _bufferevent_run_readcb() called bufferevent_disable(ssl_bev, EV_READ) before the second do_read(); In this case, the users read callback is executed a second time. This is potentially bad for applications that expect the bufferevent to stay disabled until further notice. (this is why running openssl bufferevents without DEFER_CALLBACKS has always been troublesome).
2bfda401 2012-04-30 17:30:48 If a higher-priority event becomes active, don't continue running events of the current priority. Bug found by Ralph Castain.
30b6f889 2012-04-27 09:32:51 Generate event-config.h with a single sed script This approach should make the creation of the file more atomic, to fix a bug reported by Dinh. This patch has one change from Zack's original version: it avoids $<, since Dave Hart tells me he thinks that's not so portable. (commit message by nickm)
03614a16 2012-04-20 11:51:13 Merge branch '20_periodic_event_overload_v2' into patches-2.0
dfd808cb 2012-04-19 00:25:12 If time has jumped so we'd reschedule a periodic event in the past, schedule it for the future instead Fixes an issue reported on libevent-users in the thread "a dead looping bug when changing system time backward". Previously, if time jumped forward 1 hour[*] and we had a one-second periodic timer event, that event would get invoked 3600 times. That's almost certainly not what anybody wants. In a future version of Libevent, we should expose the amount of time that the callbac kwould have been invoked somehow. [*] Forward time jumps can happen with nonmonotonic clocks, or with clocks that jump on suspend/resume. It can also happen from Libevent's point of view if the user exits from event_base_loop() and doesn't call it again for a while.
bec22b41 2012-04-19 18:15:12 Refactor event_persist_closure: raise and extract some common logic
37c4fc8d 2012-04-19 08:11:05 Merge pull request #52 from ghazel/20_evdns_probe cancel the probe request when the server is freed, and ignore cancelled probe callbacks
46b80608 2012-04-18 21:41:48 remove redundant DNS_ERR_CANCEL check, move comment
94d23360 2012-04-18 21:29:21 cancel the probe request when the server is freed, and ignore cancelled probe callbacks