kc3-lang/libevent/include/event2/bufferevent.h

Branch :


Log

Author Commit Date CI Message
3c824bd3 2011-10-24 13:18:09 Update copyright dates to 2011.
2888facc 2011-07-04 23:02:11 Revise the event/evbuffer/bufferevent doxygen for clarity and accuracy
c8baac90 2011-03-07 21:55:47 Followup for Tomash Brechko's http patch This patch makes bufferevent_disable_hard() non-public, and adds a comment about what it's for and why it's used.
5dc56628 2011-02-24 12:30:40 Workaround libevent bug https://sourceforge.net/tracker/index.php?func=detail&aid=3078187&group_id=50884&atid=461324 The problem is that bufferevent_disable() doesn't disable EV_WRITE when 'connecting' flag is set. However from evhttp_connection_reset() we want to disable EV_WRITE for sure (we are closing the socket next). So we add bufferevent_disable_hard(), which acts like bufferevent_disable(), but resets 'connecting' flag before the call to the actual handler. TODO: bufferevent_disable_hard() shouldn't be public, remove it from event2/bufferevent.h.
2cbb1a16 2010-10-26 10:27:29 Make rate-limits go up to SIZE_MAX/EV_SSIZE_MAX, not just INT32_MAX Someday, when networks are far faster and people frequently want a burst value greater than 2GB per tick, this will seem very forsightful indeed. For now, it breaks ABI, but not source. Fixes bug 3092096.
70e1b607 2010-10-21 14:05:04 Document that two bufferevent functions only work on socket bufferevents
aab49b60 2010-10-21 14:04:24 Add a bufferevent_get_base function
ec347b92 2010-07-07 16:45:03 Move event-config.h to include/event2 This change means that all required include files are in event2, and all files not in event2/* are optional.
6ae53d67 2010-08-04 15:44:08 Add an interface to expose min_share in ratelimiting groups
215e629c 2010-06-21 12:26:21 Add bufferevent_lock()/bufferevent_unlock() Although bufferevent operations are threadsafe, sometimes you need to make sure that a few operations on a single bufferevent will all be executed with nothing intervening. That's what these functions are for.