Nick Mathewson
d7d91461c8
r14732@tombo: nickm | 2007-11-05 22:03:28 -0500
...
Quick hack to make evhttp.h build when there is no TAILQ to be found. Based on patch from Paul Fisher. We could perhaps do this more elegantly, but it _does_ need to be done.
svn:r475
2007-11-06 03:04:49 +00:00
Niels Provos
dc2317f921
improve doxygen documentation
...
svn:r473
2007-11-04 06:35:29 +00:00
Nick Mathewson
d69a4c9ec4
r15097@catbus: nickm | 2007-09-18 11:08:42 -0400
...
Wrap all newly-added Doxygen comments to fit in a consistent 80 columns, and remove all their trailing whitespace.
svn:r437
2007-09-18 15:12:20 +00:00
Nick Mathewson
7135ffb6fc
r15096@catbus: nickm | 2007-09-18 11:02:12 -0400
...
Add Doxygen documentation to header files; patch from Mark Heily.
svn:r436
2007-09-18 15:12:09 +00:00
Niels Provos
98f9616bf4
support setting local address on an evhttp_connection
...
svn:r416
2007-09-07 02:49:46 +00:00
Niels Provos
49e01ff789
include event.h in evhttp.h; found by Charles Kerr
...
svn:r404
2007-08-25 18:42:42 +00:00
Niels Provos
67947ce381
provide evhttp_new and evhttp_bind_socket instead of evhttp_start;
...
using evhttp_new, it is possible to associate an event_base with
the http server so that multi-threaded applications can have their
own http server per thread; add appropriate testing.
svn:r397
2007-08-19 02:41:23 +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
a968da7425
split finding of callbacks out of code
...
svn:r350
2007-03-06 06:26:10 +00:00
Niels Provos
fe2662384d
try to make it work with proxy-connections
...
svn:r329
2007-02-15 02:16:07 +00:00
Niels Provos
8901c141c9
make chunked requests work correctly; this is done by providing
...
a separate callback for invidiual chunks. if this callback is
not set, all the data is going to be delivered at the end.
svn:r327
2007-02-14 06:10:32 +00:00
Niels Provos
557e0f62be
http chunking support from dug song;
...
some refactoring and extra error checking by me
svn:r304
2006-12-18 15:26:19 +00:00
Niels Provos
de7db33a61
low-level interfaces for streaming; from dug song
...
i applied some bug fixes and slight re-arranged the logic
on when to call the close notification callback;
i also don't like the streaming interface; i'd rather
see it do the chunked response formatting explicitly.
svn:r298
2006-12-09 02:58:12 +00:00
Niels Provos
852d05a3c0
support retrying for connections; from dug song
...
small tweaks from me.
svn:r297
2006-12-09 01:41:57 +00:00
Niels Provos
2225eec22b
decode uri when sending a request; from dug song
...
svn:r296
2006-12-09 01:33:03 +00:00
Niels Provos
785923704c
fix a bug where event_set was called on a pending event;
...
don't read body for return codes that do not require a body;
from dug song.
svn:r294
2006-12-06 04:12:11 +00:00
Niels Provos
942656bb5c
persistent connections are somewhat complicated; detect on the client side if the
...
server closes a persistent connection. previously, we would have failed the next
request on that connection. provide test case.
svn:r277
2006-11-23 06:32:20 +00:00
Niels Provos
2d028ef6c1
fix a bug where rpc would not be scheduled when they were queued; test for it.
...
allow a configurable timeout for connections and RPCs.
svn:r274
2006-11-22 06:54:28 +00:00
Niels Provos
868f10e7c9
mingw fixes from Nick
...
svn:r271
2006-11-22 01:21:10 +00:00
Niels Provos
36212f9df0
make persistent connections work; needs more testing
...
svn:r261
2006-11-18 03:05:26 +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
f554234f74
first stab at an rpc layer; this breaks the regression test.
...
svn:r254
2006-11-16 07:36:20 +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
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
6813af3f11
move http related prototypes to evhttp.h
...
svn:r214
2006-06-10 22:37:21 +00:00