]> granicus.if.org Git - libevent/log
libevent
18 years agofinish RPC client support
Niels Provos [Mon, 20 Nov 2006 07:44:37 +0000 (07:44 +0000)]
finish RPC client support

svn:r269

18 years agogenerate client request code via macro; flesh out the pools a little bit.
Niels Provos [Mon, 20 Nov 2006 03:32:53 +0000 (03:32 +0000)]
generate client request code via macro; flesh out the pools a little bit.

svn:r268

18 years agomake it work with python2.2
Niels Provos [Sun, 19 Nov 2006 02:03:43 +0000 (02:03 +0000)]
make it work with python2.2

svn:r267

18 years agouse more python builtins; dont use reserved keywords
Niels Provos [Sat, 18 Nov 2006 21:27:42 +0000 (21:27 +0000)]
use more python builtins; dont use reserved keywords

svn:r266

18 years agomake regression test work for poll and select
Niels Provos [Sat, 18 Nov 2006 08:51:12 +0000 (08:51 +0000)]
make regression test work for poll and select

svn:r265

18 years agosome compilers don't like C99 inline variable declaration
Niels Provos [Sat, 18 Nov 2006 07:30:21 +0000 (07:30 +0000)]
some compilers don't like C99 inline variable declaration

svn:r264

18 years agoforgot ifdef guard around stdint.h
Niels Provos [Sat, 18 Nov 2006 03:52:27 +0000 (03:52 +0000)]
forgot ifdef guard around stdint.h

svn:r263

18 years agotest both piplining on persistent and non-persistent connections
Niels Provos [Sat, 18 Nov 2006 03:43:26 +0000 (03:43 +0000)]
test both piplining on persistent and non-persistent connections

svn:r262

18 years agomake persistent connections work; needs more testing
Niels Provos [Sat, 18 Nov 2006 03:05:26 +0000 (03:05 +0000)]
make persistent connections work; needs more testing

svn:r261

18 years agointroduce is connection close
Niels Provos [Sat, 18 Nov 2006 02:10:25 +0000 (02:10 +0000)]
introduce is connection close

svn:r260

18 years agoadd "Connection: close" to the output headers of the HTTP server reply;
Niels Provos [Fri, 17 Nov 2006 07:45:42 +0000 (07:45 +0000)]
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

18 years agomake sure that the rpc callback receives an unmarshaled payload;
Niels Provos [Fri, 17 Nov 2006 06:06:17 +0000 (06:06 +0000)]
make sure that the rpc callback receives an unmarshaled payload;
make sure that the rpc reply contains a good rpc structure, too.

svn:r258

18 years agowe indicate a failed request by removing the uri from the request object
Niels Provos [Thu, 16 Nov 2006 15:59:42 +0000 (15:59 +0000)]
we indicate a failed request by removing the uri from the request object

svn:r257

18 years agoprefix was missing /; malformed request caused server to crash
Niels Provos [Thu, 16 Nov 2006 08:49:26 +0000 (08:49 +0000)]
prefix was missing /; malformed request caused server to crash

svn:r256

18 years agoforgot to add file
Niels Provos [Thu, 16 Nov 2006 08:21:27 +0000 (08:21 +0000)]
forgot to add file

svn:r255

18 years agofirst stab at an rpc layer; this breaks the regression test.
Niels Provos [Thu, 16 Nov 2006 07:36:20 +0000 (07:36 +0000)]
first stab at an rpc layer;  this breaks the regression test.

svn:r254

18 years agodon't need to include getopt here
Niels Provos [Sun, 12 Nov 2006 00:59:56 +0000 (00:59 +0000)]
don't need to include getopt here

svn:r253

18 years agofix a potential problem in multiple handling of va_list; use va_copy instead;
Niels Provos [Fri, 10 Nov 2006 02:16:16 +0000 (02:16 +0000)]
fix a potential problem in multiple handling of va_list; use va_copy instead;
from Alejo.

svn:r251

18 years agofail without leaking memory when poll set extension fails
Niels Provos [Sun, 5 Nov 2006 17:24:24 +0000 (17:24 +0000)]
fail without leaking memory when poll set extension fails

svn:r249

18 years agofix a potential memory leak in event_once from Scott Lamb
Niels Provos [Sat, 28 Oct 2006 03:20:22 +0000 (03:20 +0000)]
fix a potential memory leak in event_once from Scott Lamb

svn:r244

