|
e711ce45
|
2008-06-21T06:10:10
|
|
reintroduce a memmove when there is enough misalignment to hold the new data; otherwise the size of the buffer may grow without bounds
svn:r857
|
|
99a1063e
|
2008-06-21T02:21:25
|
|
support 64-bit integers in rpc structs
svn:r856
|
|
4c56ba1c
|
2008-06-20T06:52:13
|
|
do not use SO_REUSEADDR when connecting
svn:r854
|
|
774d056c
|
2008-06-17T01:14:58
|
|
warn on connection failures
svn:r853
|
|
2baaac7f
|
2008-06-14T17:50:36
|
|
Forward-port: 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:r852
|
|
a6ce520c
|
2008-06-12T14:43:35
|
|
allow min_heap_erase to be called on removed members; from liusifan
svn:r849
|
|
c584741b
|
2008-06-02T18:35:02
|
|
Fix line ending style on windows projects files.
svn:r847
|
|
344c2b56
|
2008-06-02T05:45:26
|
|
deliver partial data to request callbacks when chunked callback is set even if there is no chunking on the http level; allows cancelation of requests from within the chunked callback; from Scott Lamb.
svn:r846
|
|
9586a1cb
|
2008-06-01T16:21:24
|
|
fix an evbuffer corruption when adding an empty evbuffer; from Scott Lamb
svn:r845
|
|
480d8142
|
2008-06-01T01:19:08
|
|
do not define a variable in a header file; it will lead to duplicate symbols when linking
svn:r844
|
|
f9707a01
|
2008-05-31T18:57:21
|
|
we need to declare the enum first before it can be used; c++ compilation errors
svn:r843
|
|
05965921
|
2008-05-31T14:37:31
|
|
Add new functions to access backends by their features and to query the features of a backend.
svn:r842
|
|
9515c807
|
2008-05-30T17:35:20
|
|
Oops; add regress_et.c
svn:r841
|
|
39400e68
|
2008-05-30T16:56:34
|
|
Patch from Valery Kholodkov: support for edge-triggered events with epoll and kqueue. Changed from original patch: made test into a regression test, with explicit success/failure for edge-triggered and non-edge-triggered cases. Closes SF request 1968284.
svn:r840
|
|
9ca7a3a3
|
2008-05-30T16:19:01
|
|
Resolve two conflicts.
svn:r839
|
|
2deb3ce0
|
2008-05-29T01:39:43
|
|
simplify handling of environment variables for disabling backends;
make event_get_supported_methods obey environment variables; this
fixes make verify; problem reported by Scott Lamb.
svn:r838
|
|
8b66f1bd
|
2008-05-17T02:14:17
|
|
constify struct timeval *
svn:r836
|
|
134344b7
|
2008-05-16T01:55:40
|
|
Fix use of freed memory in event_reinit; pointed out by Peter Postma
svn:r834
|
|
bc5e2719
|
2008-05-15T06:36:36
|
|
Attempt to make a project for the regression test. There are several problems:
- no gettimeofday on windows
- no varargs macros on windows (all the rpc stuff does not build)
- no zlib on windows (zlib test does not build)
- some library dependencies seem to be missing
svn:r833
|
|
89a1512a
|
2008-05-15T06:33:23
|
|
close -> EVUTIL_CLOSESOCKET
svn:r832
|
|
9e8688a7
|
2008-05-15T06:10:40
|
|
windows does not have varargs macros, so this is all useless
svn:r831
|
|
a35529c6
|
2008-05-15T06:03:23
|
|
add the code here until we figure out how to generate it on windows
svn:r830
|
|
a68de252
|
2008-05-15T03:49:03
|
|
r19749@catbus: nickm | 2008-05-14 23:48:44 -0400
New function to dump inserted and active events. Also do not recv() on an int array.
svn:r829
|
|
f9b4ee0a
|
2008-05-15T03:19:05
|
|
replace write/read/close with send/recv/EVUTIL_CLOSESOCKET
svn:r828
|
|
35245a60
|
2008-05-15T03:16:34
|
|
Minor project content tweaks
svn:r827
|
|
90ddd91f
|
2008-05-15T03:14:48
|
|
do not include sys/time.h on windows
svn:r826
|
|
3ca22aa8
|
2008-05-15T03:05:10
|
|
r19739@catbus: nickm | 2008-05-14 23:05:03 -0400
Use our offsetof; do not rely on platform offsetof
svn:r825
|
|
c3c11f27
|
2008-05-15T01:54:20
|
|
add a simple http server for potential benchmarking
svn:r823
|
|
ec3956ba
|
2008-05-15T01:53:48
|
|
fix connection keep-alive behavior for HTTP/1.0
svn:r822
|
|
7be8f13b
|
2008-05-14T15:56:17
|
|
r19736@catbus: nickm | 2008-05-14 11:50:49 -0400
Add casts to make some printf formats in regress.c happier.
svn:r821
|
|
aa4b9257
|
2008-05-13T05:05:30
|
|
move some structure definitions from evrpc.h to evrpc-internal.h
svn:r817
|
|
1bce6f74
|
2008-05-13T03:51:10
|
|
use evhttp_connection_base_new()
svn:r816
|
|
ef0221cc
|
2008-05-13T03:42:47
|
|
document chunked replies plus fix doxygen warnings
svn:r815
|
|
0cafdeb6
|
2008-05-12T17:16:47
|
|
Tweaks to make unit tests fail less badly on mingw on trunk.
svn:r814
|
|
c6da86ff
|
2008-05-12T16:44:24
|
|
r19709@catbus: nickm | 2008-05-12 12:42:48 -0400
Possible fix for [1960723] snprintf and vsnprintf return values are wrong on win32
svn:r813
|
|
1080852e
|
2008-05-12T03:12:09
|
|
allow cancelation of user initiated http requests; this will allow cancelation of rpc requests eventually
svn:r812
|
|
03fafae0
|
2008-05-12T01:03:36
|
|
Make trunk event.c build happily on win32 under mingw.
svn:r811
|
|
054159f5
|
2008-05-12T00:56:19
|
|
r19679@catbus: nickm | 2008-05-11 20:56:12 -0400
Windows does not have alloca().
svn:r810
|
|
04366d5a
|
2008-05-12T00:51:48
|
|
r19677@catbus: nickm | 2008-05-11 20:51:41 -0400
Oops; we had not changed event_malloc() to mm_malloc() [etc] in win32.c
svn:r809
|
|
6bf1ca78
|
2008-05-12T00:40:04
|
|
r19675@catbus: nickm | 2008-05-11 20:39:39 -0400
Stop pretending that u_char and u_short are standard types that win32 is dumb not to have. In fact, u_char can really just be spelled out, and u_short was usually just a bad way of saying ev_uint16_t.
svn:r808
|
|
a57767fa
|
2008-05-11T16:22:35
|
|
more accessors for evhttp_request
svn:r807
|
|
687be124
|
2008-05-10T07:32:05
|
|
dispatch the callbacks against the decoded uri to be more http compliant
svn:r806
|
|
7bbe185b
|
2008-05-10T06:32:53
|
|
evhttp_request_uri -> evhttp_request_get_uri
svn:r805
|
|
950af186
|
2008-05-10T05:58:17
|
|
replace fnmatch with homegrown function
svn:r804
|
|
7868ab5a
|
2008-05-09T04:00:17
|
|
r19667@catbus: nickm | 2008-05-08 23:49:26 -0400
fwd-port: Always include winsock2.h before windows.h. Apparently some SDKs need this.
svn:r803
|
|
64ce7990
|
2008-05-08T23:57:31
|
|
r15555@tombo: nickm | 2008-05-08 19:56:51 -0400
fwd-port The IRIX compiler thinks #error means warn. Fix configure.in to tolerate this.
svn:r801
|
|
8acb80b4
|
2008-05-08T22:51:39
|
|
r15551@tombo: nickm | 2008-05-08 14:49:20 -0400
Use _get_ convention for new accessor functions. (These are all new ones as of 2.0, I believe).
svn:r799
|
|
7defe4cb
|
2008-05-08T15:55:09
|
|
r15549@tombo: nickm | 2008-05-08 11:53:11 -0400
Make new http headers include minimal parts of event2/ tree; make old evhttp.h incldue event.h, since the old one did too.
svn:r798
|
|
a29f7eef
|
2008-05-08T15:38:31
|
|
svn:r797
|
|
3d60bccc
|
2008-05-08T14:25:44
|
|
r19656@catbus: nickm | 2008-05-08 10:25:08 -0400
forward-port: Remove #include "misc.h"s.
svn:r795
|
|
a26442c5
|
2008-05-08T14:06:33
|
|
r19649@catbus: nickm | 2008-05-08 10:00:14 -0400
Replace gettimeofday() usage with a new evutil_gettimeofday(). This removes all previous need for win32-code/misc.[ch]
svn:r792
|
|
85ed7133
|
2008-05-08T07:00:16
|
|
deprecate timeout_* event functions by moving them to event_compat.h
svn:r791
|
|
de1c4392
|
2008-05-08T06:15:04
|
|
migrate evhttp to event2; accessors are still missing
svn:r790
|
|
3f56e364
|
2008-05-08T05:56:20
|
|
event_base_new_with_config() and related methods
svn:r789
|
|
3b2022ef
|
2008-05-08T05:33:15
|
|
provide an api for retrieving the supported event mechanisms
svn:r788
|
|
0a804f3c
|
2008-05-07T21:51:49
|
|
r19641@catbus: nickm | 2008-05-07 17:51:26 -0400
Forward-port: Fix win32 vc-2005 build.
svn:r786
|
|
f2d65f8a
|
2008-05-07T20:29:33
|
|
r19634@catbus: nickm | 2008-05-07 16:10:37 -0400
the C syntax is fn(void), not fn().
svn:r784
|
|
68fecb7a
|
2008-05-07T20:29:11
|
|
r19633@catbus: nickm | 2008-05-07 16:10:00 -0400
Fix bug 1958901: stop overriding CPPFLAGS in test directory.
svn:r783
|
|
300a4efb
|
2008-05-07T01:52:24
|
|
test virtual hosts
svn:r780
|
|
caa368e1
|
2008-05-05T19:19:47
|
|
r19610@catbus: nickm | 2008-05-05 15:18:52 -0400
Switch strcmp() tests in test_evbuffer() to use memcmp instead. Previously they broke on my Linux box.
svn:r779
|
|
803dc36a
|
2008-05-05T19:19:08
|
|
r19609@catbus: nickm | 2008-05-05 15:16:52 -0400
Reename evdns-internal struct request to evdns_request, and expose the name. switch new evdns resolve APIs to return evdns_request*. This is a prereq to making evdns requests cancelable.
svn:r778
|
|
957e9fd8
|
2008-05-05T17:49:52
|
|
r19607@catbus: nickm | 2008-05-05 13:49:44 -0400
Hack to make sure that there is always a working fast EVENT_FD()
svn:r777
|
|
4e8a339e
|
2008-05-05T15:46:00
|
|
r19602@catbus: nickm | 2008-05-05 11:45:18 -0400
Make most of the tests use the new headers.
svn:r776
|
|
bb37fbb2
|
2008-05-05T15:45:47
|
|
r19601@catbus: nickm | 2008-05-05 11:45:04 -0400
Make event_rpcgen.py use the new headers.
svn:r775
|
|
bc6da5ea
|
2008-05-05T15:45:39
|
|
r19600@catbus: nickm | 2008-05-05 11:34:06 -0400
Move EV_* flags into event.h; they are a necessary part of the public API.
svn:r774
|
|
d0c3644e
|
2008-05-05T15:45:30
|
|
r19599@catbus: nickm | 2008-05-05 11:26:18 -0400
Turn event_initialized() and friends into a function; add function equivalents for EVENT_FD and EVENT_SIGNAL.
svn:r773
|
|
891dba43
|
2008-05-05T15:00:53
|
|
r19597@catbus: nickm | 2008-05-05 11:00:29 -0400
define _GNU_SOURCE before including fnmatch.h so that FNM_CASEFOLD gets defined and linux build gets fixed. This whole fnmatch() business will be a bit hard to port, though: windows doesn't have one IIUC, so we'll have to reimplement our own to work there.
svn:r772
|
|
f2a81fbc
|
2008-05-05T07:17:05
|
|
add support for virtual http hosts; no tests yet
svn:r771
|
|
f940eb4b
|
2008-05-04T22:21:29
|
|
fix a bug where it was not possible to bind multiple sockets to the same http
server; test that binding multiple sockets works.
svn:r769
|
|
5786d525
|
2008-05-04T20:05:39
|
|
improve doxygen documentation for evhttp.h - still incomplete
svn:r768
|
|
36d7ab50
|
2008-05-04T18:31:21
|
|
trust in naming: rename evbuffer.c to bufferevent.c
svn:r767
|
|
40a44b36
|
2008-05-04T17:23:20
|
|
r19564@catbus: nickm | 2008-05-04 13:23:10 -0400
Fix compile with --enable-gcc-warnings and clock_gettime()
svn:r766
|
|
a83caa6b
|
2008-05-04T03:52:24
|
|
remove too agressive assert
svn:r765
|
|
181007b9
|
2008-05-03T22:14:44
|
|
make event_assign void; it cannot return an error
svn:r763
|
|
1d30750b
|
2008-05-03T22:10:09
|
|
support for periodic timeouts
svn:r762
|
|
8c750eaf
|
2008-05-03T21:37:33
|
|
separate signal events from io events
svn:r760
|
|
45e6fb0d
|
2008-05-03T18:23:44
|
|
cache clock_gettime/gettimeofday values in base
svn:r758
|
|
f04497e4
|
2008-05-03T03:05:28
|
|
introduce evbuffer_reserve_space() and evbuffer_commit_space() to make processing in filters more efficient
svn:r757
|
|
becc89b7
|
2008-05-03T02:37:18
|
|
introduce evbuffer_contiguous_space() and use it in the zlib filter test
svn:r756
|
|
5fbc7f0a
|
2008-05-02T16:28:25
|
|
r15439@tombo: nickm | 2008-05-02 12:28:08 -0400
use event_assign internall; switch uses of event_set to use event_assign instead.
svn:r755
|
|
e8f450f2
|
2008-05-01T02:08:26
|
|
expose a way to create the rpc context manually
svn:r754
|
|
85c4904b
|
2008-05-01T01:45:00
|
|
allow connections to be removed from an rpc pool
svn:r753
|
|
d76cca72
|
2008-04-30T04:36:26
|
|
fix missing printf format argument
svn:r752
|
|
ccb70f1b
|
2008-04-30T04:31:10
|
|
provide example bufferevent filters doing compression and decompression as additional regression test
svn:r751
|
|
522480f5
|
2008-04-30T01:01:57
|
|
improve documentation for bufferevent.h
svn:r750
|
|
c58a01a2
|
2008-04-30T00:50:20
|
|
fix regression test; oops
svn:r749
|
|
682adc44
|
2008-04-30T00:09:16
|
|
support input/output filters for bufferevents
svn:r748
|
|
28add6b9
|
2008-04-29T23:18:04
|
|
add more header files to doxygen
svn:r747
|
|
98dc98c5
|
2008-04-29T21:19:26
|
|
r15346@tombo: nickm | 2008-04-29 17:19:18 -0400
Remove the never-exported, never-used, never-threadsafe evhttp_hostportfile()
svn:r746
|
|
9626a421
|
2008-04-29T18:11:23
|
|
r15341@tombo: nickm | 2008-04-29 14:09:50 -0400
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:r744
|
|
4cff82bb
|
2008-04-29T18:11:10
|
|
r15339@tombo: nickm | 2008-04-29 14:03:48 -0400
Note that evhttp_hostportfile is not threadsafe, and so its usage will change. Mark its first argument const. Remove a now-redundant declaration for it in http-internal.h.
svn:r743
|
|
e44ef375
|
2008-04-29T04:52:50
|
|
convert evhttp_connection to use bufferevents
svn:r742
|
|
0ec09b55
|
2008-04-29T04:35:26
|
|
also try client connection for chunked requests
svn:r741
|
|
9c480533
|
2008-04-29T02:33:27
|
|
test the server side of sending chunked replies
svn:r740
|
|
72a3902e
|
2008-04-29T00:24:00
|
|
test some primitives from http.c
svn:r739
|
|
9485ff9a
|
2008-04-27T20:40:56
|
|
introduce bufferevent_setcb and bufferevent_setfd to allow better manipulation of bufferevents
svn:r737
|
|
22c8a404
|
2008-04-27T20:04:33
|
|
test connection retry logic
svn:r736
|
|
7b29ad57
|
2008-04-27T19:41:26
|
|
test server behavior when connection times out while reading the headers
svn:r735
|
|
dd183f7c
|
2008-04-27T00:32:10
|
|
provide bufferevent_input and bufferevent_output without requiring knowledge of the structure
svn:r734
|
|
f6c40173
|
2008-04-26T05:13:56
|
|
fix a bug in which bufferevent_write_buffer would not schedule a write event
svn:r733
|