3958 Commits

Author SHA1 Message Date
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
ebf5333f97 oops. the enums were actually creating symbols
svn:r212
2006-05-17 13:13:31 +00:00
Niels Provos
71108cd98b uhm - i obliterated a gettimeofday that was required for remapping the
timeouts to "real" time.  thanks to claudio for pointing that out.


svn:r211
2006-03-28 16:57:19 +00:00
Niels Provos
2e8051f593 introduce a way to free the base from Nick Mathewson <nickm@freehaven.net>
svn:r210
2006-03-28 04:40:54 +00:00
Niels Provos
571ac95430 use clock_gettime if available from Claudio Jeker <claudio@openbsd.org>
svn:r209
2006-03-28 04:33:41 +00:00
Niels Provos
a32839c8ec some nit-picking from poul-henning kamp
svn:r208
2006-03-28 04:17:51 +00:00
Niels Provos
7517ef2a81 some fixes from openbsd via brad
svn:r207
2006-03-28 04:16:14 +00:00
Niels Provos
682d598ada add log.c to build file; remove err.c; reported by Sreekant Sreedharan
svn:r206
2006-02-27 02:33:02 +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
f6550f407c provide strlcpy for the unenlightened libcs
svn:r203
2006-02-26 20:13:04 +00:00
Niels Provos
88bd79439d make it compile on mac os x
svn:r202
2006-02-13 04:53:58 +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
7b78c82823 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
2006-02-13 01:51:58 +00:00
Niels Provos
f296e6336a allow setting an event base for bufferevents; from phil oleson
svn:r199
2006-02-03 19:26:06 +00:00
Niels Provos
6717cf313a fix a compile problem when USE_DEBUG is enabled
svn:r198
2006-02-03 19:24:28 +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
8af2db10d9 version 1.2
svn:r195
2006-01-22 05:06:29 +00:00
Niels Provos
36bedaef19 another fix from art
svn:r194
2006-01-22 05:06:14 +00:00
Niels Provos
3c74f06f42 improved manpage from Phil Oleson
svn:r193
2006-01-21 03:04:31 +00:00
Niels Provos
1d308e8813 mostly whitespace fixes from OpenBSD via Brad
svn:r192
2005-12-17 20:25:22 +00:00
Niels Provos
686dede71b do not undefine USE_DEBUG in header file; allow CFLAGS specification; from
Stas Bekman


svn:r191
2005-12-17 20:18:10 +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
0c48c70680 windows memory corruption bug fix from I-M Weasel via Nick Mathewson.
svn:r189
2005-12-08 23:05:42 +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
9c9f065184 avoid double recacle when loop_once is used; from Richard Nyberg
svn:r187
2005-12-03 20:51:23 +00:00
Niels Provos
68292e2f45 signal handler satefy improvements from Theo DeRaadt
svn:r186
2005-12-03 17:52:47 +00:00
Niels Provos
65644dfb80 solaris kernel changes are not backwards compatible - how retarded. problem
pointed out by: Geoffrey Giesemann


svn:r185
2005-11-12 19:04:17 +00:00
Niels Provos
11a40d478e event.3
svn:r184
2005-09-20 15:59:00 +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
7000fe664d remove dos opportunity
svn:r180
2005-08-30 06:02:09 +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
32acc283c8 a few more bug fixes
svn:r177
2005-08-27 06:29:52 +00:00
Niels Provos
2813f1b0f1 constify
svn:r176
2005-08-26 02:15:54 +00:00
Niels Provos
aaf56fb61e fix API problems for get in some types
svn:r175
2005-08-23 07:43:11 +00:00
Niels Provos
6e55da606c typo
svn:r174
2005-08-22 01:39:54 +00:00
Niels Provos
e5ab86a726 make use of the built in warn/err code
svn:r173
2005-08-22 01:38:23 +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
949cbd12fa generate marshalling code based on libevent
svn:r171
2005-08-21 16:25:02 +00:00
Niels Provos
fbee901e23 correctly test against SIG_ERR
svn:r170
2005-07-14 04:09:55 +00:00
Niels Provos
e1759c7bbd fix issue with signedness warnings; from Alexander von Gernler
svn:r169
release-1.1b
2005-06-19 20:28:20 +00:00
Niels Provos
9938aaf511 treate EINVAL as per fd error in kqueue; use argument for debug macros in
poll; version 1.1a; EINVAL fix from Nick Mathewson


svn:r168
2005-06-11 21:15:22 +00:00
Niels Provos
81bd0a0687 bufferevents would not correctly detect EOF on read; reported by
Jonathan Brannan


svn:r167
2005-06-10 07:42:14 +00:00
Niels Provos
7a0c530b56 performance improvements of select handler by Nick Mathewson; I added
better recovery when memory allocation fails; something that needs to be
done for the poll improvements, too.


svn:r166
2005-05-11 04:08:51 +00:00
Niels Provos
57fafe6b5f detect kqueue bug in Mac OS X 10.4; from Nick Mathewson
svn:r165
2005-05-11 03:34:42 +00:00
Niels Provos
145c11fd6d more credits
svn:r164
2005-05-10 17:27:58 +00:00