18 years agomake it 1.2; fix some size issues for printf in regression code
Niels Provos [Sun, 15 Oct 2006 21:55:13 +0000 (21:55 +0000)]
make it 1.2; fix some size issues for printf in regression code

svn:r242

18 years agoimproved nroff mdoc for the man page
Niels Provos [Sun, 15 Oct 2006 21:41:56 +0000 (21:41 +0000)]
improved nroff mdoc for the man page

svn:r241

18 years agoinstall evdns.3 man page
Niels Provos [Mon, 9 Oct 2006 01:55:23 +0000 (01:55 +0000)]
install evdns.3 man page

svn:r240

18 years agoput the evdns documentation into the header file. pathetic start of evdns manpage...
Niels Provos [Mon, 9 Oct 2006 00:48:42 +0000 (00:48 +0000)]
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

18 years agosync evdns changes with tor - from Nick Mathewson
Niels Provos [Thu, 5 Oct 2006 22:59:44 +0000 (22:59 +0000)]
sync evdns changes with tor - from Nick Mathewson

svn:r238

18 years agoProtect EVENT_* macros - () were missing
Niels Provos [Wed, 4 Oct 2006 03:45:10 +0000 (03:45 +0000)]
Protect EVENT_* macros - () were missing

svn:r237

18 years agomake it compile with mingw; from Nick
Niels Provos [Wed, 27 Sep 2006 03:07:38 +0000 (03:07 +0000)]
make it compile with mingw; from Nick

svn:r235

18 years agotypo in kqueue delete; from Bert JW Regeer
Niels Provos [Sun, 3 Sep 2006 21:12:59 +0000 (21:12 +0000)]
typo in kqueue delete; from Bert JW Regeer

svn:r232

18 years agointroduce evdns_init() which works on windows and unix.
Niels Provos [Mon, 28 Aug 2006 00:57:49 +0000 (00:57 +0000)]
introduce evdns_init() which works on windows and unix.

svn:r231

18 years agoadd a simple regression test for the DNS resolver; requires internet access.
Niels Provos [Sun, 27 Aug 2006 20:04:20 +0000 (20:04 +0000)]
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

18 years agoinclude evdns.h header - fix windows distribution files
Niels Provos [Sun, 27 Aug 2006 19:43:00 +0000 (19:43 +0000)]
include evdns.h header - fix windows distribution files

svn:r229

18 years agodocument that read and write callbacks may be NULL.
Niels Provos [Sat, 26 Aug 2006 04:34:43 +0000 (04:34 +0000)]
document that read and write callbacks may be NULL.

svn:r228

18 years agoallow both read and write callbacks for bufferevents to be NULL
Niels Provos [Sat, 26 Aug 2006 04:32:31 +0000 (04:32 +0000)]
allow both read and write callbacks for bufferevents to be NULL

svn:r227

18 years agorename eventdns to evdns to match libevent naming scheme
Niels Provos [Thu, 24 Aug 2006 06:10:50 +0000 (06:10 +0000)]
rename eventdns to evdns to match libevent naming scheme

svn:r226

18 years agoconfigure evdns and make it compile
Niels Provos [Sun, 13 Aug 2006 06:59:37 +0000 (06:59 +0000)]
configure evdns and make it compile

svn:r225

18 years agounmodified eventdns from Adam Langley via tor repository
Niels Provos [Sun, 13 Aug 2006 06:33:45 +0000 (06:33 +0000)]
unmodified eventdns from Adam Langley via tor repository

svn:r224

18 years agofix regression test
Niels Provos [Sun, 13 Aug 2006 00:03:35 +0000 (00:03 +0000)]
fix regression test

svn:r223

18 years agowindows makefile fixes from branch
Niels Provos [Fri, 11 Aug 2006 15:20:10 +0000 (15:20 +0000)]
windows makefile fixes from branch

svn:r222

18 years agoadd back the original sun copyright block
Niels Provos [Wed, 9 Aug 2006 01:04:12 +0000 (01:04 +0000)]
add back the original sun copyright block

svn:r219

18 years agoget rid of err.h
Niels Provos [Tue, 18 Jul 2006 06:35:48 +0000 (06:35 +0000)]
get rid of err.h

svn:r218

18 years agoreorganization of the http functionality; we separate http handling into a
Niels Provos [Mon, 17 Jul 2006 00:33:57 +0000 (00:33 +0000)]
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

