kc3-lang/libevent/include

Branch :


Log

Author Commit Date CI Message
117e3273 2012-06-14 13:25:10 Add GCC annotations so that the vsprintf functions get checked properly
d1a03b2f 2012-04-03 18:31:08 Backport: provide EVENT_LOG_* names, and deprecate _EVENT_LOG_* This is a partial backport of cb9da0bf and a backport of c9635349. Because C doesn't like us to declare identifiers starting with an underscore, Libevent 2.1 has renamed every such identifier. The only change that affects a public API is that the _EVENT_LOG_* macros have been renamed to start with EVENT_LOG instead. The old names are still present, but deprecated. I'm doing this backport because it represents the deprecation of a Libevent 2.0 interface, and folks should have the opportunity to write code that isn't deprecated and works with both 2.0 and 2.1.
98e9119f 2012-03-25 18:56:15 Fix a typo in the bufferevent documentation
e49e2891 2012-02-10 17:29:53 Update copyright notices to 2012
da70fa70 2011-12-14 16:17:19 Backport evhttp_connection_get_bufferevent to Libevent 2.0 Backport by Arno Bakker; original implementation in 8d3a8500f4
7bbf6ca7 2011-12-08 14:36:32 Slightly clarify evbuffer_peek documentation
3c824bd3 2011-10-24 13:18:09 Update copyright dates to 2011.
724bfb56 2011-10-19 22:59:47 Add note about evhttp_send_reply_end to its doxygen
ba5c27d4 2011-10-10 08:24:43 refer to non-deprecated evdns functions in comments
0ba0af9c 2011-09-29 09:30:04 Prefer mmap to sendfile unless a DRAINS_TO_FD flag is set. Allows add_file to work with SSL. The sendfile() implementation for evbuffer_add_file is potentially more efficient, but it has a problem: you can only use it to send bytes over a socket using sendfile(). If you are writing bytes via SSL_send() or via a filter, or if you need to be able to inspect your buffer, it doesn't work. As an easy fix, this patch disables the sendfile-based implementation of evbuffer_add_file on an evbuffer unless the user sets a new EVBUFFER_FLAG_DRAINS_TO_FD flag on that evbuffer, indicating that the evbuffer will not be inspected, but only written out via evbuffer_write(), evbuffer_write_atmost(), or drained with stuff like evbuffer_drain() or evbuffer_add_buffer(). This flag is off by default, except for evbuffers used for output on bufferevent_socket. In the future, it could be interesting to make a best-effort file segment implementation that tries to send via sendfile, but mmaps on demand. That's too much complexity for a stable release series, though.