282 Commits

Author SHA1 Message Date
Nick Mathewson
e72661d2ff r16509@catbus: nickm | 2007-11-07 02:08:32 -0500
Stop using C++ style comments.


svn:r497
2007-11-07 07:33:31 +00:00
Nick Mathewson
db43c1e111 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
2007-09-20 19:36:03 +00:00
Niels Provos
41c69fc335 fix typo in comments
svn:r399
2007-08-19 17:26:02 +00:00
Niels Provos
f0ff792afa 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
2007-06-30 18:58:34 +00:00
Niels Provos
0c2808246a support removing of http callbacks and removing of registered RPCs
svn:r355
2007-05-23 05:20:59 +00:00
Niels Provos
4408a5f8fc fix evbuffer_find off by one; found by Ken Cox; regression test by him
and fix by me


svn:r353
2007-04-19 03:13:12 +00:00
Niels Provos
b5d2f9a255 rolling back r339: evconfig.h does not work
svn:r341
2007-03-01 06:25:18 +00:00
Niels Provos
127c260bb7 make evconfig.h available as installed header file; not
really ideal but good enough for me; from Nick Mathewson


svn:r339
2007-02-28 04:02:29 +00:00
Niels Provos
58f42c79e7 fix handling of chunked requests
svn:r328
2007-02-14 16:59:47 +00:00
Niels Provos
22e53c7a84 make it work on freebsd; from phil oleson
svn:r314
2007-01-27 04:10:08 +00:00
Niels Provos
de4e25f1d0 evbuffer_find fix from Dug Song
svn:r308
2007-01-06 02:25:50 +00:00
Niels Provos
79d2ca8cac fix a potential problem in multiple handling of va_list; use va_copy instead;
from Alejo.


svn:r251
2006-11-10 02:16:16 +00:00
Niels Provos
9f7d28bb81 make it compile with mingw; from Nick
svn:r235
2006-09-27 03:07:38 +00:00
Niels Provos
896bf3a260 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
2006-02-13 02:22:48 +00:00
Niels Provos
7b78c82823 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
2006-02-13 01:51:58 +00:00
Niels Provos
36bedaef19 another fix from art
svn:r194
2006-01-22 05:06:14 +00:00
Niels Provos
8d1317d71c add evbuffer_add_vprintf interface from artur grabowski; add some testing
svn:r188
2005-12-06 03:26:28 +00:00
Niels Provos
11a40d478e event.3
svn:r184
2005-09-20 15:59:00 +00:00
Niels Provos
e1759c7bbd fix issue with signedness warnings; from Alexander von Gernler
svn:r169
2005-06-19 20:28:20 +00:00
Niels Provos
81bd0a0687 bufferevents would not correctly detect EOF on read; reported by
Jonathan Brannan


svn:r167
2005-06-10 07:42:14 +00:00
Niels Provos
425fc0d574 provide a function to read lines from buffers; comes in handy for many
AscII protocols.


svn:r154
2005-04-23 02:53:39 +00:00
Niels Provos
5e2ba12a89 fixes from alexander von gernler
svn:r148
2005-04-14 23:28:06 +00:00
Niels Provos
32bed8f9b6 build fixes from nick mathewson
svn:r139
2005-04-01 04:20:39 +00:00
Niels Provos
fbdaf3ab62 debugging callbacks from Nick Mathewson <nickm@freehaven.net>
svn:r136
2005-03-29 07:03:10 +00:00
Niels Provos
6db3da27e2 should work a little bit better with solaris compiler
svn:r111
2004-07-19 06:18:10 +00:00
Niels Provos
44d88ea606 change evbuffer_read so that it reads directly into the memory allocated to
the evbuffer; this avoids one unnecessary data copy.


svn:r110
2004-07-13 08:02:45 +00:00
Niels Provos
de5fc61928 make it compile on systems without vasprintf
svn:r107
2004-06-11 04:42:56 +00:00
Niels Provos
025d1bc220 fix some of the windows compile issues; make buffer.c faster; support
signals via pipes.


svn:r105
2004-05-24 00:19:52 +00:00
Niels Provos
849d524912 license
svn:r104
2004-04-13 06:22:48 +00:00
Niels Provos
fbf01c7f04 support for low and high watermarks
svn:r101
2004-04-04 02:20:21 +00:00
Niels Provos
5908bd7213 provided buffered events
svn:r95
2004-03-23 03:43:53 +00:00
Niels Provos
ec2c1db47e new event_once interface; start of buffering interface for buffered events
svn:r93
2004-02-22 21:17:23 +00:00