|
6d3ed065
|
2009-01-14T14:58:48
|
|
Simplify evbuffer_write logic: combine nearly all of WSASend and writev cases.
svn:r1004
|
|
bab8f2e1
|
2009-01-13T22:02:32
|
|
Fix compilation on win32 WSASend evbuffer_write() code.
Still not enabled until I make sure that the unit tests test this. They _do_ pass.
svn:r1003
|
|
169321c9
|
2009-01-13T20:26:37
|
|
Rename four internal headers to follow the -internal.h convention.
svn:r1000
|
|
822ca048
|
2009-01-13T19:34:50
|
|
Untested (and compiled-out) evbuffer_write backend to use WSASend on win32 where we use writev on unix.
svn:r998
|
|
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
|
|
e711ce45
|
2008-06-21T06:10:10
|
|
reintroduce a memmove when there is enough misalignment to hold the new data; otherwise the size of the buffer may grow without bounds
svn:r857
|
|
9586a1cb
|
2008-06-01T16:21:24
|
|
fix an evbuffer corruption when adding an empty evbuffer; from Scott Lamb
svn:r845
|
|
c6da86ff
|
2008-05-12T16:44:24
|
|
r19709@catbus: nickm | 2008-05-12 12:42:48 -0400
Possible fix for [1960723] snprintf and vsnprintf return values are wrong on win32
svn:r813
|
|
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
|
|
49868b61
|
2008-04-25T01:18:08
|
|
r15316@tombo: nickm | 2008-04-24 20:58:36 -0400
Rename internal memory management functions from event_malloc() etc to mm_malloc() etc.
svn:r725
|
|
0ac73078
|
2008-04-16T20:01:51
|
|
r15193@tombo: nickm | 2008-04-16 16:00:35 -0400
Split event.h into several new headers in include/event2. event.h is now just a wrapper that includes all the subheaders.
svn:r711
|
|
193c06a7
|
2008-03-31T02:04:34
|
|
fix a bug in which evbuffer_add_vfprintf would loop forever; avoid
fragmentation in evbuffer_expand by increasing the size of the last buffer
in the chain; as a result with have to keep track of the previous_to_last
chain; provide a evbuffer_validate() function in the regression test to
make sure that all evbuffer are internally consistent.
svn:r699
|
|
00382110
|
2008-02-29T05:23:49
|
|
address nick's comments and make evbuffer_pullup more efficient
svn:r680
|
|
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
|
|
d71da6f7
|
2008-02-28T17:47:30
|
|
r18484@catbus: nickm | 2008-02-28 12:47:20 -0500
Use event_warn() function, not fprintf-to-stderr.
svn:r676
|
|
0e7cbe65
|
2008-02-28T17:38:52
|
|
r18482@catbus: nickm | 2008-02-28 12:38:40 -0500
Fix GCC 4.2 warnings; fix includes in subdirs.
svn:r675
|
|
5c70ea4c
|
2008-02-28T02:47:43
|
|
improved code for evbuffer; avoids memcpy
svn:r674
|
|
67bf29ad
|
2008-02-23T06:02:04
|
|
simplify evbuffer by removing orig_buffer
svn:r654
|
|
1120f04f
|
2007-11-25T21:53:06
|
|
r16731@catbus: nickm | 2007-11-25 16:52:53 -0500
Replace all fds on non-unix-specific APIs with evutil_socket_t, which is int on unix and intptr_t on win32.
svn:r552
|
|
6773a597
|
2007-11-25T21:32:26
|
|
r14953@tombo: nickm | 2007-11-25 15:56:40 -0500
Replace evbuffer_readline with a more powerful evbuffer_readln that can handle more EOL styles, and that can give useful results when there are NUL characters inside the returned values. Includes regression tests.
svn:r550
|
|
7eb250e9
|
2007-11-25T17:14:19
|
|
r14939@tombo: nickm | 2007-11-25 11:59:26 -0500
New function event_set_mem_functions to replace internal calls to malloc, free, etc with a user-supplied functions.
svn:r541
|
|
4e1ec3e0
|
2007-11-07T21:01:26
|
|
Make all the C files in the libraries compile under MSVC 2005 Express. There are still a few warnings, and probably some subtle issues, but it's better than nothing.
svn:r499
|
|
e72661d2
|
2007-11-07T07:33:31
|
|
r16509@catbus: nickm | 2007-11-07 02:08:32 -0500
Stop using C++ style comments.
svn:r497
|
|
db43c1e1
|
2007-09-20T19:36:03
|
|
On win32, sockets apparently can't be used with ReadFile and WriteFile: You need send() and recv() instead. Also, you need to use ioctlsocket() with sockets, not ioctl. [Fixes evbuffer regression tests.]
svn:r448
|
|
41c69fc3
|
2007-08-19T17:26:02
|
|
fix typo in comments
svn:r399
|
|
f0ff792a
|
2007-06-30T18:58:34
|
|
fixes from Joerg Sonnenberger:
http.c is a violation of the ctype(3) interface and an unused function.
test/regress_http.c are incorrect format strings.
test/regress.c uses raise(3) from signal.h.
evdns.c: evdns_error_strings is unused. The GET* macros can eat the
semicolon from the expression. pos is passed in as off_t, so just pass
that down. When assigning negativ values to unsigned variables, an
explicit cast is considered good style.
svn:r367
|
|
0c280824
|
2007-05-23T05:20:59
|
|
support removing of http callbacks and removing of registered RPCs
svn:r355
|
|
4408a5f8
|
2007-04-19T03:13:12
|
|
fix evbuffer_find off by one; found by Ken Cox; regression test by him
and fix by me
svn:r353
|
|
b5d2f9a2
|
2007-03-01T06:25:18
|
|
rolling back r339: evconfig.h does not work
svn:r341
|
|
127c260b
|
2007-02-28T04:02:29
|
|
make evconfig.h available as installed header file; not
really ideal but good enough for me; from Nick Mathewson
svn:r339
|
|
58f42c79
|
2007-02-14T16:59:47
|
|
fix handling of chunked requests
svn:r328
|
|
22e53c7a
|
2007-01-27T04:10:08
|
|
make it work on freebsd; from phil oleson
svn:r314
|
|
de4e25f1
|
2007-01-06T02:25:50
|
|
evbuffer_find fix from Dug Song
svn:r308
|
|
79d2ca8c
|
2006-11-10T02:16:16
|
|
fix a potential problem in multiple handling of va_list; use va_copy instead;
from Alejo.
svn:r251
|
|
9f7d28bb
|
2006-09-27T03:07:38
|
|
make it compile with mingw; from Nick
svn:r235
|
|
896bf3a2
|
2006-02-13T02:22:48
|
|
many changes for fixing a small bug: post requests would not send the post
data. I took the opportunity to reorganize a bit.
svn:r201
|
|
7b78c828
|
2006-02-13T01:51:58
|
|
limit the amount of data bufferevents are going to consume to something
reasonable; in some circumstances it could happen that libevent happily
allocated 100MB in read buffers without telling the user; found by
christopher maxwell - parts of these changes are from his patch.
svn:r200
|
|
36bedaef
|
2006-01-22T05:06:14
|
|
another fix from art
svn:r194
|
|
8d1317d7
|
2005-12-06T03:26:28
|
|
add evbuffer_add_vprintf interface from artur grabowski; add some testing
svn:r188
|
|
11a40d47
|
2005-09-20T15:59:00
|
|
event.3
svn:r184
|
|
e1759c7b
|
2005-06-19T20:28:20
|
|
fix issue with signedness warnings; from Alexander von Gernler
svn:r169
|
|
81bd0a06
|
2005-06-10T07:42:14
|
|
bufferevents would not correctly detect EOF on read; reported by
Jonathan Brannan
svn:r167
|
|
425fc0d5
|
2005-04-23T02:53:39
|
|
provide a function to read lines from buffers; comes in handy for many
AscII protocols.
svn:r154
|
|
5e2ba12a
|
2005-04-14T23:28:06
|
|
fixes from alexander von gernler
svn:r148
|
|
32bed8f9
|
2005-04-01T04:20:39
|
|
build fixes from nick mathewson
svn:r139
|
|
fbdaf3ab
|
2005-03-29T07:03:10
|
|
debugging callbacks from Nick Mathewson <nickm@freehaven.net>
svn:r136
|
|
6db3da27
|
2004-07-19T06:18:10
|
|
should work a little bit better with solaris compiler
svn:r111
|
|
44d88ea6
|
2004-07-13T08:02:45
|
|
change evbuffer_read so that it reads directly into the memory allocated to
the evbuffer; this avoids one unnecessary data copy.
svn:r110
|
|
de5fc619
|
2004-06-11T04:42:56
|
|
make it compile on systems without vasprintf
svn:r107
|
|
025d1bc2
|
2004-05-24T00:19:52
|
|
fix some of the windows compile issues; make buffer.c faster; support
signals via pipes.
svn:r105
|
|
849d5249
|
2004-04-13T06:22:48
|
|
license
svn:r104
|
|
fbf01c7f
|
2004-04-04T02:20:21
|
|
support for low and high watermarks
svn:r101
|
|
5908bd72
|
2004-03-23T03:43:53
|
|
provided buffered events
svn:r95
|
|
ec2c1db4
|
2004-02-22T21:17:23
|
|
new event_once interface; start of buffering interface for buffered events
svn:r93
|