18 years ago1.2-rc1; Solaris' event port support from Dave Pacheco
Niels Provos [Sat, 15 Jul 2006 02:55:57 +0000 (02:55 +0000)]
1.2-rc1; Solaris' event port support from Dave Pacheco

svn:r216

18 years agoneed to report one less file descriptor to solaris then the limit; reported
Niels Provos [Sat, 15 Jul 2006 02:39:31 +0000 (02:39 +0000)]
need to report one less file descriptor to solaris then the limit; reported
by Dave Pacheco

svn:r215

18 years agomove http related prototypes to evhttp.h
Niels Provos [Sat, 10 Jun 2006 22:37:21 +0000 (22:37 +0000)]
move http related prototypes to evhttp.h

svn:r214

18 years agorename http.h to http-internal.h - i wish there were decent refactoring tools
Niels Provos [Sat, 10 Jun 2006 22:28:21 +0000 (22:28 +0000)]
rename http.h to http-internal.h - i wish there were decent refactoring tools
for open source programmers.

svn:r213

18 years agooops. the enums were actually creating symbols
Niels Provos [Wed, 17 May 2006 13:13:31 +0000 (13:13 +0000)]
oops.  the enums were actually creating symbols

svn:r212

18 years agouhm - i obliterated a gettimeofday that was required for remapping the
Niels Provos [Tue, 28 Mar 2006 16:57:19 +0000 (16:57 +0000)]
uhm - i obliterated a gettimeofday that was required for remapping the
timeouts to "real" time.  thanks to claudio for pointing that out.

svn:r211

18 years agointroduce a way to free the base from Nick Mathewson <nickm@freehaven.net>
Niels Provos [Tue, 28 Mar 2006 04:40:54 +0000 (04:40 +0000)]
introduce a way to free the base from Nick Mathewson <nickm@freehaven.net>

svn:r210

18 years agouse clock_gettime if available from Claudio Jeker <claudio@openbsd.org>
Niels Provos [Tue, 28 Mar 2006 04:33:41 +0000 (04:33 +0000)]
use clock_gettime if available from Claudio Jeker <claudio@openbsd.org>

svn:r209

18 years agosome nit-picking from poul-henning kamp
Niels Provos [Tue, 28 Mar 2006 04:17:51 +0000 (04:17 +0000)]
some nit-picking from poul-henning kamp

svn:r208

18 years agosome fixes from openbsd via brad
Niels Provos [Tue, 28 Mar 2006 04:16:14 +0000 (04:16 +0000)]
some fixes from openbsd via brad

svn:r207

18 years agoadd log.c to build file; remove err.c; reported by Sreekant Sreedharan
Niels Provos [Mon, 27 Feb 2006 02:33:02 +0000 (02:33 +0000)]
add log.c to build file; remove err.c; reported by Sreekant Sreedharan

svn:r206

18 years agomake a simple test for HTTP POST requests
Niels Provos [Mon, 27 Feb 2006 02:27:37 +0000 (02:27 +0000)]
make a simple test for HTTP POST requests

svn:r205

18 years agoimproved/well-completely rewritten rtsig support by Mathew Mills; fix some
Niels Provos [Sun, 26 Feb 2006 20:18:35 +0000 (20:18 +0000)]
improved/well-completely rewritten rtsig support by Mathew Mills; fix some
cases where regress would not pass on Linux

svn:r204

18 years agoprovide strlcpy for the unenlightened libcs
Niels Provos [Sun, 26 Feb 2006 20:13:04 +0000 (20:13 +0000)]
provide strlcpy for the unenlightened libcs

svn:r203

18 years agomake it compile on mac os x
Niels Provos [Mon, 13 Feb 2006 04:53:58 +0000 (04:53 +0000)]
make it compile on mac os x

svn:r202

18 years agomany changes for fixing a small bug: post requests would not send the post
Niels Provos [Mon, 13 Feb 2006 02:22:48 +0000 (02:22 +0000)]
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

18 years agolimit the amount of data bufferevents are going to consume to something
Niels Provos [Mon, 13 Feb 2006 01:51:58 +0000 (01:51 +0000)]
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

18 years agoallow setting an event base for bufferevents; from phil oleson
Niels Provos [Fri, 3 Feb 2006 19:26:06 +0000 (19:26 +0000)]
allow setting an event base for bufferevents; from phil oleson

svn:r199

18 years agofix a compile problem when USE_DEBUG is enabled
Niels Provos [Fri, 3 Feb 2006 19:24:28 +0000 (19:24 +0000)]
fix a compile problem when USE_DEBUG is enabled

