|
88897852
|
2007-11-25T06:57:59
|
|
provide event_reinit() to reinitialized an event_base after fork - necessary for epoll/kqueue
svn:r539
|
|
8c3396b0
|
2007-11-22T16:41:29
|
|
r14935@tombo: nickm | 2007-11-22 11:36:54 -0500
Always set test_ok to zero after finishing a test, and before starting one. This turns up some failures we had been missing.
svn:r537
|
|
1c23e219
|
2007-11-17T22:21:42
|
|
r14931@tombo: nickm | 2007-11-17 17:21:09 -0500
Patch from Scott Lamb: Implement event_{base_}loopbreak. Includes documentation and tests. From sf.net Feature Request 1826546.
svn:r535
|
|
f586f428
|
2007-11-14T17:52:21
|
|
provide event_base_new() as a mechanism for not setting the current_global
svn:r529
|
|
568095bf
|
2007-11-12T05:34:10
|
|
srcdir for verify; from Christopher Layne
svn:r516
|
|
321dfd55
|
2007-11-10T05:18:17
|
|
r16585@catbus: nickm | 2007-11-10 00:16:11 -0500
Patch from Christopher Layne: Make event_del() restore previous signal handlers, not the default.
svn:r506
|
|
f74e7258
|
2007-11-07T06:01:57
|
|
r16501@catbus: nickm | 2007-11-07 01:00:31 -0500
This is one of those patches which will either make matters far
simpler after the bugs shake out, or will get reverted pretty quick
once we realize that it is a stupid idea.
We now post-process the config.h file into a new event-config.h file,
whose macros are prefixed with _EVENT_ and which is thus safe for
headers to include. Using this, we can define replacement timeval
manipulation functions in evutil.h, and use them uniformly through our
code. We can also detect which headers are needful in event.h, and
include them as required.
This is also the perfect time to remove the long-deprecated acconfig.h
file, so that autoheader no longer warns.
Should resolve the following issues:
[ 1826530 ] Header files should have access to autoconf output.
[ 1826545 ] acconfig.h is deprecated.
[ 1826564 ] On some platforms, event.h can't be included alone.
svn:r492
|
|
206d4336
|
2007-11-07T05:02:21
|
|
r16497@catbus: nickm | 2007-11-07 00:01:02 -0500
Resolve issue 1826588: make event_base_free() succeed even if there are pending non-INTERNAL events still in the base. This can leak memory and fds if used injudiciously, but at least it no longer crashes.
svn:r490
|
|
bab0e6d4
|
2007-11-07T04:28:54
|
|
r16492@catbus: nickm | 2007-11-06 23:27:32 -0500
Fix unit tests so that an outdated nameserver means "Skip IPv6 tests", not "Abort."
svn:r487
|
|
7c507668
|
2007-11-07T03:52:20
|
|
r16489@catbus: nickm | 2007-11-06 22:51:05 -0500
Do not use "class" as identifier in evdns.h; but use a backward-compatible fix. (Should fix bug 1826515, originally reported by Roger Clark)
svn:r486
|
|
e9564ece
|
2007-11-07T03:40:26
|
|
r16487@catbus: nickm | 2007-11-06 22:38:44 -0500
Remove rtsig method, as discussed in July. It hasn't compiled for quite a while, and nobody has seemed to miss it much. Please let us know if this was a bad call. [Tracker issue 1826539].
svn:r485
|
|
22bd8b00
|
2007-11-03T23:54:27
|
|
remove last vestiges of RBTREE
svn:r471
|
|
88173102
|
2007-11-03T23:45:38
|
|
split libevent into two extra libraries libevent_core and libevent_extra
svn:r469
|
|
1d3a008a
|
2007-11-03T22:51:26
|
|
provide hooks for outgoing pools; associate a base with a pool
svn:r468
|
|
65236aa8
|
2007-11-02T06:34:04
|
|
simple hooks for processing incoming and outgoing rpcs
svn:r466
|
|
c91794e2
|
2007-10-12T18:02:56
|
|
Instead of read/write in regress.c, use send/recv. Now all of the win32 regression tests pass, except for http and rpc.
svn:r461
|
|
3550be93
|
2007-09-25T15:50:50
|
|
r15331@catbus: nickm | 2007-09-25 11:46:52 -0400
Add EVPORT to test.sh script. Patch from Trond Norbye.
svn:r454
|
|
a4cc3d14
|
2007-09-22T23:57:11
|
|
rename the rpc member from kill to attack; that way the
structure does not have the same name. might find some
bugs.
svn:r449
|
|
1e1f77c5
|
2007-09-20T19:08:20
|
|
Make the test/ subdirectory buildable under Windows. Well, mingw at least. The tests still don't all pass, but at least now we know that.
svn:r447
|
|
c895ee46
|
2007-09-18T15:11:53
|
|
r15094@catbus: nickm | 2007-09-18 10:52:11 -0400
Patch from Christopher Lane: Make regress.gen.* buildable from outside source directory.
svn:r434
|
|
8ee20a3f
|
2007-09-09T02:15:34
|
|
fix memory leaks/unitialized memory found by valgrind
svn:r418
|
|
e678f009
|
2007-09-09T01:46:35
|
|
fix a couple memory leaks; time buffer marshaling
svn:r417
|
|
98f9616b
|
2007-09-07T02:49:46
|
|
support setting local address on an evhttp_connection
svn:r416
|
|
9c3ac4e4
|
2007-09-07T00:10:15
|
|
r14970@catbus: nickm | 2007-09-06 20:09:39 -0400
Fix compilation on Solaris; Patch from Magne Mahre.
svn:r409
|
|
a36d4a93
|
2007-08-20T14:44:15
|
|
r14699@catbus: nickm | 2007-08-20 10:42:57 -0400
Use $top_srcdir and $srcdir variables to refer to source paths in Makefile.am. This makes it possible to build libevent from a separate directory. Patch from Kelly Anderson.
svn:r400
|
|
67947ce3
|
2007-08-19T02:41:23
|
|
provide evhttp_new and evhttp_bind_socket instead of evhttp_start;
using evhttp_new, it is possible to associate an event_base with
the http server so that multi-threaded applications can have their
own http server per thread; add appropriate testing.
svn:r397
|
|
35983cd6
|
2007-08-16T21:12:53
|
|
r14618@catbus: nickm | 2007-08-16 17:11:47 -0400
In ANSI C, int func() is a function with unspecified arguments, whereas int func(void) is a function that takes no arguments. Using int func() to mean a function with no arguments is a C++ism, so let's not use or generate it.
svn:r395
|
|
21a7e7ed
|
2007-08-10T15:59:31
|
|
r14498@catbus: nickm | 2007-08-10 11:58:32 -0400
Fix compilation warnings in trunk on linux with gcc 4.1.2. In time-test.c, always include time.h, so that time() is defined. In test/Makefile.am, put -I../compat in CPPFLAGS, and fix a typo. In test/regress.c, cast unsigned char pointers to char* before passing them to str[n]cmp.
svn:r385
|
|
cd6dd951
|
2007-08-06T21:00:49
|
|
add a proper test for filtering new lines in headers
svn:r384
|
|
073d3590
|
2007-08-06T20:53:33
|
|
fix an embarassing bug where strchr was used with a cstring instead of a char
svn:r383
|
|
8ea5ffef
|
2007-08-05T02:15:10
|
|
request dispatching fix from Elliot Foster
svn:r382
|
|
9e0333a8
|
2007-07-30T23:56:05
|
|
include config.h if HAVE_CONFIG_H from Jan Kneschke
svn:r375
|
|
72c479e7
|
2007-07-30T23:54:25
|
|
remove c99 variable declarations; from Jan Kneschke
svn:r374
|
|
7c6df310
|
2007-07-30T23:53:10
|
|
remove c++ comments from Jan Kneschke
svn:r373
|
|
f0ff792a
|
2007-06-30T18:58:34
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
50edb19f
|
2007-03-05T07:28:15
|
|
EVRPC_MAKE_REQUEST needs the pool argument
svn:r349
|
|
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
|
|
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
|
|
121efe65
|
2007-01-27T08:38:51
|
|
small bug fixes to AAAA resolution and regression test; from Nick Mathewson!
we love regresson tests.
svn:r319
|
|
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
|
|
0db257b8
|
2007-01-03T07:11:17
|
|
rename strlcpy so that it does not conflict with other tests; from
Nick Mathewson.
svn:r306
|
|
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
|
|
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
|
|
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
|
|
31ba30ab
|
2006-11-18T08:51:12
|
|
make regression test work for poll and select
svn:r265
|
|
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
|
|
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
|
|
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
|
|
3eec7f7c
|
2006-10-15T21:55:13
|
|
make it 1.2; fix some size issues for printf in regression code
svn:r242
|
|
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
|
|
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
|
|
296739e0
|
2006-08-13T00:03:35
|
|
fix regression test
svn:r223
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
8d1317d7
|
2005-12-06T03:26:28
|
|
add evbuffer_add_vprintf interface from artur grabowski; add some testing
svn:r188
|
|
50f7aaef
|
2005-09-09T06:56:12
|
|
make it compile on mac os x
svn:r183
|
|
3b9b3f6b
|
2005-09-02T05:34:14
|
|
don't spam on stderr
svn:r182
|
|
acafd994
|
2005-09-02T05:34:01
|
|
make it run on older shells; from tor user via Nick Mathewson <nickm@freehaven.net>
svn:r181
|
|
5c5145dc
|
2005-08-29T07:23:51
|
|
oops forgot this one
svn:r179
|
|
b4ab56dc
|
2005-08-28T23:48:16
|
|
support for arrays on structs.
svn:r178
|
|
c4e60994
|
2005-08-22T01:34:34
|
|
including the tagging code that is required by event_rpcgen.py; test the
new functionality.
svn:r172
|
|
fbee901e
|
2005-07-14T04:09:55
|
|
correctly test against SIG_ERR
svn:r170
|
|
fdfa743c
|
2005-04-23T02:48:49
|
|
libtoolize; from Nick Mathewson
svn:r153
|
|
bc9b2487
|
2005-04-04T00:10:17
|
|
make it compile on solaris
svn:r142
|
|
1e128e2d
|
2005-04-03T07:46:27
|
|
fix bug that broke poll/select stuff
svn:r141
|
|
d85d47f8
|
2005-03-29T07:16:52
|
|
devpoll improvements from Andrew Danforth <adanforth@gmail.com>
svn:r137
|
|
25646045
|
2004-12-01T20:04:54
|
|
provide more base-based functions :-)
svn:r125
|
|
f5a62ed3
|
2004-12-01T19:59:00
|
|
make a separate verify target
svn:r124
|
|
8773c4c9
|
2004-11-25T09:50:18
|
|
make libevent thread-safe; first cut
svn:r122
|
|
fa6c304d
|
2004-09-19T21:08:09
|
|
support for event priorities; active events are scheduled into priority queues;
lower priorities get always processed before higher priorities
svn:r120
|
|
98c14269
|
2004-07-30T05:03:55
|
|
fix compiler warning
svn:r115
|
|
d829ccea
|
2004-07-30T05:00:44
|
|
fix a warning on freebsd;
svn:r114
|
|
06aaa92f
|
2004-07-30T04:57:21
|
|
devpoll support
svn:r113
|
|
6f2f98bd
|
2004-07-20T06:12:30
|
|
make it compile on solaris
svn:r112
|
|
ee739151
|
2004-07-13T08:01:05
|
|
make the sockets non-blocking; increase the data size for bufferevent
testing
svn:r109
|
|
025d1bc2
|
2004-05-24T00:19:52
|
|
fix some of the windows compile issues; make buffer.c faster; support
signals via pipes.
svn:r105
|
|
57a51a16
|
2004-04-04T02:19:08
|
|
provide more regression tests
svn:r98
|