134 Commits

Author SHA1 Message Date
Niels Provos
0a41d762ec from trunk: Allow setting of local port for evhttp connections to support millions of connections from a single system; from Richard Jones
svn:r949
2008-11-16 23:26:38 +00:00
Niels Provos
3ad06489ee from trunk: only bind the socket on connect when a local address has been provided; reported by Ajejo Sanchez
svn:r947
2008-11-15 05:29:39 +00:00
Niels Provos
b93c182ff3 from trunk: clear the timer cache on entering event loop; reported by Victor Chang
svn:r945
2008-10-30 19:40:35 +00:00
Niels Provos
111ddeddac fix merge error: event_add would not return error for some backends; from Dean McNamee
svn:r943
2008-10-03 15:23:47 +00:00
Niels Provos
16a6612984 call it 1.4.8-stable; increment revision (i hope that is right)
svn:r940
2008-09-07 23:29:37 +00:00
Niels Provos
69119a402e from trunk: do not remove accept-encoding header in make request
svn:r939
release-1.4.8-stable
2008-09-07 23:26:47 +00:00
Niels Provos
48c6e51db2 missed from previous submit; been a long day
svn:r935
2008-09-04 01:25:18 +00:00
Niels Provos
d2386bce75 Fix a merge problem in which name_from_addr returned pointers to the stack; found by Jiang Hong.
svn:r934
2008-09-04 01:09:54 +00:00
Niels Provos
1fc7059cbe forgot to commit the 1.4.7-stable name
svn:r933
2008-09-04 01:09:03 +00:00
Niels Provos
bc465d0a80 from trunk: Match the query in DNS replies to the query in the request; from Vsevolod Stakhov
svn:r932
2008-08-30 23:24:25 +00:00
Niels Provos
2821152f7f from trunk: Fix a bug where headers arriving in multiple packets were not parsed; fix from Jiang Hong; test by me.
svn:r929
2008-08-19 11:38:32 +00:00
Niels Provos
abe3ac118c from trunk: do not warn on accept when errno is egain|eintr
svn:r926
release-1.4.7-stable
2008-07-25 05:23:30 +00:00
Niels Provos
541290f635 from trunk: make event_add not change any state if it fails; repoted by Ian Bell
svn:r924
release-1.4.6
2008-07-25 01:34:22 +00:00
Niels Provos
534f6657f8 from trunk: fix off by one errors in devpoll; from Ian Bell
svn:r922
2008-07-25 01:19:53 +00:00
Niels Provos
975b102180 start calling it 1.4.6-stable
svn:r920
2008-07-25 00:54:28 +00:00
Niels Provos
7c7ab27960 from trunk: fix a problem with epoll() and reinit; repoted by Alexander Drozdov
svn:r919
2008-07-25 00:53:17 +00:00
Niels Provos
730c7132bd add libevent.vcproj file to distribution to help with Windows build
svn:r916
2008-07-24 23:58:03 +00:00
Niels Provos
21c562897d from trunk: restore signal handlers correctly when we deallocate the signal base
svn:r914
2008-07-19 23:41:33 +00:00
Niels Provos
e11392387a from trunk: if we change the timeouts on bufferevents, we might have to readd pending events
svn:r912
2008-07-17 14:26:40 +00:00
Niels Provos
9ee4990f6c close -> EVUTIL_CLOSESOCKET
svn:r909
2008-07-13 21:07:59 +00:00
Niels Provos
1b40a378d1 from trunk: fix cname replies
svn:r908
2008-07-13 20:20:10 +00:00
Niels Provos
4a13b22f00 deal with evbuffer_read() returning -1 on EINTR|EAGAIN; from Adam Langley
svn:r906
2008-07-12 01:50:11 +00:00
Niels Provos
dfa53321e3 forgot to add Alexander Drozdov as bug reporter in ChangeLog
svn:r905
2008-07-11 16:11:16 +00:00
Niels Provos
58bfed9edb from trunk: assert(a & b) -> assert(a && b)
svn:r904
2008-07-11 16:06:04 +00:00
Niels Provos
0e535d2f32 from trunk: support multiple events listening on the same signal; make signals regular events that go on the same event queue
svn:r902
2008-07-11 15:59:29 +00:00
Niels Provos
459c78a20a from trunk: fix a bug where deleting signals with kqueue would delete subsequent adds
svn:r900
2008-07-11 15:17:35 +00:00
Niels Provos
537e122101 from trunk: detect CLOCK_MONOTONIC at runtime for evdns
svn:r897
2008-07-02 04:41:11 +00:00
Niels Provos
3add69df67 from trunk: reject negative content-length headers
svn:r895
2008-07-02 04:28:12 +00:00
Niels Provos
e7d5dfda49 from trunk: support multi-line HTTP headers; based on a patch from Moshe Litvin
svn:r893
2008-06-30 01:55:13 +00:00
Niels Provos
efb50876fd from trunk: correct handling of trailing headers in chunked replies; from Scott Lamb
svn:r892
2008-06-30 01:04:21 +00:00
Niels Provos
0690f0f555 fix warnings with USE_DEBUG
svn:r891
2008-06-30 01:01:28 +00:00
Niels Provos
130a8a1308 switch all uses of [v]snprintf to evutil
svn:r889
2008-06-28 01:47:01 +00:00
Niels Provos
877fa44dda evutil now includes stdarg.h directly
svn:r888
2008-06-28 00:50:52 +00:00
Niels Provos
e29a5c82a8 call it 1.4.5-stable
svn:r886
release-1.4.5-stable
2008-06-25 21:41:43 +00:00
Niels Provos
33bb64c1e0 fix support of fixed-sized entries in event_rpcgen
svn:r885
2008-06-25 20:52:29 +00:00
Niels Provos
0a66700e00 missing stdio include
svn:r884
2008-06-25 20:49:39 +00:00
Niels Provos
ceca424e52 add windows project files to extra dist
svn:r882
2008-06-25 16:10:20 +00:00
Niels Provos
570dd04a07 forgot to add changelog entry: fix windows build
svn:r881
2008-06-25 16:06:50 +00:00
Niels Provos
51bd6c0b24 fix warnings for potentially uninitalized variables
svn:r880
2008-06-25 16:06:16 +00:00
Niels Provos
f1c6c5a978 Add vs2005 project and regress target; no idea if that is going to work for other folks.
svn:r879
2008-06-25 16:04:23 +00:00
Niels Provos
6111e150a2 fix getnameinfo for windows; snprintf -> evutil_snprintf
svn:r878
2008-06-25 16:02:47 +00:00
Niels Provos
b7fd2ac302 fix gethostbyname on windows; close() -> EVUTIL_CLOSESOCKET()
svn:r877
2008-06-25 16:00:15 +00:00
Niels Provos
1efa70aba0 make it compile on windows; gettimeofday -> evutil_gettimeofday; snprintf -> evutil_snprintf
svn:r876
2008-06-25 15:46:33 +00:00
Niels Provos
e0b38edc9d event_vsnprintf -> evutil_vsnprintf
svn:r875
2008-06-25 15:44:40 +00:00
Niels Provos
8f39908fd2 move snprintf and vsnprintf to evutil to support windows
svn:r874
2008-06-25 15:37:53 +00:00
Niels Provos
fb0b274e97 from trunk: do not use SO_REUSEADDR when connecting
svn:r855
2008-06-20 06:55:26 +00:00
Nick Mathewson
921693c44e 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
2008-06-14 17:42:05 +00:00
Niels Provos
d5c3cdca20 from trunk: allow min_heap_erase to be called on removed members; from liusifan
svn:r850
2008-06-12 14:45:29 +00:00
Nick Mathewson
a78d92c4c1 Set correct line-ending style on win32 project styles (1.4 branch)
svn:r848
2008-06-02 18:43:46 +00:00
Niels Provos
9ce23febc2 constify struct timeval *
svn:r837
2008-05-17 02:19:21 +00:00