|
49354138
|
2009-04-17T06:57:13
|
|
Oh hey. There is no support for suspend/unsuspend.
svn:r1187
|
|
a8f6d961
|
2009-04-17T06:56:09
|
|
Actually stop using EVBUFFER_LENGTH/DATA, and move them to buffer_compat.h
svn:r1183
|
|
796ba15f
|
2009-04-17T06:55:25
|
|
Stop claiming that APIs we have are missing.
svn:r1182
|
|
838d0a81
|
2009-04-17T06:55:08
|
|
Document many internal functions and pieces of code.
svn:r1181
|
|
93d4f884
|
2009-04-14T20:11:10
|
|
Make buffer iocp stuff compile happily
svn:r1174
|
|
b29b875d
|
2009-04-10T20:43:08
|
|
Facility to make evbuffers get their callbacks deferred.
svn:r1154
|
|
747331d1
|
2009-04-08T03:04:39
|
|
Add freeze support to evbuffers.
From the documentation:
Prevent calls that modify an evbuffer from succeeding. A buffer may
frozen at the front, at the back, or at both the front and the back.
If the front of a buffer is frozen, operations that drain data from
the front of the buffer, or that prepend data to the buffer, will
fail until it is unfrozen. If the back a buffer is frozen, operations
that append data from the buffer will fail until it is unfrozen.
We'll use this to ensure correctness on an evbuffer when we're waiting
for an overlapped IO call to finish.
svn:r1143
|
|
60e0d59b
|
2009-04-05T02:44:17
|
|
Add locking to evbuffers.
svn:r1134
|
|
f1b1bad4
|
2009-04-03T14:27:03
|
|
Make the new evbuffer callbacks use a new struct-based interface.
The old interface would fail pretty hard when we had to batch up
multiple adds and drains in a single call.
svn:r1131
|
|
f90500a5
|
2009-04-03T01:21:36
|
|
Add a new improved search function.
The old evbuffer_find didn't allow iterative searching, and forced us
to repack the buffer completely every time we searched in it. The
new evbuffer_search addresses both of these. As a side-effect, the
evbuffer_find implementation is now a little more efficient.
svn:r1130
|
|
994e8578
|
2009-03-30T17:36:22
|
|
correct evbuffer_drain documentation from John Khvatov
svn:r1127
|
|
ea4b8724
|
2009-02-02T19:22:13
|
|
checkpoint work on big bufferevent refactoring
svn:r1095
|
|
8d3a10f8
|
2009-02-01T01:43:58
|
|
Support temporarily suspending an evbuffer callback. This is different from disabling the callback, since we want to process changes, but not just yet.
svn:r1091
|
|
2e50658d
|
2009-02-01T01:07:33
|
|
Fix a typo in buffer.h
svn:r1089
|
|
66b2a7ff
|
2009-01-29T03:20:40
|
|
test evbuffer_add_reference
svn:r1068
|
|
b85b710c
|
2009-01-27T22:34:36
|
|
Update copyright statements to reflect the facts that:
a) this is 2009
b) niels and nick have been comaintainers for a while
c) saying "all rights reserved" when you then go on to explicitly
disclaim some rights is sheer cargo-cultism.
svn:r1065
|
|
fdf69493
|
2009-01-27T06:05:38
|
|
sendfile/mmap and memory reference implementation for evbuffers
svn:r1057
|
|
b93e5054
|
2009-01-27T05:33:39
|
|
second argument to evbuffer_pullup should be ssize_t
svn:r1056
|
|
81dd04a7
|
2009-01-23T18:04:34
|
|
Add a "flags" field to evbuffer callbacks.
For now, there is just one: enabled. This lets us avoid lots of
mallocs/frees/tailq-manipulations just to turn a callback on and off.
The revised bufferevent code wants this.
svn:r1047
|
|
de7f7a84
|
2009-01-23T18:03:45
|
|
Remove in_callbacks check: allow full recursion in evbuffer callbacks. If you get yourself in an infinite loop, that's not our fault. Note this in the docs. Also reindent some docs now that my tabs match Niels's.
svn:r1046
|
|
ec2f4cbc
|
2009-01-23T01:35:57
|
|
Move obsolete evbuffer function into include/event2/buffer_compat.h
svn:r1043
|
|
c735f2b4
|
2009-01-23T01:11:13
|
|
Code to allow multiple callbacks per evbuffer.
svn:r1042
|
|
84031819
|
2009-01-14T22:17:31
|
|
Make some evbuffer functions const
svn:r1010
|
|
99db0e7f
|
2009-01-12T20:42:19
|
|
Add a new evbuffer_write_atmost() functino to write no more than a given number of bytes to an fd.
svn:r993
|
|
f446f149
|
2009-01-12T20:42:06
|
|
Small cleanups to buffer.h documentation.
svn:r992
|
|
6bf1ca78
|
2008-05-12T00:40:04
|
|
r19675@catbus: nickm | 2008-05-11 20:39:39 -0400
Stop pretending that u_char and u_short are standard types that win32 is dumb not to have. In fact, u_char can really just be spelled out, and u_short was usually just a bad way of saying ev_uint16_t.
svn:r808
|
|
8acb80b4
|
2008-05-08T22:51:39
|
|
r15551@tombo: nickm | 2008-05-08 14:49:20 -0400
Use _get_ convention for new accessor functions. (These are all new ones as of 2.0, I believe).
svn:r799
|
|
f04497e4
|
2008-05-03T03:05:28
|
|
introduce evbuffer_reserve_space() and evbuffer_commit_space() to make processing in filters more efficient
svn:r757
|
|
becc89b7
|
2008-05-03T02:37:18
|
|
introduce evbuffer_contiguous_space() and use it in the zlib filter test
svn:r756
|
|
beb39f57
|
2008-04-17T19:16:30
|
|
r15218@tombo: nickm | 2008-04-17 15:10:13 -0400
Add a missing #include <stdarg.h>
svn:r715
|
|
0c843507
|
2008-04-10T19:25:11
|
|
r19301@catbus: nickm | 2008-04-10 14:54:46 -0400
Forward-port: Correct the documentation on evbuffer_add_[v]printf: Fix for bug 1914464.
svn:r705
|
|
0322ce0a
|
2008-02-28T18:36:03
|
|
r18486@catbus: nickm | 2008-02-28 13:35:53 -0500
Make offsetof into evutil_offsetof. Be a little more willing to call evbuffer_chain_align() from evbuffer_expand(). Clarify some docs, and add some XXX comments to note questionable areas.
svn:r677
|
|
5c70ea4c
|
2008-02-28T02:47:43
|
|
improved code for evbuffer; avoids memcpy
svn:r674
|