|
c3e9fcf6
|
2009-01-19T20:22:47
|
|
Change the semantics of notify so we can implement it with eventfd or (given a different backend for win32) a windows Event.
svn:r1022
|
|
34d2fd06
|
2009-01-19T19:46:03
|
|
Debug and enable pipe notification
svn:r1021
|
|
ddf3ee97
|
2009-01-19T07:00:51
|
|
make event ports compile again
svn:r1020
|
|
ec4cfa33
|
2009-01-19T01:34:14
|
|
Make event_break threadsafe; make notify-thread mechanism a little more generic; let it use pipes where they work.
svn:r1019
|
|
2b7febc8
|
2009-01-18T01:33:18
|
|
Fix osx compile
svn:r1018
|
|
fed2fd09
|
2009-01-17T07:50:34
|
|
try to make devpoll work again; i dont have access to a machine
svn:r1017
|
|
5e796901
|
2009-01-16T00:25:54
|
|
clean up buffered data on reset; reported by Brian O'Kelley
svn:r1015
|
|
83d2a34c
|
2009-01-15T06:15:24
|
|
rename time-test in comment to signal-test
svn:r1013
|
|
8278c9be
|
2009-01-14T22:17:46
|
|
Note the one restriction on what you can do with the evbuffers of a bufferevent.
svn:r1011
|
|
84031819
|
2009-01-14T22:17:31
|
|
Make some evbuffer functions const
svn:r1010
|
|
89fe3167
|
2009-01-14T21:13:58
|
|
Update win32 code to put indices in evmap.
svn:r1009
|
|
554e1493
|
2009-01-14T20:52:32
|
|
Move per-fd info from eventops into evmap. Not done for win32.c yet.
svn:r1008
|
|
3552ac1e
|
2009-01-14T19:39:17
|
|
Do not allow chain length to expand indefinitely.
svn:r1007
|
|
ad7f1b4a
|
2009-01-14T18:45:42
|
|
The element size for our linear evmaps is a pointer, not the whole struct.
svn:r1006
|
|
6bb2f842
|
2009-01-14T18:38:03
|
|
Add initializer functions for evmap types.
svn:r1005
|
|
6d3ed065
|
2009-01-14T14:58:48
|
|
Simplify evbuffer_write logic: combine nearly all of WSASend and writev cases.
svn:r1004
|
|
bab8f2e1
|
2009-01-13T22:02:32
|
|
Fix compilation on win32 WSASend evbuffer_write() code.
Still not enabled until I make sure that the unit tests test this. They _do_ pass.
svn:r1003
|
|
9935d5b0
|
2009-01-13T21:39:32
|
|
Fix win32 compilation. Surprisingly, unit tests pass too.
svn:r1002
|
|
574d3202
|
2009-01-13T20:50:34
|
|
There is no WSAEAGAIN. There is only Zuul^WSAEWOULDBLOCK.
svn:r1001
|
|
169321c9
|
2009-01-13T20:26:37
|
|
Rename four internal headers to follow the -internal.h convention.
svn:r1000
|
|
822ca048
|
2009-01-13T19:34:50
|
|
Untested (and compiled-out) evbuffer_write backend to use WSASend on win32 where we use writev on unix.
svn:r998
|
|
fbd5e820
|
2009-01-13T19:20:22
|
|
Stop linking backends into libevent_extra.la
svn:r997
|
|
55490942
|
2009-01-13T19:20:14
|
|
Move internal headers into noinst_HEADERS automake target where they belong.
svn:r996
|
|
81ab45ad
|
2009-01-13T19:20:04
|
|
Use new EVUTIL_ERR_*_RETRIABLE macros when we're testing an errno for blocking.
Previously, we used inconsistent and incompletely ported ifdefs.
(We don't use these macros in platform-specific files like evpoll.c, since
they don't need to work on win32.)
svn:r995
|
|
5ebd23ad
|
2009-01-13T19:19:50
|
|
New EVUTIL_ERR_*_RETRIABLE macros to tell if an errno blocked or failed.
svn:r994
|
|
99db0e7f
|
2009-01-12T20:42:19
|
|
Add a new evbuffer_write_atmost() functino to write no more than a given number of bytes to an fd.
svn:r993
|
|
f446f149
|
2009-01-12T20:42:06
|
|
Small cleanups to buffer.h documentation.
svn:r992
|
|
1df57d2b
|
2009-01-12T20:36:24
|
|
Move strlcpy.c into libevent-core, so that code built against libevent-core on platforms without strlcpy can link.
svn:r991
|
|
8a724410
|
2009-01-12T05:22:29
|
|
make it compile with USE_DEBUG again; reported by Alexander Drozdov
svn:r990
|
|
91e3ead8
|
2009-01-10T14:37:45
|
|
Improve the hashsocket function.
svn:r989
|
|
55bcd7d2
|
2009-01-09T13:42:21
|
|
On win32, use a hashtable to map sockets to events rather than using an array.
svn:r988
|
|
8f5777e6
|
2009-01-09T05:01:48
|
|
Document internal evmap functions, add a couple of asserts, and fix up some things that did not need to be void* any more
svn:r987
|
|
980bcd68
|
2009-01-02T21:21:58
|
|
Work better with platforms that do not have ipv6 structures, or that do not have sin_len fields, etc.
svn:r986
|
|
135591ae
|
2009-01-02T20:46:35
|
|
Change the type of nameserver.address from u32 to sockaddr_storage, so that we can handle nameservers at IPv6 addresses.
svn:r985
|
|
cfbd1680
|
2009-01-02T20:46:26
|
|
Add another function to parse the common address:port combination formats into a sockaddr.
svn:r984
|
|
0d9d5cfe
|
2009-01-02T20:46:12
|
|
New functions in evutil to clone inet_pton and inet_ntop, with tests.
Adapted from Tor code.
svn:r983
|
|
172b6575
|
2009-01-02T18:18:30
|
|
malloc fd only if it is needed.
svn:r982
|
|
f37d1685
|
2009-01-02T04:56:56
|
|
Include http_compat.h in http.c so we do not get warnings about functions with no prototypes.
svn:r981
|
|
87be18da
|
2008-12-25T16:25:37
|
|
implement evdns_cancel_request; test one of the new evdns_base functions
svn:r980
|
|
49f4c0ef
|
2008-12-25T16:21:13
|
|
generate documentation for move dns header files
svn:r979
|
|
eed23451
|
2008-12-25T16:20:45
|
|
forgot to re-enable dns tests
svn:r978
|
|
30cba6d0
|
2008-12-25T09:22:13
|
|
we cannot realloc memory used by TAILQ; instead malloc each slot individually
svn:r977
|
|
17bfc07e
|
2008-12-23T22:38:01
|
|
remove http_compat include
svn:r976
|
|
b55ca7de
|
2008-12-23T22:31:27
|
|
reduce void *age a little bit
svn:r975
|
|
b225e756
|
2008-12-23T22:24:32
|
|
remove unused variable
svn:r974
|
|
d776f846
|
2008-12-23T22:23:37
|
|
deprecate the usage of signal_{add,del,set} and name it evsignal_{add,del,set} instead; move the old definitions to compat
svn:r973
|
|
02b2b4d1
|
2008-12-23T16:37:01
|
|
Restructure the event backends so that they do not need to keep track of events themselves, as a side effect multiple events can use the same fd or signal.
svn:r972
|
|
97cebce8
|
2008-12-23T14:53:55
|
|
the switch of bufferevents for http connections did not handle the EVBUFFER_ERROR case correctly
svn:r971
|
|
ebcf5efc
|
2008-12-19T22:42:51
|
|
fix memory leaks in the regression tools; add another close detection test that validates that there are no dangling connections on the server
svn:r969
|
|
f1728d94
|
2008-12-19T22:41:07
|
|
fix the close detection problem correctly by not running close detection on the server
svn:r968
|
|
f700566c
|
2008-12-19T21:31:43
|
|
Make the http connection close detection work properly with bufferevents and fix a potential memory leak associated with it
svn:r963
|
|
8c594168
|
2008-12-19T21:03:42
|
|
memory leak: forgot to free paused rpcs in server
svn:r962
|
|
77867244
|
2008-12-19T21:02:36
|
|
memory leak: forgot to free the configuration object
svn:r961
|
|
808f00e1
|
2008-12-13T06:11:12
|
|
constify structs; from Andrei Nigmatulin
svn:r959
|
|
dd731685
|
2008-12-03T20:09:13
|
|
Implement increased DSN-poisoning resistance via the 0x20 hack.
svn:r958
|
|
1eeb96aa
|
2008-11-29T01:12:41
|
|
move cirular queue removal into its own function
svn:r957
|
|
cdf9453a
|
2008-11-28T20:55:11
|
|
install the header files, too
svn:r956
|
|
1c765b78
|
2008-11-28T20:11:24
|
|
move dns header files into the include directory; move old functions into compat and structs into a struct header file
svn:r955
|
|
4fa4a562
|
2008-11-27T19:57:48
|
|
fix a typo in setting the global event base; reported by lance
svn:r953
|
|
ffb3966e
|
2008-11-27T19:34:07
|
|
minor compilation and regresson fixes; from Frank Denis
svn:r952
|
|
4fe25cef
|
2008-11-27T19:27:33
|
|
Clear the timer cache when leaving the event loop; reported by Robin Haberkorn
svn:r950
|
|
5792d42f
|
2008-11-16T23:22:14
|
|
Allow setting of local port for evhttp connections to support millions of connections from a single system; from Richard Jones
svn:r948
|
|
50202d75
|
2008-11-15T05:27:23
|
|
only bind the socket on connect when a local address has been provided; reported by Ajejo Sanchez
svn:r946
|
|
31cfe526
|
2008-10-30T19:38:31
|
|
clear the timer cache on entering event loop; reported by Victor Chang
svn:r944
|
|
c97ee898
|
2008-09-26T13:36:15
|
|
Fix: do not crash when asked to configure an impossible event_base
svn:r942
|
|
b3d6a569
|
2008-09-07T23:24:54
|
|
do not remove accept-encoding header in make request
svn:r938
|
|
fded0a87
|
2008-09-05T16:47:04
|
|
Fix compilation of recent error code with win32.
svn:r937
|
|
de069b99
|
2008-09-05T16:29:56
|
|
On win32, errno is not the last socket error. Worse, WSAGetLastError() is not the last socket error sometimes (i.e., EWOULDBLOCK). Also, strerror() does not handle winsock errors. Therefore, event_err() and event_warn() are completely wrong for windows socket errors. Fix that.
svn:r936
|
|
a710d817
|
2008-08-30T23:19:49
|
|
Match the query in DNS replies to the query in the request; from Vsevolod Stakhov
svn:r930
|
|
c968eb3e
|
2008-08-19T11:26:47
|
|
Fix a bug where headers arriving in multiple packets were not parsed; fix from Jiang Hong; test by me.
svn:r928
|
|
b89a3de0
|
2008-07-25T05:22:28
|
|
do not warn on accept when errno is egain|eintr
svn:r925
|
|
cca2f8fa
|
2008-07-25T01:29:54
|
|
make event_add not change any state if it fails; repoted by Ian Bell
svn:r923
|
|
1aa6826f
|
2008-07-25T01:18:40
|
|
fix off by one errors in devpoll; from Ian Bell
svn:r921
|
|
3b24f4ee
|
2008-07-25T00:48:30
|
|
another fix; we also need to remove the signal event from the queue
svn:r918
|
|
e67a5ea9
|
2008-07-25T00:19:15
|
|
fix a problem with epoll and event_reinit; reported by Alexander Drozdov
svn:r917
|
|
a4e2f52a
|
2008-07-20T23:31:28
|
|
add a signal and free the base for reinit test
svn:r915
|
|
1c164ceb
|
2008-07-19T23:35:29
|
|
restore signal handlers correctly when we deallocate the signal base
svn:r913
|
|
5e905c9d
|
2008-07-17T14:09:07
|
|
if we change the timeouts on bufferevents, we might have to readd pending events
svn:r911
|
|
12077b4e
|
2008-07-16T03:47:47
|
|
support setting of AA or RD in dns server response
svn:r910
|
|
506f3d0c
|
2008-07-13T20:18:41
|
|
fix cname replies
svn:r907
|
|
c4af6211
|
2008-07-11T16:11:16
|
|
forgot to add Alexander Drozdov as bug reporter in ChangeLog
svn:r905
|
|
4bf44654
|
2008-07-11T16:04:07
|
|
assert(a & b) -> assert(a && b)
svn:r903
|
|
f7e61870
|
2008-07-11T15:49:04
|
|
support multiple events listening on the same signal; make signals regular events that go on the same event queue
svn:r901
|
|
5512be01
|
2008-07-11T15:15:04
|
|
fix a bug where deleting signals with kqueue would delete subsequent adds
svn:r899
|
|
df97fca9
|
2008-07-02T06:08:16
|
|
From Scott Lamb:
* Allow the user to set the Content-Length: then stream a reply.
This is useful for large requests of a known size. Added unit test.
* Don't send a response body on HEAD requests, 1xx status codes, 204
status codes, or 304 status codes, as described in RFC 2616 section
4.3. (Doing otherwise causes problems - in particular, if a 304 has a
chunked body (even an empty one), Safari 3.1.1 issues and then fails
the next request on the connection with the non-sequitur error message
"Too many HTTP redirects"!)
* Specify a default Content-Type: when a response body is required, not
when we have data in the response buffer by the time we make the
header. (I.e., do this on evhttp_send_reply_start() for consistency.)
* Don't expect a body in response to HEAD requests.
svn:r898
|
|
409236a7
|
2008-07-02T04:39:09
|
|
detect CLOCK_MONOTONIC at runtime for evdns
svn:r896
|
|
707f6784
|
2008-07-02T04:22:48
|
|
reject negative content-length headers
svn:r894
|
|
cb7c3bd6
|
2008-06-29T01:30:06
|
|
support multi-line http headers; based on a patch from Moshe Litvin
svn:r890
|
|
9998c0cb
|
2008-06-26T00:40:57
|
|
correct handling of trailing headers in chunked replies; from Scott Lamb.
svn:r887
|
|
21f76156
|
2008-06-25T16:32:47
|
|
change min_heap_idx to signed
svn:r883
|
|
52161b47
|
2008-06-25T14:56:35
|
|
fix a bug in which nameservers would not be added to the correct base in windows.
svn:r873
|
|
8aa94ced
|
2008-06-25T01:01:11
|
|
proper library dependencies for regress.
svn:r872
|
|
63750814
|
2008-06-25T01:00:29
|
|
add a visual studio 2005 solution
svn:r871
|
|
9816192a
|
2008-06-25T00:59:21
|
|
add log.h header file
svn:r870
|
|
ac0c7e2c
|
2008-06-25T00:58:08
|
|
skip connection-retry test on windows
svn:r869
|
|
0bee2ff3
|
2008-06-25T00:34:24
|
|
void function should not return a value
svn:r868
|
|
c3dc717a
|
2008-06-24T23:37:37
|
|
close fd if evhttp_get_requestion_connection fails
svn:r867
|
|
24580e2b
|
2008-06-24T22:43:19
|
|
fix build on unix side
svn:r866
|
|
60e4c067
|
2008-06-24T22:41:43
|
|
add an event_debug statement for executing active events.
svn:r865
|
|
30abfd99
|
2008-06-24T22:38:37
|
|
provide fake_getnameinfo so that the http layer works under windows.
svn:r864
|