svn:r198

18 years agodisable bufferevent after we have received the data that we care for.
Niels Provos [Thu, 2 Feb 2006 22:36:37 +0000 (22:36 +0000)]
disable bufferevent after we have received the data that we care for.

svn:r197

18 years agoI often need some very simple HTTP functionality, so this is a first stab
Niels Provos [Sun, 22 Jan 2006 05:08:50 +0000 (05:08 +0000)]
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

18 years agoversion 1.2
Niels Provos [Sun, 22 Jan 2006 05:06:29 +0000 (05:06 +0000)]
version 1.2

svn:r195

18 years agoanother fix from art
Niels Provos [Sun, 22 Jan 2006 05:06:14 +0000 (05:06 +0000)]
another fix from art

svn:r194

18 years agoimproved manpage from Phil Oleson
Niels Provos [Sat, 21 Jan 2006 03:04:31 +0000 (03:04 +0000)]
improved manpage from Phil Oleson

svn:r193

19 years agomostly whitespace fixes from OpenBSD via Brad
Niels Provos [Sat, 17 Dec 2005 20:25:22 +0000 (20:25 +0000)]
mostly whitespace fixes from OpenBSD via Brad

svn:r192

19 years agodo not undefine USE_DEBUG in header file; allow CFLAGS specification; from
Niels Provos [Sat, 17 Dec 2005 20:18:10 +0000 (20:18 +0000)]
do not undefine USE_DEBUG in header file; allow CFLAGS specification; from
Stas Bekman

svn:r191

19 years agodo not remove kq inkernel flag before event_del gets to it; bug reported by
Niels Provos [Sat, 17 Dec 2005 20:15:25 +0000 (20:15 +0000)]
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

19 years agowindows memory corruption bug fix from I-M Weasel via Nick Mathewson.
Niels Provos [Thu, 8 Dec 2005 23:05:42 +0000 (23:05 +0000)]
windows memory corruption bug fix from I-M Weasel via Nick Mathewson.

svn:r189

19 years agoadd evbuffer_add_vprintf interface from artur grabowski; add some testing
Niels Provos [Tue, 6 Dec 2005 03:26:28 +0000 (03:26 +0000)]
add evbuffer_add_vprintf interface from artur grabowski; add some testing

svn:r188

19 years agoavoid double recacle when loop_once is used; from Richard Nyberg
Niels Provos [Sat, 3 Dec 2005 20:51:23 +0000 (20:51 +0000)]
avoid double recacle when loop_once is used; from Richard Nyberg

svn:r187

19 years agosignal handler satefy improvements from Theo DeRaadt
Niels Provos [Sat, 3 Dec 2005 17:52:47 +0000 (17:52 +0000)]
signal handler satefy improvements from Theo DeRaadt

svn:r186

19 years agosolaris kernel changes are not backwards compatible - how retarded. problem
Niels Provos [Sat, 12 Nov 2005 19:04:17 +0000 (19:04 +0000)]
solaris kernel changes are not backwards compatible - how retarded.  problem
pointed out by: Geoffrey Giesemann

svn:r185

19 years agoevent.3
Niels Provos [Tue, 20 Sep 2005 15:59:00 +0000 (15:59 +0000)]
event.3

svn:r184

19 years agomake it compile on mac os x
Niels Provos [Fri, 9 Sep 2005 06:56:12 +0000 (06:56 +0000)]
make it compile on mac os x

svn:r183

19 years agodon't spam on stderr
Niels Provos [Fri, 2 Sep 2005 05:34:14 +0000 (05:34 +0000)]
don't spam on stderr

svn:r182

19 years agomake it run on older shells; from tor user via Nick Mathewson <nickm@freehaven.net>
Niels Provos [Fri, 2 Sep 2005 05:34:01 +0000 (05:34 +0000)]
make it run on older shells; from tor user via Nick Mathewson <nickm@freehaven.net>

svn:r181

19 years agoremove dos opportunity
Niels Provos [Tue, 30 Aug 2005 06:02:09 +0000 (06:02 +0000)]
remove dos opportunity

svn:r180

19 years agooops forgot this one
Niels Provos [Mon, 29 Aug 2005 07:23:51 +0000 (07:23 +0000)]
oops forgot this one

svn:r179

