|
4922f342
|
2007-01-27T04:06:52
|
|
extern "C" guard for header file.
assert activeq in event.c;
from Phil Oelson.
svn:r313
|
|
b04043ae
|
2007-01-21T17:28:55
|
|
fix ddos in dns parsing due to infinite loop;
patch from Nick Mathewson; also received
notification from Jon Oberheide.
svn:r311
|
|
d5d04949
|
2007-01-18T06:28:42
|
|
fix http server so it can accept on high ports;
better warning messages for getnameinfo;
from Philip Lewis
svn:r310
|
|
ff122207
|
2007-01-10T02:42:29
|
|
make accept socket non-blocking; from dug song
svn:r309
|
|
de4e25f1
|
2007-01-06T02:25:50
|
|
evbuffer_find fix from Dug Song
svn:r308
|
|
ba8289be
|
2007-01-04T18:05:17
|
|
from dug song:
the original code failed in the case of a large single client
request+body write - for instance, over loopback (with a larger MTU
exceeding EVBUFFER_MAX_READ).
svn:r307
|
|
0db257b8
|
2007-01-03T07:11:17
|
|
rename strlcpy so that it does not conflict with other tests; from
Nick Mathewson.
svn:r306
|
|
894b6365
|
2006-12-23T07:30:10
|
|
fix a bug in an assert; from Weston Andros Adamson
svn:r305
|
|
557e0f62
|
2006-12-18T15:26:19
|
|
http chunking support from dug song;
some refactoring and extra error checking by me
svn:r304
|
|
0147ef3a
|
2006-12-12T04:02:07
|
|
From Nick Mathewson:
This patch resets the successive timeout count to zero when:
- A nameserver comes up
- We receive a reply from a nameserver
- We decide to not use the nameserver for a while because of its
timeout count.
This patch also changes the timeout threshold from 3 to 5 seconds.
svn:r303
|
|
a91d2b2b
|
2006-12-12T03:51:30
|
|
do close-detection via a separate event
svn:r301
|
|
04bdb248
|
2006-12-09T05:14:37
|
|
detect if a client to a streaming reply hangs up; from dug song
comments from me :-)
svn:r300
|
|
de7db33a
|
2006-12-09T02:58:12
|
|
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
|
|
852d05a3
|
2006-12-09T01:41:57
|
|
support retrying for connections; from dug song
small tweaks from me.
svn:r297
|
|
2225eec2
|
2006-12-09T01:33:03
|
|
decode uri when sending a request; from dug song
svn:r296
|
|
78592370
|
2006-12-06T04:12:11
|
|
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
|
|
c6e285d3
|
2006-12-06T03:38:41
|
|
allow gotsig to terminate active event loop;
free http connection on failed incoming connections;
bugs pointed out by Dug Song.
svn:r293
|
|
ec067919
|
2006-12-02T21:28:39
|
|
fix cases where there is no content or transfer encoding was specified
from Dug Song
svn:r291
|
|
7fe5edf5
|
2006-12-02T21:25:21
|
|
use CLOCK_REALTIME when CLOCK_MONOTONIC is not available; from Phil Oleson
svn:r290
|
|
c1aa5480
|
2006-11-26T16:13:17
|
|
support #define in .rpc descriptions
svn:r278
|
|
942656bb
|
2006-11-23T06:32:20
|
|
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
|
|
3882669d
|
2006-11-23T05:27:15
|
|
transaction id fixes from richard nyberg; return correct
error code when file for resolv.conf cannot be found.
svn:r276
|
|
30a49b57
|
2006-11-22T07:30:34
|
|
test that rpc timeouts work correctly
svn:r275
|
|
2d028ef6
|
2006-11-22T06:54:28
|
|
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
|
|
ce436242
|
2006-11-22T05:03:02
|
|
an attempt at differentiated error handling for timeouts and eof.
really this needs to be propagated all the way to the callback.
svn:r273
|
|
51fde166
|
2006-11-22T04:35:56
|
|
forgot to add this
svn:r272
|
|
868f10e7
|
2006-11-22T01:21:10
|
|
mingw fixes from Nick
svn:r271
|
|
4aa780d6
|
2006-11-20T07:57:36
|
|
don't require string literal for message name
svn:r270
|
|
ff43ed5b
|
2006-11-20T07:44:37
|
|
finish RPC client support
svn:r269
|
|
fda1216b
|
2006-11-20T03:32:53
|
|
generate client request code via macro; flesh out the pools a little bit.
svn:r268
|
|
3a15f7d4
|
2006-11-19T02:03:43
|
|
make it work with python2.2
svn:r267
|
|
226fd50a
|
2006-11-18T21:27:42
|
|
use more python builtins; dont use reserved keywords
svn:r266
|
|
31ba30ab
|
2006-11-18T08:51:12
|
|
make regression test work for poll and select
svn:r265
|
|
1a64c982
|
2006-11-18T07:30:21
|
|
some compilers don't like C99 inline variable declaration
svn:r264
|
|
ddf70659
|
2006-11-18T03:52:27
|
|
forgot ifdef guard around stdint.h
svn:r263
|
|
9d81ac48
|
2006-11-18T03:43:26
|
|
test both piplining on persistent and non-persistent connections
svn:r262
|
|
36212f9d
|
2006-11-18T03:05:26
|
|
make persistent connections work; needs more testing
svn:r261
|
|
d2c27da1
|
2006-11-18T02:10:25
|
|
introduce is connection close
svn:r260
|
|
a67d9cb1
|
2006-11-17T07:45:42
|
|
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
|
|
c4836d10
|
2006-11-17T06:06:17
|
|
make sure that the rpc callback receives an unmarshaled payload;
make sure that the rpc reply contains a good rpc structure, too.
svn:r258
|
|
1caff9bc
|
2006-11-16T15:59:42
|
|
we indicate a failed request by removing the uri from the request object
svn:r257
|
|
44bd5ab4
|
2006-11-16T08:49:26
|
|
prefix was missing /; malformed request caused server to crash
svn:r256
|
|
9d9d60b1
|
2006-11-16T08:21:27
|
|
forgot to add file
svn:r255
|
|
f554234f
|
2006-11-16T07:36:20
|
|
first stab at an rpc layer; this breaks the regression test.
svn:r254
|
|
768aa15c
|
2006-11-12T00:59:56
|
|
don't need to include getopt here
svn:r253
|
|
79d2ca8c
|
2006-11-10T02:16:16
|
|
fix a potential problem in multiple handling of va_list; use va_copy instead;
from Alejo.
svn:r251
|
|
025b009b
|
2006-11-05T17:24:24
|
|
fail without leaking memory when poll set extension fails
svn:r249
|
|
d6989659
|
2006-10-28T03:20:22
|
|
fix a potential memory leak in event_once from Scott Lamb
svn:r244
|
|
3eec7f7c
|
2006-10-15T21:55:13
|
|
make it 1.2; fix some size issues for printf in regression code
svn:r242
|
|
ea52d9fd
|
2006-10-15T21:41:56
|
|
improved nroff mdoc for the man page
svn:r241
|
|
152f5700
|
2006-10-09T01:55:23
|
|
install evdns.3 man page
svn:r240
|
|
cf47f86b
|
2006-10-09T00:48:42
|
|
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
|
|
fe1dfe0f
|
2006-10-05T22:59:44
|
|
sync evdns changes with tor - from Nick Mathewson
svn:r238
|
|
b6b933af
|
2006-10-04T03:45:10
|
|
Protect EVENT_* macros - () were missing
svn:r237
|
|
9f7d28bb
|
2006-09-27T03:07:38
|
|
make it compile with mingw; from Nick
svn:r235
|
|
64c76fbe
|
2006-09-03T21:12:59
|
|
typo in kqueue delete; from Bert JW Regeer
svn:r232
|
|
e9c1e3f7
|
2006-08-28T00:57:49
|
|
introduce evdns_init() which works on windows and unix.
svn:r231
|
|
07c3fb50
|
2006-08-27T20:04:20
|
|
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
|
|
e80e52ce
|
2006-08-27T19:43:00
|
|
include evdns.h header - fix windows distribution files
svn:r229
|
|
b0b5e2c2
|
2006-08-26T04:34:43
|
|
document that read and write callbacks may be NULL.
svn:r228
|
|
c1eec7aa
|
2006-08-26T04:32:31
|
|
allow both read and write callbacks for bufferevents to be NULL
svn:r227
|
|
52bfcab8
|
2006-08-24T06:10:50
|
|
rename eventdns to evdns to match libevent naming scheme
svn:r226
|
|
d0d8f9b4
|
2006-08-13T06:59:37
|
|
configure evdns and make it compile
svn:r225
|
|
cca7249e
|
2006-08-13T06:33:45
|
|
unmodified eventdns from Adam Langley via tor repository
svn:r224
|
|
296739e0
|
2006-08-13T00:03:35
|
|
fix regression test
svn:r223
|
|
4596f82e
|
2006-08-11T15:20:10
|
|
windows makefile fixes from branch
svn:r222
|
|
49ef242f
|
2006-08-09T01:04:12
|
|
add back the original sun copyright block
svn:r219
|
|
94af961f
|
2006-07-18T06:35:48
|
|
get rid of err.h
svn:r218
|
|
ba7262eb
|
2006-07-17T00:33:57
|
|
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
|
|
00bc7e37
|
2006-07-15T02:55:57
|
|
1.2-rc1; Solaris' event port support from Dave Pacheco
svn:r216
|
|
f0ecf507
|
2006-07-15T02:39:31
|
|
need to report one less file descriptor to solaris then the limit; reported
by Dave Pacheco
svn:r215
|
|
6813af3f
|
2006-06-10T22:37:21
|
|
move http related prototypes to evhttp.h
svn:r214
|
|
147b71e3
|
2006-06-10T22:28:21
|
|
rename http.h to http-internal.h - i wish there were decent refactoring tools
for open source programmers.
svn:r213
|
|
ebf5333f
|
2006-05-17T13:13:31
|
|
oops. the enums were actually creating symbols
svn:r212
|
|
71108cd9
|
2006-03-28T16:57:19
|
|
uhm - i obliterated a gettimeofday that was required for remapping the
timeouts to "real" time. thanks to claudio for pointing that out.
svn:r211
|
|
2e8051f5
|
2006-03-28T04:40:54
|
|
introduce a way to free the base from Nick Mathewson <nickm@freehaven.net>
svn:r210
|
|
571ac954
|
2006-03-28T04:33:41
|
|
use clock_gettime if available from Claudio Jeker <claudio@openbsd.org>
svn:r209
|
|
a32839c8
|
2006-03-28T04:17:51
|
|
some nit-picking from poul-henning kamp
svn:r208
|
|
7517ef2a
|
2006-03-28T04:16:14
|
|
some fixes from openbsd via brad
svn:r207
|
|
682d598a
|
2006-02-27T02:33:02
|
|
add log.c to build file; remove err.c; reported by Sreekant Sreedharan
svn:r206
|
|
38b33048
|
2006-02-27T02:27:37
|
|
make a simple test for HTTP POST requests
svn:r205
|
|
60192b46
|
2006-02-26T20:18:35
|
|
improved/well-completely rewritten rtsig support by Mathew Mills; fix some
cases where regress would not pass on Linux
svn:r204
|
|
f6550f40
|
2006-02-26T20:13:04
|
|
provide strlcpy for the unenlightened libcs
svn:r203
|
|
88bd7943
|
2006-02-13T04:53:58
|
|
make it compile on mac os x
svn:r202
|
|
896bf3a2
|
2006-02-13T02:22:48
|
|
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
|
|
7b78c828
|
2006-02-13T01:51:58
|
|
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
|
|
f296e633
|
2006-02-03T19:26:06
|
|
allow setting an event base for bufferevents; from phil oleson
svn:r199
|
|
6717cf31
|
2006-02-03T19:24:28
|
|
fix a compile problem when USE_DEBUG is enabled
svn:r198
|
|
c398d788
|
2006-02-02T22:36:37
|
|
disable bufferevent after we have received the data that we care for.
svn:r197
|
|
a3bb4a03
|
2006-01-22T05:08:50
|
|
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
|
|
8af2db10
|
2006-01-22T05:06:29
|
|
version 1.2
svn:r195
|
|
36bedaef
|
2006-01-22T05:06:14
|
|
another fix from art
svn:r194
|
|
3c74f06f
|
2006-01-21T03:04:31
|
|
improved manpage from Phil Oleson
svn:r193
|
|
1d308e88
|
2005-12-17T20:25:22
|
|
mostly whitespace fixes from OpenBSD via Brad
svn:r192
|
|
686dede7
|
2005-12-17T20:18:10
|
|
do not undefine USE_DEBUG in header file; allow CFLAGS specification; from
Stas Bekman
svn:r191
|
|
139e862e
|
2005-12-17T20:15:25
|
|
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
|
|
0c48c706
|
2005-12-08T23:05:42
|
|
windows memory corruption bug fix from I-M Weasel via Nick Mathewson.
svn:r189
|
|
8d1317d7
|
2005-12-06T03:26:28
|
|
add evbuffer_add_vprintf interface from artur grabowski; add some testing
svn:r188
|
|
9c9f0651
|
2005-12-03T20:51:23
|
|
avoid double recacle when loop_once is used; from Richard Nyberg
svn:r187
|
|
68292e2f
|
2005-12-03T17:52:47
|
|
signal handler satefy improvements from Theo DeRaadt
svn:r186
|