Branch :
| Author | Commit | Date | CI | Message |
|---|---|---|---|---|
| 17efc1cd | 2010-03-04 01:25:51 | Update all our copyright notices to say "2010" | ||
| cc1600af | 2010-03-02 17:00:06 | Improve the speed of evbuffer_readln() This makes some cases of bench_http about 5% faster. Our internal evbuffer_strpbrk() function was overly general (it tried to handle all character sets when we only used it for "\r\n"), and not very efficient (it called memchr once for each character in the buffer until it found a \r or a \n). It actually showed up in some profiles for HTTP testing, since evbuffer_readln() calls it when doing loose CRLF detection. This patch replaces it with a faster implementation. | ||
| b2fbeb3f | 2010-02-22 15:38:23 | Make bufferevent_free() clear all callbacks immediately. This should end the family of bugs where we call bufferevent_free() while a pending callback is holding a reference on the bufferevent, and the callback tries to invoke the user callbacks before it releases its own final reference. This means that bufferevent_decref() is now a separate function from bufferevent_free(). | ||
| e5bbd40a | 2010-02-18 17:41:15 | Clean up formatting: use tabs, not 8-spaces, to indent. | ||
| 7116bf23 | 2010-02-15 21:03:52 | Fix two unlocked reads in evbuffer. Some initializers (in evbuffer_read and evbuffer_commit) were reading the last and/or previous_to_last fields without grabbing the evbuffer lock. This may fix a hard-to-trigger race condition or two. | ||
| 3fe60fdf | 2010-02-12 23:40:13 | Use off_t for the length parameter of evbuffer_add_file | ||
| 29151e65 | 2010-01-06 18:42:59 | Fix byte counts when mixing deferred and non-deferred evbuffer callbacks. This patch finishes 390e0561, which was somehow committed in a half-finished state. It solves a failing unit test on windows. | ||
| a47d88d7 | 2009-12-23 07:53:19 | Replace some cases of uint32_t with ev_uint32_t. Spotted by Roman Puls. | ||
| 390e0561 | 2009-12-22 15:52:02 | Fix up behavior of never-defered callbacks a little | ||
| 438f9ed2 | 2009-11-23 15:53:24 | Add the abilitity to mark some buffer callbacks as never-deferred. |