kc3-lang/libevent/bufferevent_filter.c

Branch :


Log

Author Commit Date CI Message
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
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
ac36f404 2009-02-11 05:17:27 oops; coding too quickly on nil-filter patch. Caught by niels. svn:r1115
20f809ce 2009-02-10 19:39:12 Make default (nil) filter use evbuffer_remove_buffer to respect the high-water mark of the target buffer. svn:r1109
3502a472 2009-02-02 21:24:04 convert new bufferevent_*.c files to event-config.h only. svn:r1097
ea4b8724 2009-02-02 19:22:13 checkpoint work on big bufferevent refactoring svn:r1095