Branch :
| Author | Commit | Date | CI | Message |
|---|---|---|---|---|
| c54c2358 | 2011-10-12 00:39:22 | Credit a patch from a one-named user | ||
| 4d9529fc | 2011-10-12 00:22:17 | Increment version to 2.0.15-stable | ||
| 7c3e0612 | 2011-10-12 00:16:12 | Add changelog for 2.0.15-stable | ||
| ba5c27d4 | 2011-10-10 08:24:43 | refer to non-deprecated evdns functions in comments | ||
| 706aa5f4 | 2011-10-06 15:11:50 | Merge remote-tracking branch 'github/20_addfile_ssl' into patches-2.0 | ||
| 39c0cf7c | 2011-10-03 12:49:02 | Fix some "value never used" warnings with gcc 4.6.1 | ||
| 2b768479 | 2011-10-03 12:45:36 | Make write-checking fixes use tt_fail_perror | ||
| c3b62fd7 | 2011-07-12 13:05:36 | Fixed compiler warnings for unchecked read/write calls. | ||
| 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. | ||
| 1ef1f684 | 2011-09-28 09:22:17 | Make evbuffer callbacks get the right n_added value after evbuffer_add Patch from Alex. |