|
9af9aba6
|
2009-07-21T17:57:25
|
|
Add -fno-strict-aliasing to let 1.4 build happily on GCC 4.4
svn:r1367
|
|
a763e741
|
2009-06-30T14:20:44
|
|
The truncated bit is in the 3rd byte of a dns reply, not the 4th.
svn:r1331
|
|
76339194
|
2009-06-24T22:39:12
|
|
Let evdns keep working when our IP changes. Fix by Christopher Davis; backported by nickm.
svn:r1328
|
|
b99254ac
|
2009-06-24T22:39:03
|
|
Activate fd events in a pseudorandom order on older backends.
New backends like poll and kqueue and so on add fds to the queue in
the order that they are triggered. But the select backend currently
activates low-numbered fds first, whereas the poll and win32 backends
currently favor whatever fds have been on for the longest. This is no
good for fairness.
svn:r1327
|
|
b0d88e68
|
2009-06-04T05:29:04
|
|
Fix epoll fencepost error. Patch most recently from Adam Langley, though I think I have seen others post this before.
svn:r1323
|
|
0ec290be
|
2009-05-25T18:15:44
|
|
When __GNUC__ is not defined, use __VA_ARGS__.
svn:r1312
|
|
9d0f6eb4
|
2009-05-22T18:32:09
|
|
Fix a potentially very annoying evdns bug that we found in Tor.
Generally speaking, it way better to event_assign() an event when you
allocate it than to assign it before every time you event_add it: if
it is already event_add()ed, the assign will mess it up so that it
doesn't _look_ added, and event_add() will insert a second copy.
Later, event_del() will only delete the second copy. Eventually, the
event_base will have a dangling pointer to freed memory. Ouch!
svn:r1308
|
|
499d0039
|
2009-05-22T15:09:43
|
|
Try to contain the failure when we are running without socketpair().
Some win32 systems (mostly those using Kaspersky, it would seem)
prevent us from faking socketpair(). This makes our signal
notification code just not work. Our response since 1.4 has been to
assert. For users who would rather work without signals than not work
at all, this has been a regression from 1.3e.
This patch makes adding signal events fail in this case; there's no
reason to kill the whole process.
svn:r1304
|
|
9b45a4e7
|
2009-05-15T01:36:31
|
|
We were distributing the wrong event-config.h with our source distributions. Fix that.
svn:r1288
|
|
5e0563ba
|
2009-05-12T18:27:45
|
|
Fix dangling pointer in epoll after epoll_recalc().
This is based on patch 2790759 from Kevin Springborn. His comments on
sourceforge:
Problem:
The failure case is as follows: Event is added using epoll_add (a
direct pointer is stored in the user_data section), epoll_recalc is
called and the fds array is moved (invalidating the user_data
pointer stored in epoll). epoll_dispatch is called for the added
event and accesses evepoll based on the invalid pointer (set before
the fds array was relocated).
Solution:
Dispatch has access to the epollop structure, so given the fd we can
find the corresponding evepoll struct. Use data.fd instead of
data.ptr and store the fd corresponding to the event. This way when
epoll_recalc moves the fds array (and updates the fds array pointer
in epollop), the evepoll calculation in dispatch still finds the
valid evepoll struct.
svn:r1282
|
|
23967f73
|
2009-04-24T16:08:30
|
|
Remove the limit on size of HTTP headers by removing static buffers
svn:r1240
|
|
749f4ce3
|
2009-04-23T00:02:19
|
|
[backport] Fix min_heap_erase when we remove an element from the middle of the heap.
Previously, we could lose the heap property when we removed an item
whose parent was greater than the last element in the heap. We would
replace the removed item with the last element, and consider shifting
it down, but we wouldn't consider shifting it up.
Patch from Marko Kreen.
svn:r1227
|
|
c1bd9385
|
2009-04-11T04:12:46
|
|
Fix parsing of queries where the encoded queries contained \r, \n or +
svn:r1155
|
|
59513ee2
|
2009-03-12T17:45:13
|
|
from trunk: include Doxyfile in tar ball; from Jeff Garzik
svn:r1126
|
|
f06b29b9
|
2009-03-12T17:03:21
|
|
off-by-one error in epoll_recalc; reported by Victor Goya
svn:r1124
|
|
4cf8138b
|
2009-02-02T19:20:49
|
|
Make evdns_resolve_reverse args const.
svn:r1094
|
|
092baefa
|
2009-01-22T06:26:32
|
|
from trunk: fix signal processing for non-kqueue backends; when a signal callback delivers a signal; from Alexander Drozdov
svn:r1036
|
|
636e74a7
|
2009-01-22T02:49:57
|
|
from trunk: rename sys/signal.h to signal.h; configure m4 macro dir; this assist with compilation on Haiku
svn:r1034
|
|
7682ff80
|
2009-01-19T23:54:27
|
|
from trunk: rename the backend from "event ports" to "evport" - this will allow environment based disabling to work
svn:r1029
|
|
3b33618f
|
2009-01-19T23:53:45
|
|
forgot ChangeLog entry
svn:r1028
|
|
64fc3c7c
|
2009-01-16T00:29:27
|
|
clean up buffered data on reset; reported by Brian O'Kelley
svn:r1016
|
|
cad8703a
|
2008-12-19T22:29:41
|
|
Fix a memory leak by not running explicit close detection for server connections.
svn:r967
|
|
f383ee29
|
2008-12-19T21:53:23
|
|
revert: Fix a memory leak with http connections owned by the server.
svn:r966
|
|
3e55a529
|
2008-12-19T21:41:03
|
|
Fix a memory leak with http connections owned by the server.
svn:r965
|
|
9dcf1106
|
2008-12-19T21:34:12
|
|
fix a memory leak when reading multi-line headers
svn:r964
|
|
1958f3a7
|
2008-11-27T19:59:06
|
|
from trunk: fix a typo in setting the global event base; reported by lance
svn:r954
|
|
e92d88c5
|
2008-11-27T19:29:22
|
|
from trunk: Clear the timer cache when leaving the event loop; reported by Robin Haberkorn
svn:r951
|
|
0a41d762
|
2008-11-16T23:26:38
|
|
from trunk: Allow setting of local port for evhttp connections to support millions of connections from a single system; from Richard Jones
svn:r949
|
|
3ad06489
|
2008-11-15T05:29:39
|
|
from trunk: only bind the socket on connect when a local address has been provided; reported by Ajejo Sanchez
svn:r947
|
|
b93c182f
|
2008-10-30T19:40:35
|
|
from trunk: clear the timer cache on entering event loop; reported by Victor Chang
svn:r945
|
|
111ddedd
|
2008-10-03T15:23:47
|
|
fix merge error: event_add would not return error for some backends; from Dean McNamee
svn:r943
|
|
69119a40
|
2008-09-07T23:26:47
|
|
from trunk: do not remove accept-encoding header in make request
svn:r939
|
|
d2386bce
|
2008-09-04T01:09:54
|
|
Fix a merge problem in which name_from_addr returned pointers to the stack; found by Jiang Hong.
svn:r934
|
|
bc465d0a
|
2008-08-30T23:24:25
|
|
from trunk: Match the query in DNS replies to the query in the request; from Vsevolod Stakhov
svn:r932
|
|
2821152f
|
2008-08-19T11:38:32
|
|
from trunk: Fix a bug where headers arriving in multiple packets were not parsed; fix from Jiang Hong; test by me.
svn:r929
|
|
abe3ac11
|
2008-07-25T05:23:30
|
|
from trunk: do not warn on accept when errno is egain|eintr
svn:r926
|
|
541290f6
|
2008-07-25T01:34:22
|
|
from trunk: make event_add not change any state if it fails; repoted by Ian Bell
svn:r924
|
|
534f6657
|
2008-07-25T01:19:53
|
|
from trunk: fix off by one errors in devpoll; from Ian Bell
svn:r922
|
|
7c7ab279
|
2008-07-25T00:53:17
|
|
from trunk: fix a problem with epoll() and reinit; repoted by Alexander Drozdov
svn:r919
|
|
730c7132
|
2008-07-24T23:58:03
|
|
add libevent.vcproj file to distribution to help with Windows build
svn:r916
|
|
21c56289
|
2008-07-19T23:41:33
|
|
from trunk: restore signal handlers correctly when we deallocate the signal base
svn:r914
|
|
e1139238
|
2008-07-17T14:26:40
|
|
from trunk: if we change the timeouts on bufferevents, we might have to readd pending events
svn:r912
|
|
1b40a378
|
2008-07-13T20:20:10
|
|
from trunk: fix cname replies
svn:r908
|
|
4a13b22f
|
2008-07-12T01:50:11
|
|
deal with evbuffer_read() returning -1 on EINTR|EAGAIN; from Adam Langley
svn:r906
|
|
dfa53321
|
2008-07-11T16:11:16
|
|
forgot to add Alexander Drozdov as bug reporter in ChangeLog
svn:r905
|
|
0e535d2f
|
2008-07-11T15:59:29
|
|
from trunk: support multiple events listening on the same signal; make signals regular events that go on the same event queue
svn:r902
|
|
459c78a2
|
2008-07-11T15:17:35
|
|
from trunk: fix a bug where deleting signals with kqueue would delete subsequent adds
svn:r900
|
|
537e1221
|
2008-07-02T04:41:11
|
|
from trunk: detect CLOCK_MONOTONIC at runtime for evdns
svn:r897
|
|
3add69df
|
2008-07-02T04:28:12
|
|
from trunk: reject negative content-length headers
svn:r895
|
|
e7d5dfda
|
2008-06-30T01:55:13
|
|
from trunk: support multi-line HTTP headers; based on a patch from Moshe Litvin
svn:r893
|
|
efb50876
|
2008-06-30T01:04:21
|
|
from trunk: correct handling of trailing headers in chunked replies; from Scott Lamb
svn:r892
|
|
130a8a13
|
2008-06-28T01:47:01
|
|
switch all uses of [v]snprintf to evutil
svn:r889
|
|
877fa44d
|
2008-06-28T00:50:52
|
|
evutil now includes stdarg.h directly
svn:r888
|
|
33bb64c1
|
2008-06-25T20:52:29
|
|
fix support of fixed-sized entries in event_rpcgen
svn:r885
|
|
570dd04a
|
2008-06-25T16:06:50
|
|
forgot to add changelog entry: fix windows build
svn:r881
|
|
fb0b274e
|
2008-06-20T06:55:26
|
|
from trunk: do not use SO_REUSEADDR when connecting
svn:r855
|
|
921693c4
|
2008-06-14T17:42:05
|
|
Rename INPUT and OUTPUT to EVRPC_INPUT and EVRPC_OUTPUT, but keep the INPUT/OUTPUT aliases on non-win32 platforms to maintain backwards compatibility.
svn:r851
|
|
d5c3cdca
|
2008-06-12T14:45:29
|
|
from trunk: allow min_heap_erase to be called on removed members; from liusifan
svn:r850
|
|
9ce23feb
|
2008-05-17T02:19:21
|
|
constify struct timeval *
svn:r837
|
|
38e97b14
|
2008-05-16T01:58:05
|
|
from trunk: Fix use of freed memory in event_reinit; pointed out by Peter Postma
svn:r835
|
|
17515971
|
2008-05-15T01:58:32
|
|
from trunk: fix connection keep-alive behavior for HTTP/1.0
svn:r824
|
|
c807358f
|
2008-05-09T03:59:57
|
|
r19666@catbus: nickm | 2008-05-08 23:49:18 -0400
Always include winsock2.h before windows.h. Apparently some SDKs need this.
svn:r802
|
|
32143cc2
|
2008-05-08T23:54:23
|
|
r15553@tombo: nickm | 2008-05-08 19:54:10 -0400
The IRIX compiler thinks #error means warn. Fix configure.in to tolerate this.
svn:r800
|
|
987597ff
|
2008-05-08T14:08:12
|
|
r19651@catbus: nickm | 2008-05-08 10:05:35 -0400
Replace gettimeofday() usage with a new evutil_gettimeofday(). This removes all previous need for win32-code/misc.[ch]
svn:r793
|
|
52a85138
|
2008-05-08T05:16:47
|
|
expose evhttp_accept_socket() api
svn:r787
|
|
6bd28951
|
2008-05-07T21:51:07
|
|
r19639@catbus: nickm | 2008-05-07 17:50:48 -0400
Fix win32 vc-2005 build.
svn:r785
|
|
f47e7dff
|
2008-05-07T20:11:56
|
|
r19632@catbus: nickm | 2008-05-07 16:07:31 -0400
Fix bug 1958901: stop overriding CPPFLAGS in test directory.
svn:r782
|
|
0d43f0df
|
2008-05-04T22:28:22
|
|
fix evhttp_bind_socket() so that multiple sockets can be bound by the same http server.
svn:r770
|
|
d58a0a7c
|
2008-05-04T00:52:57
|
|
revert to maintain stability: from trunk: separate signal events from io events
svn:r764
|
|
974a7543
|
2008-05-03T21:40:32
|
|
from trunk: separate signal events from io events
svn:r761
|
|
bfdf56c2
|
2008-05-03T18:27:24
|
|
from trunk: cache clock_gettime/gettimeofday values in base
svn:r759
|
|
2a69a5ea
|
2008-04-29T18:11:44
|
|
r15342@tombo: nickm | 2008-04-29 14:10:46 -0400
Backport to 1.4 branch: Use internal implementation for evutil_timercmp() everywhere, to avoid bugs when the platform timercmp() has never heard of <= or >=. Also, replace timercmp() usage in min_heap.c with call to evutil_timercmp().
svn:r745
|
|
8c4529c5
|
2008-04-27T20:45:57
|
|
from trunk: introduce bufferevent_setcb and bufferevent_setfd to allow better manipulation of bufferevents
svn:r738
|
|
f2b8f9b0
|
2008-04-26T01:05:07
|
|
fromtrunk: fix a bug in buffrevent read water marks and add a test for them
svn:r732
|
|
47abd3ea
|
2008-04-26T00:38:36
|
|
from trunk: expose bufferevent_setwatermark via header files and fix high watermark on read
svn:r730
|
|
f5b17df1
|
2008-04-18T13:31:07
|
|
r15247@tombo: nickm | 2008-04-18 09:30:43 -0400
Partial backport fix for bug in encode_int_internal
svn:r723
|
|
212523d1
|
2008-04-11T20:02:32
|
|
r19310@catbus: nickm | 2008-04-11 16:02:23 -0400
Backport fix for epoll-on-linux bug (#1908866).
svn:r708
|
|
bb1dd9e7
|
2008-04-10T19:35:57
|
|
r19306@catbus: nickm | 2008-04-10 15:34:27 -0400
Backport fix for bug 1938754: do not warn when epoll_create() fails with ENOSYS.
svn:r707
|
|
a63db431
|
2008-04-10T19:24:25
|
|
r19300@catbus: nickm | 2008-04-10 14:54:25 -0400
Correct the documentation on evbuffer_add_[v]printf: Fix for bug 1914464
svn:r704
|
|
937230a8
|
2008-03-31T00:34:58
|
|
from trunk: do not delete uninitialized timeout event in evdns
svn:r698
|
|
f817b5ff
|
2008-03-30T21:09:38
|
|
from trunk: make RPC replies use application/octet-stream
svn:r695
|
|
9e92909c
|
2008-03-29T01:47:04
|
|
from trunk: make event methods static so that they are not exported; from Andrei Nigmatulin
svn:r693
|
|
534d3272
|
2008-03-03T03:37:42
|
|
from trunk: make event_rpcgen.py generate code include event-config.h
svn:r687
|
|
d1360598
|
2008-03-02T01:48:09
|
|
from trunk: Do not free the kqop file descriptor in other processes, also allow it to be 0; from Andrei Nigmatulin
svn:r683
|
|
aab6b84c
|
2008-02-26T20:24:52
|
|
r14508@tombo: nickm | 2008-02-26 15:24:01 -0500
Backport to 1.4 branch: Patch from Tani Hosokawa: make some functions in http.c threadsafe. Also, note some functions in http.c that still are not threadsafe.
svn:r672
|
|
134cbc86
|
2008-02-26T03:30:43
|
|
from trunk: deal correctly with http/1.0 and keep-alive
svn:r668
|
|
b820936b
|
2008-02-26T02:38:17
|
|
make it 1.4.2-rc
svn:r664
|
|
e1ab038b
|
2008-02-25T07:35:57
|
|
from trunk: do not insert event into list when evsel->add fails
svn:r661
|
|
b1341f05
|
2008-02-23T19:22:19
|
|
r18379@catbus: nickm | 2008-02-23 14:22:12 -0500
mention event_get_method() in whatsnew-14.txt. Remove duplicate mention of changed tag length. Fix a typo in Changelog
svn:r659
|
|
d5d1aa53
|
2008-02-23T19:18:56
|
|
r18375@catbus: nickm | 2008-02-23 14:18:17 -0500
Backport removal of AM_MAINTAINER_MODE from configure.in: It causes more trouble than it is worth.
svn:r658
|
|
3a285c5b
|
2008-02-23T19:18:47
|
|
r18374@catbus: nickm | 2008-02-23 14:16:20 -0500
Improved integer handling on platforms without stdint. Backported.
svn:r657
|
|
fccf4489
|
2008-02-20T21:53:33
|
|
from trunk: update event_base_loop documentation; from Tani Hosokawa
svn:r653
|
|
8b116c76
|
2008-02-17T01:35:24
|
|
from trunk: remove NDEBUG ifdefs from evdns.c
svn:r648
|
|
29e9b1d2
|
2008-02-17T01:16:55
|
|
from trunk: allow regression code to be build even without Python installed
svn:r646
|
|
41971a42
|
2008-02-16T20:51:04
|
|
r14214@tombo: nickm | 2008-02-16 15:49:32 -0500
Patch from Scott Lamb: make http content length into a 64-bit value. [Backport to 1.4]
svn:r643
|
|
7eb990d5
|
2008-02-16T20:50:49
|
|
r14212@tombo: nickm | 2008-02-16 15:29:17 -0500
Add new evutil_strtoll() function so we can apply 64-bit content-length patch from Scott Lamb in a portable way. [Backport to 1.4]
svn:r642
|
|
d453c073
|
2008-02-16T16:56:47
|
|
r14206@tombo: nickm | 2008-02-16 11:56:10 -0500
Fix bug 1894184: add a CRLF after each chunk when sending chunked HTTP data. Original patch from propanbutan. [Backporting to 1.4 branch]
svn:r638
|
|
72ae0a2e
|
2008-02-16T06:10:52
|
|
from trunk: event_base_get_method; from Springande Ulv
svn:r636
|
|
f74af031
|
2008-02-12T06:02:23
|
|
from trunk: devpoll and evport need reinit; tested by W.C.A. Wijngaards
svn:r634
|
|
68db6186
|
2008-02-12T05:59:41
|
|
the last two changes belong to new release
svn:r632
|