1305 Commits

Author SHA1 Message Date
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
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
296739e022 fix regression test
svn:r223
2006-08-13 00:03:35 +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
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
38b33048eb make a simple test for HTTP POST requests
svn:r205
2006-02-27 02:27:37 +00:00
Niels Provos
60192b4625 improved/well-completely rewritten rtsig support by Mathew Mills; fix some
cases where regress would not pass on Linux


svn:r204
2006-02-26 20:18:35 +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
c398d78811 disable bufferevent after we have received the data that we care for.
svn:r197
2006-02-02 22:36:37 +00:00
Niels Provos
a3bb4a035f I often need some very simple HTTP functionality, so this is a first stab
at integrating something really simple with HTTP.  The interface is still
evolving as I start messing with it.  Not all the interfaces are properly
exported yet.

I am also trying to figure out how to intelligently hide the details about
the different structures from users, so that that things can be changed
around later.


svn:r196
2006-01-22 05:08:50 +00:00
Niels Provos
139e862e32 do not remove kq inkernel flag before event_del gets to it; bug reported by
Tassilo von Parseval; also add a test for this behavior.


svn:r190
2005-12-17 20:15:25 +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
50f7aaef6b make it compile on mac os x
svn:r183
2005-09-09 06:56:12 +00:00
Niels Provos
3b9b3f6b7e don't spam on stderr
svn:r182
2005-09-02 05:34:14 +00:00
Niels Provos
acafd9942f make it run on older shells; from tor user via Nick Mathewson <nickm@freehaven.net>
svn:r181
2005-09-02 05:34:01 +00:00
Niels Provos
5c5145dc1c oops forgot this one
svn:r179
2005-08-29 07:23:51 +00:00
Niels Provos
b4ab56dc04 support for arrays on structs.
svn:r178
2005-08-28 23:48:16 +00:00
Niels Provos
c4e60994a2 including the tagging code that is required by event_rpcgen.py; test the
new functionality.


svn:r172
2005-08-22 01:34:34 +00:00
Niels Provos
fbee901e23 correctly test against SIG_ERR
svn:r170
2005-07-14 04:09:55 +00:00
Niels Provos
fdfa743ccc libtoolize; from Nick Mathewson
svn:r153
2005-04-23 02:48:49 +00:00
Niels Provos
bc9b24876b make it compile on solaris
svn:r142
2005-04-04 00:10:17 +00:00
Niels Provos
1e128e2d05 fix bug that broke poll/select stuff
svn:r141
2005-04-03 07:46:27 +00:00
Niels Provos
d85d47f8ca devpoll improvements from Andrew Danforth <adanforth@gmail.com>
svn:r137
2005-03-29 07:16:52 +00:00
Niels Provos
256460459e provide more base-based functions :-)
svn:r125
2004-12-01 20:04:54 +00:00
Niels Provos
f5a62ed30e make a separate verify target
svn:r124
2004-12-01 19:59:00 +00:00
Niels Provos
8773c4c96c make libevent thread-safe; first cut
svn:r122
2004-11-25 09:50:18 +00:00
Niels Provos
fa6c304d9e support for event priorities; active events are scheduled into priority queues;
lower priorities get always processed before higher priorities


svn:r120
2004-09-19 21:08:09 +00:00
Niels Provos
98c1426992 fix compiler warning
svn:r115
2004-07-30 05:03:55 +00:00
Niels Provos
d829ccea3d fix a warning on freebsd;
svn:r114
2004-07-30 05:00:44 +00:00
Niels Provos
06aaa92fe2 devpoll support
svn:r113
2004-07-30 04:57:21 +00:00
Niels Provos
6f2f98bd26 make it compile on solaris
svn:r112
2004-07-20 06:12:30 +00:00
Niels Provos
ee739151a1 make the sockets non-blocking; increase the data size for bufferevent
testing


svn:r109
2004-07-13 08:01:05 +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
57a51a161d provide more regression tests
svn:r98
2004-04-04 02:19:08 +00:00
Niels Provos
1d66008bbf make it work with more shells
svn:r86
2003-10-05 22:02:49 +00:00
Niels Provos
98af43a351 3-clause license and changes to the benchmark by davide
svn:r85
2003-10-04 23:33:04 +00:00
Niels Provos
ec70653b61 more tests
svn:r81
2003-09-25 17:55:17 +00:00
Niels Provos
c61a2547e2 __FUNCTION__ -> __func__
svn:r80
2003-09-25 03:30:49 +00:00
Niels Provos
012a0b53e1 add benchmark
svn:r59
2003-03-10 05:39:41 +00:00
Niels Provos
ebb73c0db8 simple bench mark
svn:r57
2003-03-10 04:56:41 +00:00
Niels Provos
34d794b293 some cleanup
svn:r56
2003-03-09 23:29:57 +00:00
Niels Provos
d5009e8ad6 -g
svn:r55
2003-03-09 23:29:26 +00:00
Niels Provos
adf0bb84cd another test
svn:r53
2003-03-08 20:14:39 +00:00
Niels Provos
33b1c6c474 include config.h
svn:r49
2003-03-08 14:44:08 +00:00
Niels Provos
481799afd2 add persist test
svn:r47
2003-03-08 14:21:14 +00:00
Niels Provos
bedded8230 more comprehensive regression test
svn:r46
2003-03-08 06:39:30 +00:00