|
066a4f6f
|
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.
backporting to 2.0: fix conflicts with the name of the main function --
_http_connection_test().
|
|
502c043a
|
2013-01-23T02:45:32
|
|
Fix ipv6 support for http. When URL contain domain, not IP address.
Before this patch socket created before domain was resolved, and it
always create with AF_INET (ipv4), but we must create socket only after
domain was resolved to understad which protocol family have domain
address.
Thank to Patrick Pelletier, who found this bug.
|
|
571dbac8
|
2015-04-27T22:59:42
|
|
Fix potential fd leak in listener_read_cb()
As pointed out by harlan_ in #libevent after running a coverity sweep.
If the listener is free'd, 'new_fd' is never closed.
|
|
c51b159c
|
2015-01-05T10:17:40
|
|
Update changelog
|
|
1cd9c905
|
2015-01-05T09:31:12
|
|
Update changelog.
|
|
489b0713
|
2015-01-05T09:30:02
|
|
Merge branch '20_cve_2014_6272_v2' into patches-2.0
|
|
079e6ddc
|
2015-01-05T09:18:59
|
|
Increment version to 2.0.22-stable
|
|
9b855a09
|
2015-01-05T08:46:22
|
|
Update changelog for 2.0
|
|
20d6d445
|
2015-01-05T08:42:32
|
|
Fix CVE-2014-6272 in Libevent 2.0
For this fix, we need to make sure that passing too-large inputs to
the evbuffer functions can't make us do bad things with the heap.
Also, lower the maximum chunk size to the lower of off_t, size_t maximum.
This is necessary since otherwise we could get into an infinite loop
if we make a chunk that 'misalign' cannot index into.
|
|
fb7e76ae
|
2014-11-30T11:05:40
|
|
Fix evbuffer_peek() with len==-1 and start_at non-NULL.
|
|
1da2f42b
|
2014-11-30T21:02:25
|
|
Merge branch 'patches-2.0' of github.com:libevent/libevent into patches-2.0
|
|
5ae52872
|
2014-11-30T19:38:23
|
|
Work on the changelog for 2.0.22
|
|
3c7d6fca
|
2014-09-22T12:19:37
|
|
Fix race caused by event_active
There is a race between manual event_active and natural event activation. If both happen at the same time on the same FD, they would both be protected by the same event base lock except for 1 LoC where the fields of struct event are read without any kind of lock. This commit does those reads into local variables inside the lock and then invokes the callback with those local arguments outside the lock. In 2.0-stable, none of this is inside the lock; in HEAD, only the callback is read inside the lock. This gets the callback and all 3 arguments inside the lock before calling it outside the lock.
|
|
be1aeff2
|
2014-10-09T10:14:12
|
|
Fix a typo in a doxygen comment. Reported by 亦得.
|
|
b34e4ac3
|
2014-09-12T14:19:14
|
|
[Bugfix] fix bufferevent setwatermark suspend_read
|
|
79800df7
|
2014-03-25T13:35:13
|
|
regress_buffer: fix 'memcmp' compare size
|
|
60f8f729
|
2014-08-29T14:59:17
|
|
Consistently check for failure from evbuffer_pullup()
Closes issue #148.
|
|
6466e88a
|
2014-08-29T14:31:07
|
|
Use FindClose for handle from FindFirstFile in http-server.c
Noted by Miles Chan as issue #145
|
|
1a8295a3
|
2014-08-13T23:17:52
|
|
Add a few files created by "make verify" to .gitignore.
|
|
e8fe749d
|
2014-03-21T14:08:17
|
|
Fix a crash in evdns related to shutting down evdns
(Improved version to deal correctly with probe requests)
Patch from YASUOKA Masahiko; fix for libevent github issue #113.
|
|
9f39c887
|
2014-03-21T14:08:17
|
|
Fix a crash in evdns related to shutting down evdns
Patch from YASUOKA Masahiko; fix for libevent github issue #113.
|
|
b56611d7
|
2014-02-19T06:49:31
|
|
Add -Qunused-arguments for clang on macos
The clang compiler provided with macosx emits warnings like:
CC bufferevent.lo
clang: warning: argument unused during compilation: '-I .'
clang: warning: argument unused during compilation: '-I ./compat'
clang: warning: argument unused during compilation: '-I ./include'
clang: warning: argument unused during compilation: '-I ./include'
for each file being compiled. This generates a lot of noise during
compilation making it hard to see "real" errors. This patch mute
those warnings.
|
|
f2428a28
|
2014-02-09T13:29:26
|
|
bufferevent_pair: don't call downcast(NULL)
|
|
dfe1e526
|
2014-01-22T11:17:35
|
|
Check does arch have the epoll_create and __NR_epoll_wait syscalls.
Some architectures (like AArch64) do not have deprecated syscalls.
Signed-off-by: Marcin Juszkiewicz <mjuszkiewicz@redhat.com>
|
|
eaa79cd4
|
2013-12-20T13:37:04
|
|
Merge remote-tracking branch 'sourceforge/patches-2.0' into patches-2.0
Conflicts:
include/event2/event.h
|
|
8cd695bf
|
2013-12-20T13:31:29
|
|
Typo fixes from Linus Nordberg
|
|
cec62cb8
|
2013-12-20T13:31:29
|
|
Typo fixes from Linus Nordberg
|
|
031a8030
|
2013-12-16T12:02:21
|
|
Clarify event_base_loop exit conditions
|
|
f9284c3e
|
2013-12-05T17:14:05
|
|
update the 2.0 changelog
|
|
3b77d628
|
2013-11-01T14:20:25
|
|
Avoid redundant invocations of init_extension_functions for IOCP
|
|
e64a2b0b
|
2013-09-19T10:48:09
|
|
Fix another arc4random_buf-related warning
|
|
5cb3865a
|
2013-09-19T10:43:54
|
|
Fix a compiler warning when checking for arc4random_buf linker breakage.
Patch by Ralph Castain.
|
|
5eb17885
|
2013-09-03T14: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-19T10:02:55
|
|
Merge remote-tracking branch 'public/20_memclear' into patches-2.0
|
|
f5ced88c
|
2013-08-19T09:52:29
|
|
Really remove RNG seeds from the stack
|
|
bb524712
|
2013-08-13T11:12:25
|
|
Oops; revert testing code
|
|
9695e9c1
|
2013-08-13T10:59:27
|
|
Avoid other RNG initialization FS reads when urandom file is specified
|
|
d44f91ad
|
2013-08-13T10:59:20
|
|
Finish a sentence
|
|
2bbb5d76
|
2013-08-06T17: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-20T14:02:49
|
|
libevent/win32_dealloc() : fix sizeof(pointer) vs sizeof(*pointer)
|
|
387e6b90
|
2013-06-10T15:16:13
|
|
Merge remote-tracking branch 'public/pr/79' into patches-2.0
|
|
6e496961
|
2013-06-10T10:38:12
|
|
Document that arc4random is not a great cryptographic PRNG.
|
|
e35b5408
|
2013-06-10T10:33:56
|
|
When we seed from /proc/sys/kernel/random/uuid, count it as success
Found by Joseph Spadavecchia
|
|
363388a0
|
2013-05-29T14:19:14
|
|
restore the comment
|
|
f8d7df85
|
2013-05-11T03: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-29T13: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-06T18:15:03
|
|
Checking request nameserver for NULL, before using it.
|
|
959c1428
|
2013-04-30T11:42:53
|
|
Start a changelog for Libevent 2.0.22-stable
|
|
66dacfa2
|
2013-04-25T13:43:49
|
|
Merge remote-tracking branch 'origin/pr/36' into patches-2.0
|
|
773b0a5d
|
2013-03-25T21:12:49
|
|
Fix a typo in a comment in buffer.h. Spotted by Alt_F4
|
|
b6182042
|
2013-02-14T09:54:56
|
|
fix #73 and fix http_connection_fail_test to catch it
|
|
a55514ee
|
2013-02-08T22:08:18
|
|
Avoid using top_srcdir in TESTS-new automakes do not like this
|
|
0c79787a
|
2013-02-08T22:07:43
|
|
Rename configure.in to configure.ac to appease newer autoconfs
|
|
817ea369
|
2013-02-08T13:03:29
|
|
Use AC_CONFIG_HEADERS in place of AM_CONFIG_HEADERS for autmake 1.13 compat
Patch from cazfi.
|
|
0a5eb2eb
|
2013-02-05T15:07:32
|
|
Fix a locking error in bufferevent_socket_get_dns_error.
Patch from Ka-Hing Cheung.
|
|
c322c207
|
2013-01-22T16:59:07
|
|
Fix a mistake in evbuffer_remove() arguments in example http server code
(commit message by nickm)
|
|
74d4c44c
|
2011-01-03T15:09:21
|
|
Backport libevent to vanilla Autoconf 2.59 (as used in RHEL5)
This is a backport of ad03952.
|
|
9ab2b3f7
|
2013-01-15T12: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-20T11:48:05
|
|
Avoid double-close on getsockname error in evutil_ersatz_socketpair
Found by coverity; CID 739726
|
|
69db2610
|
2012-12-20T11: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-04T12:01:25
|
|
Fix compilation with WIN32_HAVE_CONDITION_VARIABLES enabled
Reported by Xiuqiang Jiang
|
|
f7d92c63
|
2012-11-19T10:56:16
|
|
Increment version to 2.0.21-stable-dev
|
|
64177777
|
2012-11-18T01:39:10
|
|
Increment libtool version for 2.0.21 too
|
|
0ee10fdf
|
2012-11-18T01:38:07
|
|
Increment version to 2.0.21-stable
|
|
1c5517c9
|
2012-11-18T01:36:33
|
|
Changelog for 2.0.21-stable
|
|
f38e0788
|
2012-11-18T01:36:03
|
|
Make ssl version check in unit tests work
|
|
e3cccf38
|
2012-11-16T11: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-07T19:48:22
|
|
remove stray 'x' so print_err will compile when uncommented
|
|
f3009e48
|
2012-11-16T10:28:19
|
|
Make rpcgen_wrapper.sh work on systems without a "python2" binary
|
|
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.
|
|
62bd2c44
|
2012-11-02T11:44:29
|
|
Fix compilation on mingw64 with -DUSE_DEBUG
|
|
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.
|
|
2479d964
|
2012-10-26T19:36:44
|
|
Merge remote-tracking branch 'rosslagerwall/python2-2.0' into patches-2.0
|
|
cb853ea3
|
2012-10-26T19:33:31
|
|
Close IOCP listener socket on free when LEV_OPT_CLOSE_ON_FREE is set
|
|
1ff2c249
|
2012-10-24T22:48:59
|
|
Merge remote-tracking branch 'public/20_bev_timeout_semantics' into patches-2.0
|
|
0eb01099
|
2012-10-23T13: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-06T10:01:10
|
|
No need to reserve space if reading is suspended.
Conflicts:
bufferevent_openssl.c
|
|
f719b8a9
|
2012-09-03T21:42:15
|
|
Stop looping in "consider_reading" if reading is suspended.
|
|
f2bff75e
|
2012-09-12T20:12:03
|
|
FIx another memleak on OOM in evdns
|
|
73e85dd0
|
2012-09-12T20:11:12
|
|
Avoid a memory-leak on OOM in evdns.
|
|
576b29f2
|
2012-09-07T15:53:02
|
|
Don't discard SSL read event when timeout and read come close together
|
|
484e93c1
|
2012-08-24T11:40:46
|
|
Increment version to 2.0.20-stable-dev
|
|
41d77a7c
|
2012-08-23T14:39:30
|
|
Add a date to the changelog
|
|
46604b34
|
2012-08-23T14:38:54
|
|
Increment version to 2.0.20-stable
|
|
fc43cbdc
|
2012-08-23T10:36:39
|
|
Initial changelog and credits for 2.0.20
|
|
606ac43b
|
2012-08-22T12: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-02T11:56:17
|
|
Add explicit AC_PROG_SED to configure.in so all autoconfs will expose $(SED)
|
|
c0720c1b
|
2012-08-02T11:38:32
|
|
Fix an unused variable warning on *BSD.
|
|
dc320776
|
2012-07-30T16: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-26T10:39:05
|
|
Check more setsockopt return values when binding sockets. Found by coverity
|
|
a1a0e675
|
2012-07-26T10:38:29
|
|
memset sockaddr_in before using it. Found by coverity.
|
|
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
|
|
6a4ec5c2
|
2012-07-26T10:34:06
|
|
Avoid possible needless call to writev. Found by coverity.
|
|
6355b2a4
|
2012-07-26T10:16:47
|
|
Remove unused variable; spotted by coverity
|
|
3cde5bf5
|
2012-07-26T10:04:43
|
|
Avoid more crashes/bad calls in unit tests; found by coverity
|
|
f021c3d7
|
2012-07-26T09:59:47
|
|
Add some missing null checks to unit tests; found by coverity
|
|
270f279f
|
2012-07-26T09:53:20
|
|
Fix resource leaks in the unit tests; found by coverity
|
|
4f3732d7
|
2012-07-26T09:35:43
|
|
Fix various check-after-dereference issues in unit tests: found by coverity
|