|
c7b2f8fd
|
2009-02-10T19:38:05
|
|
New function to abstract SO_REUSEADDR.
svn:r1102
|
|
4d92e426
|
2009-02-02T19:22:27
|
|
forward-port: Make evdns_resolve_reverse args const.
svn:r1096
|
|
ea4b8724
|
2009-02-02T19:22:13
|
|
checkpoint work on big bufferevent refactoring
svn:r1095
|
|
8d3a10f8
|
2009-02-01T01:43:58
|
|
Support temporarily suspending an evbuffer callback. This is different from disabling the callback, since we want to process changes, but not just yet.
svn:r1091
|
|
2e50658d
|
2009-02-01T01:07:33
|
|
Fix a typo in buffer.h
svn:r1089
|
|
66b2a7ff
|
2009-01-29T03:20:40
|
|
test evbuffer_add_reference
svn:r1068
|
|
b85b710c
|
2009-01-27T22:34:36
|
|
Update copyright statements to reflect the facts that:
a) this is 2009
b) niels and nick have been comaintainers for a while
c) saying "all rights reserved" when you then go on to explicitly
disclaim some rights is sheer cargo-cultism.
svn:r1065
|
|
9993137c
|
2009-01-27T21:10:31
|
|
Remove all trailing whitespace in all the source files.
svn:r1063
|
|
fdf69493
|
2009-01-27T06:05:38
|
|
sendfile/mmap and memory reference implementation for evbuffers
svn:r1057
|
|
b93e5054
|
2009-01-27T05:33:39
|
|
second argument to evbuffer_pullup should be ssize_t
svn:r1056
|
|
c0712b16
|
2009-01-26T17:29:45
|
|
Initial documentation for evdns server functions. Also deprecate the one that didn't take an event_base.
svn:r1054
|
|
bdbd5e0e
|
2009-01-26T17:09:37
|
|
For every deprecated function, explain why it is deprecated and what you should call instead.
svn:r1052
|
|
52a75f18
|
2009-01-26T17:09:22
|
|
Documentation (or more accurate documentation) for a few more functions.
svn:r1051
|
|
dddd58ba
|
2009-01-26T17:09:09
|
|
Reformat util.h slightly so that it looks ok with 8-char tabs.
svn:r1050
|
|
765ff1b9
|
2009-01-24T17:38:27
|
|
really install the buffer_compat.h file
svn:r1048
|
|
81dd04a7
|
2009-01-23T18:04:34
|
|
Add a "flags" field to evbuffer callbacks.
For now, there is just one: enabled. This lets us avoid lots of
mallocs/frees/tailq-manipulations just to turn a callback on and off.
The revised bufferevent code wants this.
svn:r1047
|
|
de7f7a84
|
2009-01-23T18:03:45
|
|
Remove in_callbacks check: allow full recursion in evbuffer callbacks. If you get yourself in an infinite loop, that's not our fault. Note this in the docs. Also reindent some docs now that my tabs match Niels's.
svn:r1046
|
|
b1495865
|
2009-01-23T02:04:41
|
|
also install the buffer_compat.h header file
svn:r1044
|
|
ec2f4cbc
|
2009-01-23T01:35:57
|
|
Move obsolete evbuffer function into include/event2/buffer_compat.h
svn:r1043
|
|
c735f2b4
|
2009-01-23T01:11:13
|
|
Code to allow multiple callbacks per evbuffer.
svn:r1042
|
|
f20902a2
|
2009-01-22T17:56:15
|
|
Remove evperiodic_assign and its related parts: its functionality is subsumed by EV_PERSIST timeouts.
svn:r1040
|
|
56ea4687
|
2009-01-22T02:33:38
|
|
Change the semantics of timeouts in conjunction with EV_PERSIST; timeouts in that case will now repeat until deleted.
svn:r1032
|
|
309fc7c4
|
2009-01-21T07:51:25
|
|
New functions to provide sane threading callbacks with pthreads and win32 threading implementations.
svn:r1031
|
|
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
|
|
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
|
|
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
|
|
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
|
|
87be18da
|
2008-12-25T16:25:37
|
|
implement evdns_cancel_request; test one of the new evdns_base functions
svn:r980
|
|
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
|
|
dd731685
|
2008-12-03T20:09:13
|
|
Implement increased DSN-poisoning resistance via the 0x20 hack.
svn:r958
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
99a1063e
|
2008-06-21T02:21:25
|
|
support 64-bit integers in rpc structs
svn:r856
|
|
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
|
|
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
|
|
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
|
|
8b66f1bd
|
2008-05-17T02:14:17
|
|
constify struct timeval *
svn:r836
|
|
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
|
|
ef0221cc
|
2008-05-13T03:42:47
|
|
document chunked replies plus fix doxygen warnings
svn:r815
|
|
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
|
|
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
|
|
7bbe185b
|
2008-05-10T06:32:53
|
|
evhttp_request_uri -> evhttp_request_get_uri
svn:r805
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
522480f5
|
2008-04-30T01:01:57
|
|
improve documentation for bufferevent.h
svn:r750
|
|
682adc44
|
2008-04-30T00:09:16
|
|
support input/output filters for bufferevents
svn:r748
|
|
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
|
|
9485ff9a
|
2008-04-27T20:40:56
|
|
introduce bufferevent_setcb and bufferevent_setfd to allow better manipulation of bufferevents
svn:r737
|
|
dd183f7c
|
2008-04-27T00:32:10
|
|
provide bufferevent_input and bufferevent_output without requiring knowledge of the structure
svn:r734
|
|
3278012f
|
2008-04-26T00:35:17
|
|
expose bufferevent_setwatermark via header files and fix high watermark on read
svn:r729
|
|
89f63b20
|
2008-04-25T02:44:46
|
|
add bufferevent_read_buffer function
svn:r728
|
|
94fb4d0a
|
2008-04-25T01:18:18
|
|
r15317@tombo: nickm | 2008-04-24 21:17:49 -0400
Add new functions to be more threadsafe (and structure-ignorant) than event_set.
svn:r726
|
|
beb39f57
|
2008-04-17T19:16:30
|
|
r15218@tombo: nickm | 2008-04-17 15:10:13 -0400
Add a missing #include <stdarg.h>
svn:r715
|
|
963ae2cf
|
2008-04-16T21:01:31
|
|
r15212@tombo: nickm | 2008-04-16 17:01:21 -0400
Remove some needless includes
svn:r712
|
|
0ac73078
|
2008-04-16T20:01:51
|
|
r15193@tombo: nickm | 2008-04-16 16:00:35 -0400
Split event.h into several new headers in include/event2. event.h is now just a wrapper that includes all the subheaders.
svn:r711
|
|
0c843507
|
2008-04-10T19:25:11
|
|
r19301@catbus: nickm | 2008-04-10 14:54:46 -0400
Forward-port: Correct the documentation on evbuffer_add_[v]printf: Fix for bug 1914464.
svn:r705
|
|
cb50f615
|
2008-03-11T05:26:30
|
|
rename lock create callback functions; as suggested by nick
svn:r691
|
|
c182baca
|
2008-03-10T03:17:20
|
|
switch thread support so that locks get allocated as they are needed.
svn:r690
|
|
6a92ec0b
|
2008-03-04T19:47:01
|
|
r18547@catbus: nickm | 2008-03-04 14:46:42 -0500
Fix compilation with --enable-gcc-warnings
svn:r689
|
|
0c49e456
|
2008-03-04T05:42:20
|
|
document thread functions
svn:r688
|
|
968fd5c0
|
2008-03-02T21:39:49
|
|
forgot this header file
svn:r685
|
|
558de9b3
|
2008-03-02T21:18:33
|
|
Provide OpenSSL style support for multiple threads accessing the same event_base
svn:r684
|
|
0322ce0a
|
2008-02-28T18:36:03
|
|
r18486@catbus: nickm | 2008-02-28 13:35:53 -0500
Make offsetof into evutil_offsetof. Be a little more willing to call evbuffer_chain_align() from evbuffer_expand(). Clarify some docs, and add some XXX comments to note questionable areas.
svn:r677
|
|
5c70ea4c
|
2008-02-28T02:47:43
|
|
improved code for evbuffer; avoids memcpy
svn:r674
|