19 years agosupport for arrays on structs.
Niels Provos [Sun, 28 Aug 2005 23:48:16 +0000 (23:48 +0000)]
support for arrays on structs.

svn:r178

19 years agoa few more bug fixes
Niels Provos [Sat, 27 Aug 2005 06:29:52 +0000 (06:29 +0000)]
a few more bug fixes

svn:r177

19 years agoconstify
Niels Provos [Fri, 26 Aug 2005 02:15:54 +0000 (02:15 +0000)]
constify

svn:r176

19 years agofix API problems for get in some types
Niels Provos [Tue, 23 Aug 2005 07:43:11 +0000 (07:43 +0000)]
fix API problems for get in some types

svn:r175

19 years agotypo
Niels Provos [Mon, 22 Aug 2005 01:39:54 +0000 (01:39 +0000)]
typo

svn:r174

19 years agomake use of the built in warn/err code
Niels Provos [Mon, 22 Aug 2005 01:38:23 +0000 (01:38 +0000)]
make use of the built in warn/err code

svn:r173

19 years agoincluding the tagging code that is required by event_rpcgen.py; test the
Niels Provos [Mon, 22 Aug 2005 01:34:34 +0000 (01:34 +0000)]
including the tagging code that is required by event_rpcgen.py; test the
new functionality.

svn:r172

19 years agogenerate marshalling code based on libevent
Niels Provos [Sun, 21 Aug 2005 16:25:02 +0000 (16:25 +0000)]
generate marshalling code based on libevent

svn:r171

19 years agocorrectly test against SIG_ERR
Niels Provos [Thu, 14 Jul 2005 04:09:55 +0000 (04:09 +0000)]
correctly test against SIG_ERR

svn:r170

19 years agofix issue with signedness warnings; from Alexander von Gernler release-1.1b
Niels Provos [Sun, 19 Jun 2005 20:28:20 +0000 (20:28 +0000)]
fix issue with signedness warnings; from Alexander von Gernler

svn:r169

19 years agotreate EINVAL as per fd error in kqueue; use argument for debug macros in
Niels Provos [Sat, 11 Jun 2005 21:15:22 +0000 (21:15 +0000)]
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

19 years agobufferevents would not correctly detect EOF on read; reported by
Niels Provos [Fri, 10 Jun 2005 07:42:14 +0000 (07:42 +0000)]
bufferevents would not correctly detect EOF on read; reported by
Jonathan Brannan

svn:r167

19 years agoperformance improvements of select handler by Nick Mathewson; I added
Niels Provos [Wed, 11 May 2005 04:08:51 +0000 (04:08 +0000)]
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

19 years agodetect kqueue bug in Mac OS X 10.4; from Nick Mathewson
Niels Provos [Wed, 11 May 2005 03:34:42 +0000 (03:34 +0000)]
detect kqueue bug in Mac OS X 10.4; from Nick Mathewson

svn:r165

19 years agomore credits
Niels Provos [Tue, 10 May 2005 17:27:58 +0000 (17:27 +0000)]
more credits

svn:r164

19 years agotype; from Alexander von Gernler
Niels Provos [Tue, 10 May 2005 17:27:11 +0000 (17:27 +0000)]
type; from Alexander von Gernler

svn:r163

19 years agocall epoll_ctl after changing our state table; in case that epoll_ctl fails
Niels Provos [Tue, 10 May 2005 08:14:39 +0000 (08:14 +0000)]
call epoll_ctl after changing our state table; in case that epoll_ctl fails
we need to make sure that the table is consistent. from William Ahern

svn:r162

19 years agoperformance improvements by Nick Mathewson; we modify the arrays directly
Niels Provos [Tue, 10 May 2005 04:40:03 +0000 (04:40 +0000)]
performance improvements by Nick Mathewson; we modify the arrays directly
in poll_add and poll_del; some minor tweaks by me.  earmark this as 1.0f

svn:r161

19 years agosync
Niels Provos [Tue, 10 May 2005 04:16:17 +0000 (04:16 +0000)]
sync

svn:r160

19 years agofix rule that depended on obsolete libevent.a
Niels Provos [Fri, 29 Apr 2005 02:55:20 +0000 (02:55 +0000)]
fix rule that depended on obsolete libevent.a

svn:r159

19 years agoprototype addition; from Alexander von Gernler
Niels Provos [Tue, 26 Apr 2005 15:48:42 +0000 (15:48 +0000)]
prototype addition; from Alexander von Gernler

svn:r158