Nick Mathewson
2888faccd1
Revise the event/evbuffer/bufferevent doxygen for clarity and accuracy
2011-07-05 13:01:07 -04:00
Nick Mathewson
17efc1cdfa
Update all our copyright notices to say "2010"
2010-03-04 01:38:48 -05:00
Nick Mathewson
b85b710cf5
Update copyright statements to reflect the facts that:
...
a) this is 2009
b) niels and nick have been comaintainers for a while
c) saying "all rights reserved" when you then go on to explicitly
disclaim some rights is sheer cargo-cultism.
svn:r1065
2009-01-27 22:34:36 +00:00
Nick Mathewson
7defe4cbc1
r15549@tombo: nickm | 2008-05-08 11:53:11 -0400
...
Make new http headers include minimal parts of event2/ tree; make old evhttp.h incldue event.h, since the old one did too.
svn:r798
2008-05-08 15:55:09 +00:00
Niels Provos
de1c43926b
migrate evhttp to event2; accessors are still missing
...
svn:r790
2008-05-08 06:15:04 +00:00
Niels Provos
f2a81fbc67
add support for virtual http hosts; no tests yet
...
svn:r771
2008-05-05 07:17:05 +00:00
Niels Provos
f940eb4b8d
fix a bug where it was not possible to bind multiple sockets to the same http
...
server; test that binding multiple sockets works.
svn:r769
2008-05-04 22:21:29 +00:00
Niels Provos
5786d5255a
improve doxygen documentation for evhttp.h - still incomplete
...
svn:r768
2008-05-04 20:05:39 +00:00
Nick Mathewson
98dc98c59f
r15346@tombo: nickm | 2008-04-29 17:19:18 -0400
...
Remove the never-exported, never-used, never-threadsafe evhttp_hostportfile()
svn:r746
2008-04-29 21:19:26 +00:00
Nick Mathewson
4cff82bb4f
r15339@tombo: nickm | 2008-04-29 14:03:48 -0400
...
Note that evhttp_hostportfile is not threadsafe, and so its usage will change. Mark its first argument const. Remove a now-redundant declaration for it in http-internal.h.
svn:r743
2008-04-29 18:11:10 +00:00
Niels Provos
72a3902e5c
test some primitives from http.c
...
svn:r739
2008-04-29 00:24:00 +00:00
Niels Provos
0b114da2b6
introduce evhttp_accept_socket() to accept from an already created socket
...
svn:r666
2008-02-26 03:12:07 +00:00
Niels Provos
b14cd655d1
add support (without tests!) to PUT/DELETE requests; from Josh Rotenberg
...
svn:r662
2008-02-25 07:49:22 +00:00
Nick Mathewson
d47907a730
r14213@tombo: nickm | 2008-02-16 15:48:07 -0500
...
Patch from Scott Lamb: make http content length into a 64-bit value.
svn:r641
2008-02-16 20:50:02 +00:00
Niels Provos
955c6abf53
pausing an rpc via a hook needs to deal with the fact that http callbacks free the request after they return; provide a way for a callback to take ownership of the request structure; the user then needs to explicitly free it.
...
svn:r620
2007-12-28 00:36:47 +00:00
Niels Provos
f175befac9
small improvements to evhttp documentation
...
svn:r562
2007-11-29 04:03:36 +00:00
Nick Mathewson
1120f04f3e
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
2007-11-25 21:53:06 +00:00
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