Branch :
| Author | Commit | Date | CI | Message |
|---|---|---|---|---|
| 0b22ca19 | 2009-05-22 19:11:48 | Use ev_ssize_t in place of ssize_t *everywhere*. svn:r1309 | ||
| 8997f234 | 2009-05-21 20:59:00 | Use the native "struct iovec" as our "struct evbuffer_iovec" when available, so we do not need to copy more pointers than necessary. svn:r1299 | ||
| 23243b8a | 2009-05-19 21:39:35 | Replace reserve/commit with new iovec-based interface. Add a new evbuffer_peek. svn:r1296 | ||
| ed1bbc7a | 2009-05-18 16:15:56 | Tweak the evconnlistener interface a little. svn:r1295 | ||
| dc4c7b95 | 2009-05-15 22:44:18 | Change the interface of evbuffer_add_reference: give the cleanup function more info. svn:r1294 | ||
| bba69e03 | 2009-05-15 20:23:59 | New semantics for evbuffer_cb_set_flags(). Previously, set_flags() would replace all previous user-visible flags. Now it just sets the flags, and there is a clear_flags() function to clear other flags. svn:r1293 | ||
| b4886ec8 | 2009-05-15 18:44:44 | Trim 22 bytes from struct event on 32 bit platforms, more on 64-bit platforms. svn:r1292 | ||
| 27fef1ef | 2009-05-14 18:06:41 | Note problems with some newer evbuffer interfaces. svn:r1286 | ||
| 3e759a01 | 2009-05-14 18:06:29 | Actually, do not provide a compatibility name "EVBUFFER_CONNECTED": there is no old code that uses it. svn:r1285 | ||
| 31d89f27 | 2009-05-13 20:37:21 | Add a "ctrl" mechanism to bufferevents for property access. OpenSSL uses something like this to implement get/set access for properties on its BIOs, so that it doesn't need to add a pair of get/set functions to the vtable struct for every new abstract property it provides an accessor for. Doing this lets us make bufferevent_setfd abstract, and implement an abstract bufferevent_getfd. svn:r1284 | ||
| 83f46e51 | 2009-05-13 20:36:56 | Do not use the "evbuffer_" prefix to denote parts of bufferevents. This is a bit of an interface doozy, but it's really needed in order to be able to document this stuff without apologizing it. This patch does the following renamings: evbuffercb -> bufferevent_data_cb everrorcb -> bufferevent_event_cb EVBUFFER_(READ,WRITE,...) -> BEV_EVENT_(...) EVBUFFER_(INPUT,OUTPUT) -> bufferevent_get_(input,output) All the old names are available in event2/bufferevent_compat.h svn:r1283 | ||
| 6b21fe2b | 2009-05-05 03:01:24 | oops; do not forget to distribute listener.h svn:r1273 | ||
| 659d54d5 | 2009-05-05 02:59:26 | Add new code to make and accept connections. This is stuff that it's easy to get wrong (as I noticed when writing bench_http), and that takes up a fair amount of space (see http.c). Also, it's something that we'll eventually want to abstract to use IOCP, where available. svn:r1272 | ||
| 0fd70978 | 2009-05-05 01:09:03 | Add an event_get_base() function to remove one more reason to include event_struct.h svn:r1271 | ||
| d5ca0763 | 2009-05-02 16:23:29 | Move event_set() and friends to event2/event_compat.h. These functions are deprecated in favor of event_assign(). svn:r1267 | ||
| b2e8fd0e | 2009-04-30 23:56:53 | Apparently MSVC lacks a ssize_t. Define an ev_ssize_t for headers, and make ssize_t work elsewhere. svn:r1261 | ||
| 19594141 | 2009-04-29 20:48:21 | Clarify semantics on event_pending() svn:r1249 | ||
| a146af1d | 2009-04-25 00:15:55 | move more code directly into evrpc.c; provide backwards compatible vararg macros svn:r1244 | ||
| b228ff91 | 2009-04-25 00:15:31 | remove vararg macros for accessing evrpc structs svn:r1243 | ||
| bbf79707 | 2009-04-25 00:14:58 | refactor evrpc.h header filer svn:r1241 | ||
| 11ff74cf | 2009-04-22 19:41:23 | Add a flag to disable checking the EVENT_* environment variables. svn:r1220 | ||
| ea8cc76c | 2009-04-21 18:47:23 | Fix the documentation of event_pending. svn:r1215 | ||
| eda27f95 | 2009-04-19 20:54:12 | Update copyright notices, add some missing license statements svn:r1208 | ||
| f00f0c25 | 2009-04-18 04:34:45 | make doxygen happier svn:r1199 | ||
| a98a512b | 2009-04-17 23:12:34 | Add a generic way for any bufferevent to make its callback deferred svn:r1197 | ||
| d047b323 | 2009-04-17 17:22:32 | Increment version to 2.0.1-alpha, and add a numeric version facility svn:r1193 | ||
| 49354138 | 2009-04-17 06:57:13 | Oh hey. There is no support for suspend/unsuspend. svn:r1187 | ||
| 7fa8451d | 2009-04-17 06:56:57 | Add a configure flag to hardcode all of our mm functions. svn:r1186 | ||
| a8f6d961 | 2009-04-17 06:56:09 | Actually stop using EVBUFFER_LENGTH/DATA, and move them to buffer_compat.h svn:r1183 | ||
| 796ba15f | 2009-04-17 06:55:25 | Stop claiming that APIs we have are missing. svn:r1182 | ||
| 838d0a81 | 2009-04-17 06:55:08 | Document many internal functions and pieces of code. svn:r1181 | ||
| 30648529 | 2009-04-17 01:03:07 | have evhttp_set_cb return an int; -1 on failure, 0 on success; this is better than returning a pointer svn:r1179 | ||
| 93d4f884 | 2009-04-14 20:11:10 | Make buffer iocp stuff compile happily svn:r1174 | ||
| 915193e7 | 2009-04-13 03:17:19 | Locking support for bufferevents. svn:r1170 | ||
| 1becc4c4 | 2009-04-13 03:08:11 | Refactor new elements of bufferevent into bufferevent_private structure This way we don't expose more of a bufferevent than we need to. One motivation is to make it easier to automatically get deferred callbacks with a bufferevent without exposing the deferred_cb structure. svn:r1169 | ||
| 6567ecd4 | 2009-04-13 03:07:37 | Remove if0 code in bufferevent_struct.h svn:r1168 | ||
| 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 |