buffer.c


Log

Author Commit Date CI Message
Nick Mathewson 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
Nick Mathewson 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
Nick Mathewson 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
Nick Mathewson 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
Nick Mathewson e72661d2 2007-11-07T07:33:31 r16509@catbus: nickm | 2007-11-07 02:08:32 -0500 Stop using C++ style comments. svn:r497
Nick Mathewson 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
Niels Provos 41c69fc3 2007-08-19T17:26:02 fix typo in comments svn:r399
Niels Provos 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
Niels Provos 0c280824 2007-05-23T05:20:59 support removing of http callbacks and removing of registered RPCs svn:r355
Niels Provos 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
Niels Provos b5d2f9a2 2007-03-01T06:25:18 rolling back r339: evconfig.h does not work svn:r341
Niels Provos 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
Niels Provos 58f42c79 2007-02-14T16:59:47 fix handling of chunked requests svn:r328
Niels Provos 22e53c7a 2007-01-27T04:10:08 make it work on freebsd; from phil oleson svn:r314
Niels Provos de4e25f1 2007-01-06T02:25:50 evbuffer_find fix from Dug Song svn:r308
Niels Provos 79d2ca8c 2006-11-10T02:16:16 fix a potential problem in multiple handling of va_list; use va_copy instead; from Alejo. svn:r251
Niels Provos 9f7d28bb 2006-09-27T03:07:38 make it compile with mingw; from Nick svn:r235
Niels Provos 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
Niels Provos 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
Niels Provos 36bedaef 2006-01-22T05:06:14 another fix from art svn:r194
Niels Provos 8d1317d7 2005-12-06T03:26:28 add evbuffer_add_vprintf interface from artur grabowski; add some testing svn:r188
Niels Provos 11a40d47 2005-09-20T15:59:00 event.3 svn:r184
Niels Provos e1759c7b 2005-06-19T20:28:20 fix issue with signedness warnings; from Alexander von Gernler svn:r169
Niels Provos 81bd0a06 2005-06-10T07:42:14 bufferevents would not correctly detect EOF on read; reported by Jonathan Brannan svn:r167
Niels Provos 425fc0d5 2005-04-23T02:53:39 provide a function to read lines from buffers; comes in handy for many AscII protocols. svn:r154
Niels Provos 5e2ba12a 2005-04-14T23:28:06 fixes from alexander von gernler svn:r148
Niels Provos 32bed8f9 2005-04-01T04:20:39 build fixes from nick mathewson svn:r139
Niels Provos fbdaf3ab 2005-03-29T07:03:10 debugging callbacks from Nick Mathewson <nickm@freehaven.net> svn:r136
Niels Provos 6db3da27 2004-07-19T06:18:10 should work a little bit better with solaris compiler svn:r111
Niels Provos 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
Niels Provos de5fc619 2004-06-11T04:42:56 make it compile on systems without vasprintf svn:r107
Niels Provos 025d1bc2 2004-05-24T00:19:52 fix some of the windows compile issues; make buffer.c faster; support signals via pipes. svn:r105
Niels Provos 849d5249 2004-04-13T06:22:48 license svn:r104
Niels Provos fbf01c7f 2004-04-04T02:20:21 support for low and high watermarks svn:r101
Niels Provos 5908bd72 2004-03-23T03:43:53 provided buffered events svn:r95
Niels Provos ec2c1db4 2004-02-22T21:17:23 new event_once interface; start of buffering interface for buffered events svn:r93