kc3-lang/libevent/include

Branch :


Log

Author Commit Date CI Message
d2794e65 2009-04-11 15:26:29 document evhttp_parse_query better svn:r1157
b29b875d 2009-04-10 20:43:08 Facility to make evbuffers get their callbacks deferred. svn:r1154
decdacfa 2009-04-10 20:42:53 Better explanation for bufferevent_pair svn:r1153
23085c92 2009-04-10 15:01:31 Add a linked-pair abstraction to bufferevents. The new bufferevent_pair abstraction works like a set of buferevent_sockets connected by a socketpair, except that it doesn't require a socketpair, and therefore doesn't need to get the kernel involved. It's also a good way to make sure that deferred callbacks work. It's a good use case for deferred callbacks: before I implemented them, the recursive relationship between the evbuffer callback and the read callback would make the unit tests overflow the stack. svn:r1152
747331d1 2009-04-08 03:04:39 Add freeze support to evbuffers. From the documentation: Prevent calls that modify an evbuffer from succeeding. A buffer may frozen at the front, at the back, or at both the front and the back. If the front of a buffer is frozen, operations that drain data from the front of the buffer, or that prepend data to the buffer, will fail until it is unfrozen. If the back a buffer is frozen, operations that append data from the buffer will fail until it is unfrozen. We'll use this to ensure correctness on an evbuffer when we're waiting for an overlapped IO call to finish. svn:r1143
d2e9caa6 2009-04-06 20:38:19 Fix evdns_cancel to alert callback and free associated RAM. Also, we add a test to make sure evdns_cancel is working properly. svn:r1139
60e0d59b 2009-04-05 02:44:17 Add locking to evbuffers. svn:r1134
f1b1bad4 2009-04-03 14:27:03 Make the new evbuffer callbacks use a new struct-based interface. The old interface would fail pretty hard when we had to batch up multiple adds and drains in a single call. svn:r1131
f90500a5 2009-04-03 01:21:36 Add a new improved search function. The old evbuffer_find didn't allow iterative searching, and forced us to repack the buffer completely every time we searched in it. The new evbuffer_search addresses both of these. As a side-effect, the evbuffer_find implementation is now a little more efficient. svn:r1130
994e8578 2009-03-30 17:36:22 correct evbuffer_drain documentation from John Khvatov svn:r1127
ec35eb55 2009-02-12 22:19:54 Make threading functions global, like the mm_ functions. Use the libevent_pthread.la library in regress_pthread. svn:r1121
77c80b8d 2009-02-11 17:24:11 New bind-to option to allow DNS clients to bind to arbitrary ports for their outgoing addresses. svn:r1119
acaf65c3 2009-02-11 17:23:32 Make evutil_parse_sockaddr_port give a useful socket-length output. svn:r1118
c7b2f8fd 2009-02-10 19:38:05 New function to abstract SO_REUSEADDR. svn:r1102
4d92e426 2009-02-02 19:22:27 forward-port: Make evdns_resolve_reverse args const. svn:r1096
ea4b8724 2009-02-02 19:22:13 checkpoint work on big bufferevent refactoring svn:r1095
8d3a10f8 2009-02-01 01: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-01 01:07:33 Fix a typo in buffer.h svn:r1089
66b2a7ff 2009-01-29 03:20:40 test evbuffer_add_reference svn:r1068
b85b710c 2009-01-27 22: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-27 21:10:31 Remove all trailing whitespace in all the source files. svn:r1063
fdf69493 2009-01-27 06:05:38 sendfile/mmap and memory reference implementation for evbuffers svn:r1057
b93e5054 2009-01-27 05:33:39 second argument to evbuffer_pullup should be ssize_t svn:r1056
c0712b16 2009-01-26 17:29:45 Initial documentation for evdns server functions. Also deprecate the one that didn't take an event_base. svn:r1054
bdbd5e0e 2009-01-26 17:09:37 For every deprecated function, explain why it is deprecated and what you should call instead. svn:r1052
52a75f18 2009-01-26 17:09:22 Documentation (or more accurate documentation) for a few more functions. svn:r1051
dddd58ba 2009-01-26 17:09:09 Reformat util.h slightly so that it looks ok with 8-char tabs. svn:r1050
765ff1b9 2009-01-24 17:38:27 really install the buffer_compat.h file svn:r1048
81dd04a7 2009-01-23 18: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-23 18: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-23 02:04:41 also install the buffer_compat.h header file svn:r1044
ec2f4cbc 2009-01-23 01:35:57 Move obsolete evbuffer function into include/event2/buffer_compat.h svn:r1043
c735f2b4 2009-01-23 01:11:13 Code to allow multiple callbacks per evbuffer. svn:r1042
f20902a2 2009-01-22 17:56:15 Remove evperiodic_assign and its related parts: its functionality is subsumed by EV_PERSIST timeouts. svn:r1040
56ea4687 2009-01-22 02: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-21 07:51:25 New functions to provide sane threading callbacks with pthreads and win32 threading implementations. svn:r1031
ec4cfa33 2009-01-19 01: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-14 22:17:46 Note the one restriction on what you can do with the evbuffers of a bufferevent. svn:r1011
84031819 2009-01-14 22:17:31 Make some evbuffer functions const svn:r1010
99db0e7f 2009-01-12 20: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-12 20:42:06 Small cleanups to buffer.h documentation. svn:r992
cfbd1680 2009-01-02 20:46:26 Add another function to parse the common address:port combination formats into a sockaddr. svn:r984
0d9d5cfe 2009-01-02 20:46:12 New functions in evutil to clone inet_pton and inet_ntop, with tests. Adapted from Tor code. svn:r983
87be18da 2008-12-25 16:25:37 implement evdns_cancel_request; test one of the new evdns_base functions svn:r980
d776f846 2008-12-23 22: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-23 16: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-03 20:09:13 Implement increased DSN-poisoning resistance via the 0x20 hack. svn:r958
cdf9453a 2008-11-28 20:55:11 install the header files, too svn:r956
1c765b78 2008-11-28 20: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-16 23: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-05 16: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-11 15: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-26 00:40:57 correct handling of trailing headers in chunked replies; from Scott Lamb. svn:r887
21f76156 2008-06-25 16:32:47 change min_heap_idx to signed svn:r883
99a1063e 2008-06-21 02:21:25 support 64-bit integers in rpc structs svn:r856
344c2b56 2008-06-02 05: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-01 01:19:08 do not define a variable in a header file; it will lead to duplicate symbols when linking svn:r844
f9707a01 2008-05-31 18:57:21 we need to declare the enum first before it can be used; c++ compilation errors svn:r843
05965921 2008-05-31 14:37:31 Add new functions to access backends by their features and to query the features of a backend. svn:r842
39400e68 2008-05-30 16: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-17 02:14:17 constify struct timeval * svn:r836
a68de252 2008-05-15 03: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-13 03:42:47 document chunked replies plus fix doxygen warnings svn:r815
c6da86ff 2008-05-12 16: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-12 03:12:09 allow cancelation of user initiated http requests; this will allow cancelation of rpc requests eventually svn:r812
6bf1ca78 2008-05-12 00: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-11 16:22:35 more accessors for evhttp_request svn:r807
7bbe185b 2008-05-10 06:32:53 evhttp_request_uri -> evhttp_request_get_uri svn:r805
7868ab5a 2008-05-09 04: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-08 22: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-08 15: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-08 15:38:31 svn:r797
a26442c5 2008-05-08 14: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-08 07:00:16 deprecate timeout_* event functions by moving them to event_compat.h svn:r791
de1c4392 2008-05-08 06:15:04 migrate evhttp to event2; accessors are still missing svn:r790
3f56e364 2008-05-08 05:56:20 event_base_new_with_config() and related methods svn:r789
3b2022ef 2008-05-08 05:33:15 provide an api for retrieving the supported event mechanisms svn:r788
0a804f3c 2008-05-07 21:51:49 r19641@catbus: nickm | 2008-05-07 17:51:26 -0400 Forward-port: Fix win32 vc-2005 build. svn:r786
957e9fd8 2008-05-05 17: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-05 15: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-05 15: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-03 22:14:44 make event_assign void; it cannot return an error svn:r763
1d30750b 2008-05-03 22:10:09 support for periodic timeouts svn:r762
8c750eaf 2008-05-03 21:37:33 separate signal events from io events svn:r760
f04497e4 2008-05-03 03:05:28 introduce evbuffer_reserve_space() and evbuffer_commit_space() to make processing in filters more efficient svn:r757
becc89b7 2008-05-03 02:37:18 introduce evbuffer_contiguous_space() and use it in the zlib filter test svn:r756
5fbc7f0a 2008-05-02 16: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-30 01:01:57 improve documentation for bufferevent.h svn:r750
682adc44 2008-04-30 00:09:16 support input/output filters for bufferevents svn:r748
9626a421 2008-04-29 18: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-27 20:40:56 introduce bufferevent_setcb and bufferevent_setfd to allow better manipulation of bufferevents svn:r737
dd183f7c 2008-04-27 00:32:10 provide bufferevent_input and bufferevent_output without requiring knowledge of the structure svn:r734
3278012f 2008-04-26 00:35:17 expose bufferevent_setwatermark via header files and fix high watermark on read svn:r729
89f63b20 2008-04-25 02:44:46 add bufferevent_read_buffer function svn:r728
94fb4d0a 2008-04-25 01: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-17 19:16:30 r15218@tombo: nickm | 2008-04-17 15:10:13 -0400 Add a missing #include <stdarg.h> svn:r715
963ae2cf 2008-04-16 21:01:31 r15212@tombo: nickm | 2008-04-16 17:01:21 -0400 Remove some needless includes svn:r712
0ac73078 2008-04-16 20: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-10 19: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-11 05:26:30 rename lock create callback functions; as suggested by nick svn:r691