]>
granicus.if.org Git - libevent/log
Nicholas Heath [Sun, 3 Feb 2013 19:08:37 +0000 (19:08 +0000)]
Preliminary changes for Minix3.
Nick Mathewson [Wed, 23 Jan 2013 16:55:09 +0000 (16:55 +0000)]
Implement EVUTIL_ERR_IS_EAGAIN on windows.
Nick Mathewson [Tue, 22 Jan 2013 17:10:07 +0000 (17:10 +0000)]
Merge remote-tracking branch 'origin/patches-2.0'
Gyepi Sam [Tue, 22 Jan 2013 16:59:07 +0000 (16:59 +0000)]
Fix a mistake in evbuffer_remove() arguments in example http server code
(commit message by nickm)
Volker Lendecke [Thu, 17 Jan 2013 14:01:32 +0000 (15:01 +0100)]
Fix typo : Dispatching instead of Dispaching
Nick Mathewson [Sat, 12 Jan 2013 00:37:34 +0000 (16:37 -0800)]
When EWOULDBLOCK is not EAGAIN, treat it as equivalent to it
Acording to http://stackoverflow.com/questions/
7003234 /which-systems-define-eagain-and-ewouldblock-as-different-values
there are some older unixes that distinguish these error.s
Sebastian Hahn [Mon, 31 Dec 2012 17:29:56 +0000 (18:29 +0100)]
Fix harmless clang enum warning
Sebastian Hahn [Fri, 21 Sep 2012 06:38:56 +0000 (08:38 +0200)]
Fix comment to refer to sample/include.am correctly
Nick Mathewson [Thu, 20 Dec 2012 16:50:23 +0000 (11:50 -0500)]
Merge remote-tracking branch 'origin/patches-2.0'
Nick Mathewson [Thu, 20 Dec 2012 16:48:05 +0000 (11:48 -0500)]
Avoid double-close on getsockname error in evutil_ersatz_socketpair
Found by coverity; CID 739726
Nick Mathewson [Thu, 20 Dec 2012 16:47:09 +0000 (11:47 -0500)]
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.
Nick Mathewson [Tue, 11 Dec 2012 17:53:09 +0000 (12:53 -0500)]
Fix cut-and-paste err in whatsnew-2.1
Patrick Pelletier [Wed, 28 Nov 2012 08:20:13 +0000 (00:20 -0800)]
minor documentation typos
Nick Mathewson [Tue, 4 Dec 2012 17:32:26 +0000 (12:32 -0500)]
Merge remote-tracking branch 'origin/patches-2.0'
Nick Mathewson [Tue, 4 Dec 2012 17:01:25 +0000 (12:01 -0500)]
Fix compilation with WIN32_HAVE_CONDITION_VARIABLES enabled
Reported by Xiuqiang Jiang
Nick Mathewson [Mon, 19 Nov 2012 15:58:04 +0000 (10:58 -0500)]
Merge remote-tracking branch 'origin/patches-2.0'
Nick Mathewson [Mon, 19 Nov 2012 15:56:16 +0000 (10:56 -0500)]
Increment version to 2.0.21-stable-dev
Nick Mathewson [Mon, 19 Nov 2012 15:53:25 +0000 (10:53 -0500)]
Increment version to 2.1.2-alpha-dev
Nick Mathewson [Mon, 19 Nov 2012 14:07:13 +0000 (09:07 -0500)]
Fix a bug when running "make verify" out-of-tree
Nick Mathewson [Mon, 19 Nov 2012 00:32:41 +0000 (19:32 -0500)]
Clean up and clarify a little more documentation
Nick Mathewson [Mon, 19 Nov 2012 00:32:11 +0000 (19:32 -0500)]
Make the argument to bufferevent_get_priority const
Nick Mathewson [Sun, 18 Nov 2012 23:59:19 +0000 (18:59 -0500)]
Avoid defining recommended functions in terms of deprecated ones
Nick Mathewson [Sun, 18 Nov 2012 16:25:13 +0000 (11:25 -0500)]
Update "what's new in Libevent 2.1"
Nick Mathewson [Sun, 18 Nov 2012 15:53:52 +0000 (10:53 -0500)]
Bump versions to 2.1.2-alpha
Nick Mathewson [Sun, 18 Nov 2012 15:53:26 +0000 (10:53 -0500)]
Update changelog for 2.1.2-alpha
Nick Mathewson [Sun, 18 Nov 2012 07:01:26 +0000 (02:01 -0500)]
Update ChangeLog-2.0
Nick Mathewson [Sun, 18 Nov 2012 06:44:09 +0000 (01:44 -0500)]
Merge remote-tracking branch 'origin/patches-2.0'
Nick Mathewson [Sun, 18 Nov 2012 06:40:33 +0000 (01:40 -0500)]
Fix a gcc warning in rtrim test
Nick Mathewson [Sun, 18 Nov 2012 06:40:13 +0000 (01:40 -0500)]
Fix a warning when building without threading.
Nick Mathewson [Sun, 18 Nov 2012 06:39:10 +0000 (01:39 -0500)]
Increment libtool version for 2.0.21 too
Nick Mathewson [Sun, 18 Nov 2012 06:38:07 +0000 (01:38 -0500)]
Increment version to 2.0.21-stable
Nick Mathewson [Sun, 18 Nov 2012 06:36:33 +0000 (01:36 -0500)]
Changelog for 2.0.21-stable
Nick Mathewson [Sun, 18 Nov 2012 06:36:03 +0000 (01:36 -0500)]
Make ssl version check in unit tests work
Nick Mathewson [Fri, 16 Nov 2012 23:34:43 +0000 (18:34 -0500)]
Make bufferevent_set_timeouts(bev, NULL, NULL) have plausible semantics
Nick Mathewson [Fri, 16 Nov 2012 21:15:03 +0000 (16:15 -0500)]
Add an event_remove_timer() to remove timer on an event without deleting it
Nick Mathewson [Fri, 16 Nov 2012 21:17:07 +0000 (16:17 -0500)]
Fix a couple of compile warnings in the unit tests
Nick Mathewson [Fri, 16 Nov 2012 17:06:40 +0000 (12:06 -0500)]
Merge remote-tracking branch 'origin/patches-2.0'
Nick Mathewson [Fri, 16 Nov 2012 16:55:27 +0000 (11:55 -0500)]
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
Nick Mathewson [Fri, 16 Nov 2012 16:51:42 +0000 (11:51 -0500)]
Use EVUTIL_SOCKET_ERROR() wrapper to save/restor errno in evhttp_connection_fail_
Nick Mathewson [Fri, 16 Nov 2012 16:49:46 +0000 (11:49 -0500)]
Merge remote-tracking branch 'ppelleti/preserve-errno'
Jay R. Wren [Wed, 10 Oct 2012 17:16:02 +0000 (13:16 -0400)]
add evhttp_request_get_response_code_line
This is needed to be able to read the response code line especially
when acting as an http client using evhttp_make_request.
(patched by nickm to make the return value const)
Nick Mathewson [Fri, 16 Nov 2012 16:41:59 +0000 (11:41 -0500)]
Move evutil_rtrim_lws_ to evutil.c where it belongs
Nick Mathewson [Fri, 16 Nov 2012 16:38:53 +0000 (11:38 -0500)]
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.
Nick Mathewson [Fri, 16 Nov 2012 16:29:34 +0000 (11:29 -0500)]
Remove trailing tabs in HTTP headers as well.
Nick Mathewson [Fri, 16 Nov 2012 16:13:29 +0000 (11:13 -0500)]
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.
Artem Germanov [Mon, 21 May 2012 04:08:52 +0000 (21:08 -0700)]
ignore LWS after field-content in headers
Nick Mathewson [Fri, 16 Nov 2012 15:53:52 +0000 (10:53 -0500)]
Merge remote-tracking branch 'azat/fix-typo-evets'
Nick Mathewson [Fri, 16 Nov 2012 15:51:26 +0000 (10:51 -0500)]
Merge remote-tracking branch 'ppelleti/tiny-doc-typos'
Nick Mathewson [Fri, 16 Nov 2012 15:48:13 +0000 (10:48 -0500)]
Use correct openssl libs and includes in pkgconfig file
Previously we were saying -lssl -lcrypto unconditionally when
we should have been saying OPENSSL_LIBS.
Based on a patch from Patrick Pelletier
Nick Mathewson [Fri, 16 Nov 2012 15:44:57 +0000 (10:44 -0500)]
Merge remote-tracking branch 'origin/patches-2.0'
Patrick Pelletier [Thu, 8 Nov 2012 03:48:22 +0000 (19:48 -0800)]
remove stray 'x' so print_err will compile when uncommented
Nick Mathewson [Fri, 16 Nov 2012 15:42:17 +0000 (07:42 -0800)]
Merge pull request #27 from pallas/master
Fix event_dlist definition when sys/queue not included
Nick Mathewson [Fri, 16 Nov 2012 15:29:37 +0000 (10:29 -0500)]
Merge remote-tracking branch 'origin/patches-2.0'
Conflicts:
test/rpcgen_wrapper.sh
Nick Mathewson [Fri, 16 Nov 2012 15:28:19 +0000 (10:28 -0500)]
Make rpcgen_wrapper.sh work on systems without a "python2" binary
Nick Mathewson [Fri, 16 Nov 2012 15:17:34 +0000 (10:17 -0500)]
Add a unit test in which an event is created with event_base_once() but never fires
Nick Mathewson [Fri, 16 Nov 2012 15:13:15 +0000 (10:13 -0500)]
Merge branch '21_event_cleanup_v3'
Nick Mathewson [Fri, 15 Jul 2011 15:10:54 +0000 (11:10 -0400)]
Free dangling event_once objects on event_base_free()
This patch makes us keep event_once objects in a doubly linked list
so we can free any once that haven't triggered when we call
event_base_free().
Nick Mathewson [Thu, 15 Nov 2012 16:45:12 +0000 (11:45 -0500)]
Merge remote-tracking branch 'origin/patches-2.0'
Nick Mathewson [Thu, 15 Nov 2012 16:43:20 +0000 (11:43 -0500)]
Warn when openssl version in unit test mismatches compiled version.
Nick Mathewson [Thu, 15 Nov 2012 16:42:14 +0000 (11:42 -0500)]
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.
Nick Mathewson [Thu, 15 Nov 2012 16:40:33 +0000 (11:40 -0500)]
Use the same CFLAGS for openssl when building unit tests as with libevent
Patrick Pelletier [Wed, 14 Nov 2012 05:22:39 +0000 (21:22 -0800)]
preserve errno in evhttp_connection_fail_ for inspection by the callback
Derrick Pallas [Sat, 10 Nov 2012 19:22:15 +0000 (11:22 -0800)]
Fix event_dlist definition when sys/queue not included
This header adds TAILQ_HEAD and TAILQ_ENTRY if sys/queue is not included.
There is a similar macro that adds LIST_ENTRY but not LIST_HEAD, even though
LIST_HEAD is used later.
This change pulls in the correct definition (swiped from sys/queue) for
LIST_HEAD and cleans up the one spot where it is used. The change can be
tested by adding
#undef LIST_HEAD
#undef LIST_ENTRY
right before the #ifndef checks and removing
#define EVENT_DEFINED_LISTENTRY_
#define EVENT_DEFINED_LISTHEAD_
so that the macros persist later.
Nick Mathewson [Tue, 6 Nov 2012 22:42:46 +0000 (17:42 -0500)]
Clean up unit test for evbuffer_file_segment_add_cleanup_cb a little
yangacer [Tue, 6 Nov 2012 22:37:28 +0000 (17:37 -0500)]
Add a new callback to get called on evbuffer_file_segment free
Nick Mathewson [Fri, 2 Nov 2012 15:46:14 +0000 (11:46 -0400)]
Merge remote-tracking branch 'github/20_win64_compilation' into 21_win64_compilation
Conflicts:
http.c
signal.c
Nick Mathewson [Fri, 2 Nov 2012 15:44:29 +0000 (11:44 -0400)]
Fix compilation on mingw64 with -DUSE_DEBUG
Nick Mathewson [Fri, 2 Nov 2012 14:58:02 +0000 (10:58 -0400)]
Fix a few mingw64 incompatibilities introduced since 2.0
Nick Mathewson [Thu, 1 Nov 2012 22:12:07 +0000 (18:12 -0400)]
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
Nick Mathewson [Thu, 1 Nov 2012 22:05:27 +0000 (18:05 -0400)]
Fix some warnings found cross-compiling with mingw32
Nick Mathewson [Thu, 1 Nov 2012 21:38:34 +0000 (17:38 -0400)]
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.
Nick Mathewson [Thu, 1 Nov 2012 14:19:01 +0000 (10:19 -0400)]
Merge remote-tracking branch 'rosslagerwall/python2'
Nick Mathewson [Fri, 26 Oct 2012 23:37:00 +0000 (19:37 -0400)]
Merge remote-tracking branch 'origin/patches-2.0'
Nick Mathewson [Fri, 26 Oct 2012 23:36:44 +0000 (19:36 -0400)]
Merge remote-tracking branch 'rosslagerwall/python2-2.0' into patches-2.0
Nick Mathewson [Fri, 26 Oct 2012 23:34:47 +0000 (19:34 -0400)]
Merge remote-tracking branch 'origin/patches-2.0'
Juan Pablo Fernandez [Fri, 26 Oct 2012 23:33:31 +0000 (19:33 -0400)]
Close IOCP listener socket on free when LEV_OPT_CLOSE_ON_FREE is set
Nick Mathewson [Thu, 25 Oct 2012 02:55:17 +0000 (22:55 -0400)]
Merge remote-tracking branch 'origin/patches-2.0'
Conflicts:
bufferevent_openssl.c
Nick Mathewson [Thu, 25 Oct 2012 02:48:59 +0000 (22:48 -0400)]
Merge remote-tracking branch 'public/20_bev_timeout_semantics' into patches-2.0
Patrick Pelletier [Wed, 24 Oct 2012 05:09:45 +0000 (22:09 -0700)]
fix a few trivial documentation typos
Ross Lagerwall [Tue, 23 Oct 2012 12:30:58 +0000 (13:30 +0100)]
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.
Ross Lagerwall [Tue, 23 Oct 2012 12:26:44 +0000 (13:26 +0100)]
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.
Nick Mathewson [Sat, 22 Sep 2012 23:21:21 +0000 (19:21 -0400)]
Merge remote-tracking branch 'origin/patches-2.0'
Conflicts:
bufferevent_openssl.c
Joachim Bauch [Thu, 6 Sep 2012 08:01:10 +0000 (10:01 +0200)]
No need to reserve space if reading is suspended.
Conflicts:
bufferevent_openssl.c
Joachim Bauch [Mon, 3 Sep 2012 19:42:15 +0000 (21:42 +0200)]
Stop looping in "consider_reading" if reading is suspended.
Azat Khuzhin [Tue, 18 Sep 2012 11:17:29 +0000 (15:17 +0400)]
Fix typo : events instead of evets
Nick Mathewson [Thu, 13 Sep 2012 00:19:22 +0000 (20:19 -0400)]
Merge remote-tracking branch 'origin/patches-2.0'
George Danchev [Thu, 13 Sep 2012 00:12:03 +0000 (20:12 -0400)]
FIx another memleak on OOM in evdns
George Danchev [Thu, 13 Sep 2012 00:11:12 +0000 (20:11 -0400)]
Avoid a memory-leak on OOM in evdns.
Nick Mathewson [Mon, 10 Sep 2012 17:43:26 +0000 (13:43 -0400)]
Add missing return value in event_base_foreach_event
Fix for github issue nmathewson/Libevent #65
Found by Joachim Bauch
Nick Mathewson [Fri, 7 Sep 2012 19:53:02 +0000 (15:53 -0400)]
Don't discard SSL read event when timeout and read come close together
Nick Mathewson [Fri, 7 Sep 2012 13:58:24 +0000 (09:58 -0400)]
Tweak patch for event_base_foreach_event()
* Fix whitespace
* Explain return value from callback function
* Reinstate return value so that caller can tell whether forech
exited early.
* Rename event_base_foreach_event_() to
event_base_foreach_event_nolock_().
* Use event_base_foreach_event_cb_fn typedef in more places
* Be more dire about undefined behavior.
Roman Puls [Fri, 7 Sep 2012 13:47:50 +0000 (09:47 -0400)]
Expose event_base_foreach_event() as a public API.
Nick Mathewson [Tue, 4 Sep 2012 14:58:38 +0000 (07:58 -0700)]
Merge pull request #61 from rosslagerwall/rename-configure
Rename configure.in to configure.ac.
Joachim Bauch [Mon, 3 Sep 2012 15:49:15 +0000 (17:49 +0200)]
Prevent reference leak of bufferevent if getaddrinfo fails.
Ross Lagerwall [Mon, 3 Sep 2012 06:37:25 +0000 (08:37 +0200)]
Rename configure.in to configure.ac.
".ac" is the preferred extension.
Nick Mathewson [Tue, 28 Aug 2012 20:22:00 +0000 (16:22 -0400)]
We now require automake 1.9 or later. Modernize!
Nick Mathewson [Tue, 28 Aug 2012 20:15:14 +0000 (16:15 -0400)]
Fix handling of no-python case for nonrecursive make
Nick Mathewson [Tue, 28 Aug 2012 20:14:38 +0000 (16:14 -0400)]
Be quiet when making regress.gen.[ch]
Nick Mathewson [Tue, 28 Aug 2012 20:14:17 +0000 (16:14 -0400)]
New --quiet option for event_rpcgen.py
Nick Mathewson [Tue, 28 Aug 2012 20:07:56 +0000 (16:07 -0400)]
Make quiet build even quieter