kc3-lang/libevent/include

Branch :


Log

Author Commit Date CI Message
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.
94fba5b9 2011-08-10 15:58:47 Add DNS_ERR_NODATA error code to handle empty replies.
2b6eae59 2011-08-10 15:58:19 Fix docstring in dns.h
50be5a14 2011-08-11 03:06:07 Another docstring fix.
1183f7e2 2011-08-01 10:27:56 Fix typo in event_compat.h comments.
2888facc 2011-07-04 23:02:11 Revise the event/evbuffer/bufferevent doxygen for clarity and accuracy
9556a7d1 2011-05-02 23:22:09 Add missing words to EVLOOP_NONBLOCK documentation