|
c5a0f56c
|
2009-09-24T22:21:09
|
|
from trunk: Do not drop data from evbuffer when out of memory; reported by Jacek Masiulaniec
svn:r1437
|
|
03a9da17
|
2009-09-23T23:50:43
|
|
Fix compilation on Android: define fd_mask when it's missing.
svn:r1434
|
|
072ae588
|
2009-09-23T22:19:00
|
|
Remove unused event_gotsig code from 1.4 to appease some automated code checkers
svn:r1433
|
|
1bf18e5a
|
2009-09-11T18:55:12
|
|
Backport epoll memory fix for bug 2839240
svn:r1430
|
|
81765181
|
2009-09-11T18:55:06
|
|
Backport: do not believe negative result from FIONREAD.
svn:r1429
|
|
8c6282ec
|
2009-07-25T02:21:05
|
|
call it 1.4.12-stable
svn:r1376
|
|
9e652610
|
2009-07-23T00:24:28
|
|
A more hackish (but more backported) fix for the intptr vs uintptr fix from trunk.
svn:r1374
|
|
8155ed0c
|
2009-07-21T19:01:07
|
|
#ifdef out some callbacks in regress.c that windows doesn't use.
svn:r1371
|
|
4c364111
|
2009-07-21T18:57:38
|
|
Fix compilation of 1.4 branch on win32
svn:r1370
|
|
267472dc
|
2009-07-21T17:57:31
|
|
Do a quick-and-dirty hack to fix a gcc warning on 1.4 with a 64-bit arch
svn:r1368
|
|
9af9aba6
|
2009-07-21T17:57:25
|
|
Add -fno-strict-aliasing to let 1.4 build happily on GCC 4.4
svn:r1367
|
|
f5408f1d
|
2009-07-17T20:27:54
|
|
Checking for MS_WINDOWS rather than WIN32 is a Tor-ism. Fix that! {Backport}
svn:r1359
|
|
0ae18517
|
2009-07-17T19:00:22
|
|
Backport: Update event_tv when time jumps backwards, so that we only note each jump once. Not strictly needed in 1.4, but good for correctness.
svn:r1354
|
|
2bdf3077
|
2009-07-14T19:31:11
|
|
[Backport] Do not define _FORTIFY_SOURCE if the platform GCC already defined it for us.
svn:r1345
|
|
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
|
|
6bd85f9d
|
2009-05-22T16:51:10
|
|
Fix compilation warning on win32 with verbose GCC warnings.
svn:r1305
|
|
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
|
|
0f62db5e
|
2009-05-15T06:22:54
|
|
call it 1.4.11-stable
svn:r1290
|
|
9b45a4e7
|
2009-05-15T01:36:31
|
|
We were distributing the wrong event-config.h with our source distributions. Fix that.
svn:r1288
|
|
5d639d6c
|
2009-05-15T01:14:08
|
|
Fix win32 compilation warnings in 1.4.
svn:r1287
|
|
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
|
|
a276fa51
|
2009-05-12T18:27:34
|
|
Fix warnings in compilation of regress.c.
svn:r1281
|
|
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
|
|
4d4a7d55
|
2009-04-17T00:37:21
|
|
call it 1.4.10
svn:r1178
|
|
1a518873
|
2009-04-12T23:00:52
|
|
from trunk: improve evhttp_parse_query documentation
svn:r1161
|
|
c1bd9385
|
2009-04-11T04:12:46
|
|
Fix parsing of queries where the encoded queries contained \r, \n or +
svn:r1155
|
|
64b3a571
|
2009-03-30T17:36:59
|
|
correct evbuffer_drain documentation from John Khvatov
svn:r1128
|
|
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
|
|
62d60546
|
2009-01-23T17:21:17
|
|
we dont use an m4 directory for 1.4 - remove it
svn:r1045
|
|
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
|
|
0ede290b
|
2009-01-19T23:42:19
|
|
from trunk: bug fix and potentital race condition from Alexander Drozdov
svn:r1026
|
|
64fc3c7c
|
2009-01-16T00:29:27
|
|
clean up buffered data on reset; reported by Brian O'Kelley
svn:r1016
|
|
12d911b5
|
2009-01-15T06:16:07
|
|
from trunk: rename time-test in comment to signal-test
svn:r1014
|
|
6ae6c9eb
|
2008-12-22T07:36:38
|
|
call it 1.4.9-stable
svn:r970
|
|
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
|
|
dfa9cb5d
|
2008-12-13T06:12:05
|
|
from trunk: constify structs; from Andrei Nigmatulin
svn:r960
|
|
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
|
|
16a66129
|
2008-09-07T23:29:37
|
|
call it 1.4.8-stable; increment revision (i hope that is right)
svn:r940
|
|
69119a40
|
2008-09-07T23:26:47
|
|
from trunk: do not remove accept-encoding header in make request
svn:r939
|
|
48c6e51d
|
2008-09-04T01:25:18
|
|
missed from previous submit; been a long day
svn:r935
|
|
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
|
|
1fc7059c
|
2008-09-04T01:09:03
|
|
forgot to commit the 1.4.7-stable name
svn:r933
|
|
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
|
|
975b1021
|
2008-07-25T00:54:28
|
|
start calling it 1.4.6-stable
svn:r920
|
|
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
|
|
9ee4990f
|
2008-07-13T21:07:59
|
|
close -> EVUTIL_CLOSESOCKET
svn:r909
|
|
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
|
|
58bfed9e
|
2008-07-11T16:06:04
|
|
from trunk: assert(a & b) -> assert(a && b)
svn:r904
|
|
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
|
|
0690f0f5
|
2008-06-30T01:01:28
|
|
fix warnings with USE_DEBUG
svn:r891
|
|
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
|
|
e29a5c82
|
2008-06-25T21:41:43
|
|
call it 1.4.5-stable
svn:r886
|
|
33bb64c1
|
2008-06-25T20:52:29
|
|
fix support of fixed-sized entries in event_rpcgen
svn:r885
|
|
0a66700e
|
2008-06-25T20:49:39
|
|
missing stdio include
svn:r884
|
|
ceca424e
|
2008-06-25T16:10:20
|
|
add windows project files to extra dist
svn:r882
|
|
570dd04a
|
2008-06-25T16:06:50
|
|
forgot to add changelog entry: fix windows build
svn:r881
|
|
51bd6c0b
|
2008-06-25T16:06:16
|
|
fix warnings for potentially uninitalized variables
svn:r880
|
|
f1c6c5a9
|
2008-06-25T16:04:23
|
|
Add vs2005 project and regress target; no idea if that is going to work for other folks.
svn:r879
|
|
6111e150
|
2008-06-25T16:02:47
|
|
fix getnameinfo for windows; snprintf -> evutil_snprintf
svn:r878
|
|
b7fd2ac3
|
2008-06-25T16:00:15
|
|
fix gethostbyname on windows; close() -> EVUTIL_CLOSESOCKET()
svn:r877
|
|
1efa70ab
|
2008-06-25T15:46:33
|
|
make it compile on windows; gettimeofday -> evutil_gettimeofday; snprintf -> evutil_snprintf
svn:r876
|
|
e0b38edc
|
2008-06-25T15:44:40
|
|
event_vsnprintf -> evutil_vsnprintf
svn:r875
|
|
8f39908f
|
2008-06-25T15:37:53
|
|
move snprintf and vsnprintf to evutil to support windows
svn:r874
|
|
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
|