Niels Provos
d7918e7963
drop illegal header values
...
svn:r370
2007-07-30 21:27:33 +00:00
Niels Provos
b15d715cbc
make event_rpcgen.py use the uint_ types;
...
make event.h include stdint.h (wonder which OS that will break)
svn:r369
2007-07-06 03:36:31 +00:00
Niels Provos
753ffa563b
convert u_int8_t types to uint8_t types
...
svn:r368
2007-06-30 19:08:46 +00:00
Niels Provos
f0ff792afa
fixes from Joerg Sonnenberger:
...
http.c is a violation of the ctype(3) interface and an unused function.
test/regress_http.c are incorrect format strings.
test/regress.c uses raise(3) from signal.h.
evdns.c: evdns_error_strings is unused. The GET* macros can eat the
semicolon from the expression. pos is passed in as off_t, so just pass
that down. When assigning negativ values to unsigned variables, an
explicit cast is considered good style.
svn:r367
2007-06-30 18:58:34 +00:00
Niels Provos
aa5c806888
make it compile on solaris; from Andrei Nigmatulin
...
svn:r366
2007-06-16 03:23:15 +00:00
Niels Provos
d1848a8872
include config.h
...
svn:r365
2007-06-14 04:38:42 +00:00
Niels Provos
cf5c1fcebb
made the wrong fd non-blocking in accept_socket; from szjwwu
...
svn:r364
2007-06-08 16:06:23 +00:00
Niels Provos
3794534feb
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
2007-05-29 05:38:58 +00:00
Niels Provos
f0d0559c3e
allow DNS server to get access to the IP address for the requestor; from tor cvs via Nick Mathewson
...
svn:r362
2007-05-28 21:21:59 +00:00
Niels Provos
5d3b6a8387
fail quicker on bad replies; from tor cvs via Nick Mathewson
...
svn:r361
2007-05-28 21:20:57 +00:00
Niels Provos
d06ab8569e
fix bug where req was freed and dereferenced afterwards; from tor cvs via Nick Mathewson
...
svn:r360
2007-05-28 21:19:18 +00:00
Niels Provos
28246587c0
treat SERVERFAILED as a timeout; from tor cvs via Nick Mathewson
...
svn:r359
2007-05-28 21:17:35 +00:00
Niels Provos
5be24333ae
solaris may return short reads on resolve.conf; fix from tor cvs via Nick Mathewson
...
svn:r358
2007-05-28 21:09:00 +00:00
Niels Provos
d0111a29e9
evdns_shutdown fix from Adam Langley
...
svn:r357
2007-05-27 06:27:11 +00:00
Niels Provos
621a1b2947
support freeing of evrpc base
...
svn:r356
2007-05-23 05:31:33 +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
5b5400f66b
permit connection free from callback; from Ben Rigas
...
svn:r354
2007-05-12 06:23:52 +00:00
Niels Provos
4408a5f8fc
fix evbuffer_find off by one; found by Ken Cox; regression test by him
...
and fix by me
svn:r353
2007-04-19 03:13:12 +00:00
Niels Provos
f5aa65c9b3
man page fixes from todd miller
...
svn:r352
2007-03-22 15:09:30 +00:00
Niels Provos
41b7cbc381
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
2007-03-10 06:37:53 +00:00
Niels Provos
a968da7425
split finding of callbacks out of code
...
svn:r350
2007-03-06 06:26:10 +00:00
Niels Provos
50edb19f17
EVRPC_MAKE_REQUEST needs the pool argument
...
svn:r349
2007-03-05 07:28:15 +00:00
Niels Provos
fcd55934ae
spell Oleson correctly
...
svn:r348
2007-03-05 06:49:45 +00:00
Niels Provos
729487deb3
better conversion; cannot use event_err here.
...
svn:r344
2007-03-03 08:27:52 +00:00
Niels Provos
660662517c
proper casting for conversion
...
svn:r343
2007-03-03 08:18:20 +00:00
Niels Provos
74f7118d66
install evrpc.h header
...
svn:r342
2007-03-03 08:16:40 +00:00
Niels Provos
b5d2f9a255
rolling back r339: evconfig.h does not work
...
svn:r341
2007-03-01 06:25:18 +00:00
Niels Provos
8d94bd03eb
signal fixes from scott lamb
...
svn:r340
2007-02-28 04:29:18 +00:00
Niels Provos
127c260bb7
make evconfig.h available as installed header file; not
...
really ideal but good enough for me; from Nick Mathewson
svn:r339
2007-02-28 04:02:29 +00:00
Niels Provos
995a58a374
missing return (-1) for failures on make_socket
...
svn:r338
2007-02-27 08:16:50 +00:00
Niels Provos
f86cead099
remove artifical 16-bit restriction on evrpc entries
...
svn:r337
2007-02-24 08:33:07 +00:00
Niels Provos
4356b68133
remove redundant \n from event_warn
...
svn:r336
2007-02-20 03:35:31 +00:00
Niels Provos
72a3f29da3
1.3a on trunk?
...
svn:r333
2007-02-18 19:33:19 +00:00
Niels Provos
06d0f8c082
O(n^2) is bad
...
svn:r332
2007-02-16 08:48:55 +00:00
Niels Provos
7398790296
missing reference to strlcpy-internal
...
svn:r330
2007-02-15 22:46:04 +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
58f42c79e7
fix handling of chunked requests
...
svn:r328
2007-02-14 16:59:47 +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
36950cef58
close connections for http/1.0 unless there is keep-alive
...
svn:r326
2007-02-13 06:25:16 +00:00
Niels Provos
19373b3dda
when parsing query parameters, we automatically unquote them
...
svn:r325
2007-02-13 06:14:42 +00:00
Niels Provos
9a65d0135f
set content length even if content-type is specified
...
svn:r324
2007-02-11 07:58:39 +00:00
Niels Provos
ba748012ba
add prototype for bufferevent_base_set; from thorsten glaser
...
svn:r323
2007-02-09 07:52:04 +00:00
Niels Provos
bfb9f44f37
make mingw happy; from Nick Mathewson
...
svn:r322
2007-02-09 07:49:55 +00:00
Niels Provos
faf5f73a69
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
2007-02-08 16:39:15 +00:00
Niels Provos
3b8e27a58f
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
2007-02-08 16:27:26 +00:00
Niels Provos
121efe6530
small bug fixes to AAAA resolution and regression test; from Nick Mathewson!
...
we love regresson tests.
svn:r319
2007-01-27 08:38:51 +00:00
Niels Provos
78f2aa300c
Allow setting of more DNS options via API; from Nick Mathewson!!!
...
svn:r318
2007-01-27 04:27:59 +00:00
Niels Provos
b776b2da72
dns name compression; from Nick Mathewson!!
...
svn:r317
2007-01-27 04:25:46 +00:00
Niels Provos
5baf8ecf69
minor fixes; spelling corrections; compatibility from Nick Mathewson!
...
svn:r316
2007-01-27 04:23:33 +00:00
Niels Provos
6318fca29e
AAAA support for DNS; from Nick Mathewson.
...
unfortunately, no regression test
svn:r315
2007-01-27 04:22:36 +00:00