5104 Commits

Author SHA1 Message Date
Niels Provos
868f10e7c9 mingw fixes from Nick
svn:r271
2006-11-22 01:21:10 +00:00
Niels Provos
4aa780d6ad don't require string literal for message name
svn:r270
2006-11-20 07:57:36 +00:00
Niels Provos
ff43ed5b33 finish RPC client support
svn:r269
2006-11-20 07:44:37 +00:00
Niels Provos
fda1216b6e generate client request code via macro; flesh out the pools a little bit.
svn:r268
2006-11-20 03:32:53 +00:00
Niels Provos
3a15f7d4e4 make it work with python2.2
svn:r267
2006-11-19 02:03:43 +00:00
Niels Provos
226fd50a99 use more python builtins; dont use reserved keywords
svn:r266
2006-11-18 21:27:42 +00:00
Niels Provos
31ba30abfe make regression test work for poll and select
svn:r265
2006-11-18 08:51:12 +00:00
Niels Provos
1a64c982eb some compilers don't like C99 inline variable declaration
svn:r264
2006-11-18 07:30:21 +00:00
Niels Provos
ddf70659ad forgot ifdef guard around stdint.h
svn:r263
2006-11-18 03:52:27 +00:00
Niels Provos
9d81ac48f8 test both piplining on persistent and non-persistent connections
svn:r262
2006-11-18 03:43:26 +00:00
Niels Provos
36212f9df0 make persistent connections work; needs more testing
svn:r261
2006-11-18 03:05:26 +00:00
Niels Provos
d2c27da114 introduce is connection close
svn:r260
2006-11-18 02:10:25 +00:00
Niels Provos
a67d9cb115 add "Connection: close" to the output headers of the HTTP server reply;
we don't currently support persistent connections; although that's going
to be easy to add.


svn:r259
2006-11-17 07:45:42 +00:00
Niels Provos
c4836d1053 make sure that the rpc callback receives an unmarshaled payload;
make sure that the rpc reply contains a good rpc structure, too.


svn:r258
2006-11-17 06:06:17 +00:00
Niels Provos
1caff9bcc8 we indicate a failed request by removing the uri from the request object
svn:r257
2006-11-16 15:59:42 +00:00
Niels Provos
44bd5ab4e0 prefix was missing /; malformed request caused server to crash
svn:r256
2006-11-16 08:49:26 +00:00
Niels Provos
9d9d60b1ff forgot to add file
svn:r255
2006-11-16 08:21:27 +00:00
Niels Provos
f554234f74 first stab at an rpc layer; this breaks the regression test.
svn:r254
2006-11-16 07:36:20 +00:00
Niels Provos
768aa15c77 don't need to include getopt here
svn:r253
2006-11-12 00:59:56 +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
025b009bb6 fail without leaking memory when poll set extension fails
svn:r249
2006-11-05 17:24:24 +00:00
Niels Provos
d698965928 fix a potential memory leak in event_once from Scott Lamb
svn:r244
2006-10-28 03:20:22 +00:00
Niels Provos
3eec7f7c64 make it 1.2; fix some size issues for printf in regression code
svn:r242
2006-10-15 21:55:13 +00:00
Niels Provos
ea52d9fd8d improved nroff mdoc for the man page
svn:r241
2006-10-15 21:41:56 +00:00
Niels Provos
152f570047 install evdns.3 man page
svn:r240
2006-10-09 01:55:23 +00:00
Niels Provos
cf47f86b74 put the evdns documentation into the header file. pathetic start of evdns manpage. a little bit
more testing and debug output for the DNS regression test.   add a BSD copyright to evdns.h with
appropriate explanations.


svn:r239
2006-10-09 00:48:42 +00:00
Niels Provos
fe1dfe0f40 sync evdns changes with tor - from Nick Mathewson
svn:r238
2006-10-05 22:59:44 +00:00
Niels Provos
b6b933af5c Protect EVENT_* macros - () were missing
svn:r237
2006-10-04 03:45:10 +00:00
Niels Provos
9f7d28bb81 make it compile with mingw; from Nick
svn:r235
2006-09-27 03:07:38 +00:00
Niels Provos
64c76fbea4 typo in kqueue delete; from Bert JW Regeer
svn:r232
2006-09-03 21:12:59 +00:00
Niels Provos
e9c1e3f7f0 introduce evdns_init() which works on windows and unix.
svn:r231
2006-08-28 00:57:49 +00:00
Niels Provos
07c3fb5067 add a simple regression test for the DNS resolver; requires internet access.
do some KNF on evdns.c; add checks to prevent potential buffer overflows.
fix one memory leak.


svn:r230
2006-08-27 20:04:20 +00:00
Niels Provos
e80e52ceb7 include evdns.h header - fix windows distribution files
svn:r229
2006-08-27 19:43:00 +00:00
Niels Provos
b0b5e2c2ac document that read and write callbacks may be NULL.
svn:r228
2006-08-26 04:34:43 +00:00
Niels Provos
c1eec7aae5 allow both read and write callbacks for bufferevents to be NULL
svn:r227
2006-08-26 04:32:31 +00:00
Niels Provos
52bfcab894 rename eventdns to evdns to match libevent naming scheme
svn:r226
2006-08-24 06:10:50 +00:00
Niels Provos
d0d8f9b468 configure evdns and make it compile
svn:r225
2006-08-13 06:59:37 +00:00
Niels Provos
cca7249ed6 unmodified eventdns from Adam Langley via tor repository
svn:r224
2006-08-13 06:33:45 +00:00
Niels Provos
296739e022 fix regression test
svn:r223
2006-08-13 00:03:35 +00:00
Niels Provos
4596f82e17 windows makefile fixes from branch
svn:r222
2006-08-11 15:20:10 +00:00
Niels Provos
49ef242f6e add back the original sun copyright block
svn:r219
2006-08-09 01:04:12 +00:00
Niels Provos
94af961f36 get rid of err.h
svn:r218
2006-07-18 06:35:48 +00:00
Niels Provos
ba7262ebdf reorganization of the http functionality; we separate http handling into a
connection object and a request object; also make it clear which buffers are
used for input and output; unittests not complete yet.


svn:r217
2006-07-17 00:33:57 +00:00
Niels Provos
00bc7e37fd 1.2-rc1; Solaris' event port support from Dave Pacheco
svn:r216
2006-07-15 02:55:57 +00:00
Niels Provos
f0ecf50727 need to report one less file descriptor to solaris then the limit; reported
by Dave Pacheco


svn:r215
2006-07-15 02:39:31 +00:00
Niels Provos
6813af3f11 move http related prototypes to evhttp.h
svn:r214
2006-06-10 22:37:21 +00:00
Niels Provos
147b71e33c rename http.h to http-internal.h - i wish there were decent refactoring tools
for open source programmers.


svn:r213
2006-06-10 22:28:21 +00:00
Niels Provos
ebf5333f97 oops. the enums were actually creating symbols
svn:r212
2006-05-17 13:13:31 +00:00
Niels Provos
71108cd98b uhm - i obliterated a gettimeofday that was required for remapping the
timeouts to "real" time.  thanks to claudio for pointing that out.


svn:r211
2006-03-28 16:57:19 +00:00
Niels Provos
2e8051f593 introduce a way to free the base from Nick Mathewson <nickm@freehaven.net>
svn:r210
2006-03-28 04:40:54 +00:00