|
aa5c8068
|
2007-06-16T03:23:15
|
|
make it compile on solaris; from Andrei Nigmatulin
svn:r366
|
|
d1848a88
|
2007-06-14T04:38:42
|
|
include config.h
svn:r365
|
|
cf5c1fce
|
2007-06-08T16:06:23
|
|
made the wrong fd non-blocking in accept_socket; from szjwwu
svn:r364
|
|
3794534f
|
2007-05-29T05:38:58
|
|
change the signature of the client rpc callback to pass in an rpc status; the status
allows us to determine if an error happened.
svn:r363
|
|
f0d0559c
|
2007-05-28T21:21:59
|
|
allow DNS server to get access to the IP address for the requestor; from tor cvs via Nick Mathewson
svn:r362
|
|
5d3b6a83
|
2007-05-28T21:20:57
|
|
fail quicker on bad replies; from tor cvs via Nick Mathewson
svn:r361
|
|
d06ab856
|
2007-05-28T21:19:18
|
|
fix bug where req was freed and dereferenced afterwards; from tor cvs via Nick Mathewson
svn:r360
|
|
28246587
|
2007-05-28T21:17:35
|
|
treat SERVERFAILED as a timeout; from tor cvs via Nick Mathewson
svn:r359
|
|
5be24333
|
2007-05-28T21:09:00
|
|
solaris may return short reads on resolve.conf; fix from tor cvs via Nick Mathewson
svn:r358
|
|
d0111a29
|
2007-05-27T06:27:11
|
|
evdns_shutdown fix from Adam Langley
svn:r357
|
|
621a1b29
|
2007-05-23T05:31:33
|
|
support freeing of evrpc base
svn:r356
|
|
0c280824
|
2007-05-23T05:20:59
|
|
support removing of http callbacks and removing of registered RPCs
svn:r355
|
|
5b5400f6
|
2007-05-12T06:23:52
|
|
permit connection free from callback; from Ben Rigas
svn:r354
|
|
4408a5f8
|
2007-04-19T03:13:12
|
|
fix evbuffer_find off by one; found by Ken Cox; regression test by him
and fix by me
svn:r353
|
|
f5aa65c9
|
2007-03-22T15:09:30
|
|
man page fixes from todd miller
svn:r352
|
|
41b7cbc3
|
2007-03-10T06:37:53
|
|
more the signal base into the event base; this removes global state and makes signals
work better with threading; from Wouter Wijngaards
small fixes for kqueue and style by me
svn:r351
|
|
a968da74
|
2007-03-06T06:26:10
|
|
split finding of callbacks out of code
svn:r350
|
|
50edb19f
|
2007-03-05T07:28:15
|
|
EVRPC_MAKE_REQUEST needs the pool argument
svn:r349
|
|
fcd55934
|
2007-03-05T06:49:45
|
|
spell Oleson correctly
svn:r348
|
|
729487de
|
2007-03-03T08:27:52
|
|
better conversion; cannot use event_err here.
svn:r344
|
|
66066251
|
2007-03-03T08:18:20
|
|
proper casting for conversion
svn:r343
|
|
74f7118d
|
2007-03-03T08:16:40
|
|
install evrpc.h header
svn:r342
|
|
b5d2f9a2
|
2007-03-01T06:25:18
|
|
rolling back r339: evconfig.h does not work
svn:r341
|
|
8d94bd03
|
2007-02-28T04:29:18
|
|
signal fixes from scott lamb
svn:r340
|
|
127c260b
|
2007-02-28T04:02:29
|
|
make evconfig.h available as installed header file; not
really ideal but good enough for me; from Nick Mathewson
svn:r339
|
|
995a58a3
|
2007-02-27T08:16:50
|
|
missing return (-1) for failures on make_socket
svn:r338
|
|
f86cead0
|
2007-02-24T08:33:07
|
|
remove artifical 16-bit restriction on evrpc entries
svn:r337
|
|
4356b681
|
2007-02-20T03:35:31
|
|
remove redundant \n from event_warn
svn:r336
|
|
72a3f29d
|
2007-02-18T19:33:19
|
|
1.3a on trunk?
svn:r333
|
|
06d0f8c0
|
2007-02-16T08:48:55
|
|
O(n^2) is bad
svn:r332
|
|
73987902
|
2007-02-15T22:46:04
|
|
missing reference to strlcpy-internal
svn:r330
|
|
fe266238
|
2007-02-15T02:16:07
|
|
try to make it work with proxy-connections
svn:r329
|
|
58f42c79
|
2007-02-14T16:59:47
|
|
fix handling of chunked requests
svn:r328
|
|
8901c141
|
2007-02-14T06:10:32
|
|
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
|
|
36950cef
|
2007-02-13T06:25:16
|
|
close connections for http/1.0 unless there is keep-alive
svn:r326
|
|
19373b3d
|
2007-02-13T06:14:42
|
|
when parsing query parameters, we automatically unquote them
svn:r325
|
|
9a65d013
|
2007-02-11T07:58:39
|
|
set content length even if content-type is specified
svn:r324
|
|
ba748012
|
2007-02-09T07:52:04
|
|
add prototype for bufferevent_base_set; from thorsten glaser
svn:r323
|
|
bfb9f44f
|
2007-02-09T07:49:55
|
|
make mingw happy; from Nick Mathewson
svn:r322
|
|
faf5f73a
|
2007-02-08T16:39:15
|
|
dns server support from Nick Mathewson; tiny tweaks
to the regression test from me to make it run on
systems where stack variables get initialized with
trash.
svn:r321
|
|
3b8e27a5
|
2007-02-08T16:27:26
|
|
add people I forgot to give credit to; but in alphabetical order;
from dug song (he had to remind me of this; how embarassing)
svn:r320
|
|
121efe65
|
2007-01-27T08:38:51
|
|
small bug fixes to AAAA resolution and regression test; from Nick Mathewson!
we love regresson tests.
svn:r319
|
|
78f2aa30
|
2007-01-27T04:27:59
|
|
Allow setting of more DNS options via API; from Nick Mathewson!!!
svn:r318
|
|
b776b2da
|
2007-01-27T04:25:46
|
|
dns name compression; from Nick Mathewson!!
svn:r317
|
|
5baf8ecf
|
2007-01-27T04:23:33
|
|
minor fixes; spelling corrections; compatibility from Nick Mathewson!
svn:r316
|
|
6318fca2
|
2007-01-27T04:22:36
|
|
AAAA support for DNS; from Nick Mathewson.
unfortunately, no regression test
svn:r315
|
|
22e53c7a
|
2007-01-27T04:10:08
|
|
make it work on freebsd; from phil oleson
svn:r314
|
|
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
|