|
9dee36bc
|
2012-11-16T18:34:43
|
|
Make bufferevent_set_timeouts(bev, NULL, NULL) have plausible semantics
|
|
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
|
|
1fda4928
|
2012-11-16T12:06:40
|
|
Merge remote-tracking branch 'origin/patches-2.0'
|
|
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
|
|
7afbd602
|
2012-11-16T11:51:42
|
|
Use EVUTIL_SOCKET_ERROR() wrapper to save/restor errno in evhttp_connection_fail_
|
|
29fea33a
|
2012-11-16T11:49:46
|
|
Merge remote-tracking branch 'ppelleti/preserve-errno'
|
|
4f4d0c93
|
2012-10-10T13:16:02
|
|
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)
|
|
61b93af5
|
2012-11-16T11:41:59
|
|
Move evutil_rtrim_lws_ to evutil.c where it belongs
|
|
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.
|
|
370a2c02
|
2012-05-20T21:08:52
|
|
ignore LWS after field-content in headers
|
|
c181399e
|
2012-11-16T10:53:52
|
|
Merge remote-tracking branch 'azat/fix-typo-evets'
|
|
30512f43
|
2012-11-16T10:51:26
|
|
Merge remote-tracking branch 'ppelleti/tiny-doc-typos'
|
|
d70af27d
|
2012-11-16T10:48:13
|
|
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
|
|
09a8d23a
|
2012-11-16T10:44:57
|
|
Merge remote-tracking branch 'origin/patches-2.0'
|
|
ac356502
|
2012-11-07T19:48:22
|
|
remove stray 'x' so print_err will compile when uncommented
|
|
3f27db9d
|
2012-11-16T07:42:17
|
|
Merge pull request #27 from pallas/master
Fix event_dlist definition when sys/queue not included
|
|
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
|
|
0a396a02
|
2012-11-16T10:13:15
|
|
Merge branch '21_event_cleanup_v3'
|
|
c17dd591
|
2011-07-15T11:10:54
|
|
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().
|
|
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
|
|
36d0ee5c
|
2012-11-13T21:22:39
|
|
preserve errno in evhttp_connection_fail_ for inspection by the callback
|
|
81b6209e
|
2012-11-10T11:22:15
|
|
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.
|
|
e9f8feba
|
2012-11-06T17:37:28
|
|
Add a new callback to get called on evbuffer_file_segment free
|
|
64051b90
|
2012-11-06T17:42:46
|
|
Clean up unit test for evbuffer_file_segment_add_cleanup_cb a little
|
|
f9182d72
|
2012-11-02T11:46:14
|
|
Merge remote-tracking branch 'github/20_win64_compilation' into 21_win64_compilation
Conflicts:
http.c
signal.c
|
|
62bd2c44
|
2012-11-02T11:44:29
|
|
Fix compilation on mingw64 with -DUSE_DEBUG
|
|
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
|
|
6810908a
|
2012-11-01T18:05:27
|
|
Fix some warnings found cross-compiling with mingw32
|
|
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.
|
|
b738ee18
|
2012-11-01T10:19:01
|
|
Merge remote-tracking branch 'rosslagerwall/python2'
|
|
32ed1102
|
2012-10-26T19:37:00
|
|
Merge remote-tracking branch 'origin/patches-2.0'
|
|
2479d964
|
2012-10-26T19:36:44
|
|
Merge remote-tracking branch 'rosslagerwall/python2-2.0' into patches-2.0
|
|
d5318b66
|
2012-10-26T19:34:47
|
|
Merge remote-tracking branch 'origin/patches-2.0'
|
|
cb853ea3
|
2012-10-26T19:33:31
|
|
Close IOCP listener socket on free when LEV_OPT_CLOSE_ON_FREE is set
|
|
cda69d0d
|
2012-10-24T22:55:17
|
|
Merge remote-tracking branch 'origin/patches-2.0'
Conflicts:
bufferevent_openssl.c
|
|
1ff2c249
|
2012-10-24T22:48:59
|
|
Merge remote-tracking branch 'public/20_bev_timeout_semantics' into patches-2.0
|
|
09098f70
|
2012-10-23T22:09:45
|
|
fix a few trivial documentation typos
|
|
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.
|
|
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.
|
|
f2050e79
|
2012-09-22T19:21:21
|
|
Merge remote-tracking branch 'origin/patches-2.0'
Conflicts:
bufferevent_openssl.c
|
|
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.
|
|
05f1aca5
|
2012-09-18T15:17:29
|
|
Fix typo : events instead of evets
|
|
8827dbc3
|
2012-09-12T20:19:22
|
|
Merge remote-tracking branch 'origin/patches-2.0'
|
|
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.
|
|
ffe1643b
|
2012-09-10T13:43:26
|
|
Add missing return value in event_base_foreach_event
Fix for github issue nmathewson/Libevent #65
Found by Joachim Bauch
|
|
576b29f2
|
2012-09-07T15:53:02
|
|
Don't discard SSL read event when timeout and read come close together
|
|
232055ef
|
2012-09-07T09:58:24
|
|
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.
|
|
84fd6d75
|
2012-09-07T09:47:50
|
|
Expose event_base_foreach_event() as a public API.
|
|
e8faa2c7
|
2012-09-04T07:58:38
|
|
Merge pull request #61 from rosslagerwall/rename-configure
Rename configure.in to configure.ac.
|
|
b7577868
|
2012-09-03T17:49:15
|
|
Prevent reference leak of bufferevent if getaddrinfo fails.
|
|
b3fea673
|
2012-09-03T08:37:25
|
|
Rename configure.in to configure.ac.
".ac" is the preferred extension.
|
|
b7f6e89a
|
2012-08-28T16:22:00
|
|
We now require automake 1.9 or later. Modernize!
|
|
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]
|
|
aa59c1e9
|
2012-08-28T16:14:17
|
|
New --quiet option for event_rpcgen.py
|
|
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.
|
|
7b18e5c6
|
2012-08-28T15:10:55
|
|
Enable silent build rules by default. Override with V=1
|
|
7d60ba84
|
2012-08-28T15:09:49
|
|
Use newer syntax for autoconf/automake init
|
|
2aad8cbb
|
2012-08-24T11:41:18
|
|
Merge remote-tracking branch 'origin/patches-2.0'
|
|
484e93c1
|
2012-08-24T11:40:46
|
|
Increment version to 2.0.20-stable-dev
|
|
1879e061
|
2012-08-23T14:42:54
|
|
Update ChangeLog-2.0
|
|
5cf0db7d
|
2012-08-23T14:41:51
|
|
Merge remote-tracking branch 'origin/patches-2.0'
|
|
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
|
|
3b3e21de
|
2012-08-23T11:42:04
|
|
Add missing implementation for event_enable_debug_logging
|
|
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.
|
|
e3d010c8
|
2012-08-23T10:13:26
|
|
Merge remote-tracking branch 'origin/patches-2.0'
|
|
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.
|
|
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
|
|
9be54680
|
2012-08-02T12:35:49
|
|
Avoid unused-var warning on systems with clock_gettime but without CLOCK_MONOTONIC_COARSE
|
|
a64c5647
|
2012-08-02T12:09:08
|
|
Merge remote-tracking branch 'origin/patches-2.0'
Conflicts:
evutil_rand.c
|
|
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.
|
|
403b0d6e
|
2012-07-31T12:03:48
|
|
Merge remote-tracking branch 'ppelleti/windows-ssl'
|
|
9be8624b
|
2012-07-30T17:08:44
|
|
Merge remote-tracking branch 'origin/patches-2.0'
|
|
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.
|
|
737f113a
|
2012-07-26T10:49:06
|
|
Extract common error-handling code in evconnlistener_new_bind
|
|
6a81b1f5
|
2012-07-26T10:45:10
|
|
Avoid double-free on error in evbuffer_add_file. Found by coverity.
|
|
6487f63b
|
2012-07-26T10:44:48
|
|
Check return value when using LEV_OPT_DEFERRED_ACCEPT. Found by coverity
|
|
9852107f
|
2012-07-26T10:43:13
|
|
Merge remote-tracking branch 'origin/patches-2.0'
Conflicts:
buffer.c
http.c
|
|
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.
|