Nick Mathewson
d71da6f737
r18484@catbus: nickm | 2008-02-28 12:47:20 -0500
...
Use event_warn() function, not fprintf-to-stderr.
svn:r676
2008-02-28 17:47:30 +00:00
Nick Mathewson
0e7cbe6508
r18482@catbus: nickm | 2008-02-28 12:38:40 -0500
...
Fix GCC 4.2 warnings; fix includes in subdirs.
svn:r675
2008-02-28 17:38:52 +00:00
Niels Provos
5c70ea4c9d
improved code for evbuffer; avoids memcpy
...
svn:r674
2008-02-28 02:47:43 +00:00
Niels Provos
eb9b958089
add some basic tests for DELETE/PUT; from Josh Rotenberg
...
svn:r673
2008-02-27 06:20:48 +00:00
Nick Mathewson
e7ad549390
r14507@tombo: nickm | 2008-02-26 15:23:44 -0500
...
Patch from Tani Hosokawa: make some functions in http.c threadsafe. Also, note some functions in http.c that still are not threadsafe.
svn:r671
2008-02-26 20:24:29 +00:00
Niels Provos
bd31d00fc1
move signal callbacks closer to test code
...
svn:r670
2008-02-26 04:54:19 +00:00
Niels Provos
7470ce52c5
increase listen queue for http sockets to 128
...
svn:r669
2008-02-26 03:49:00 +00:00
Niels Provos
960be58869
deal correctly with http/1.0 and keep-alive
...
svn:r667
2008-02-26 03:29:36 +00:00
Niels Provos
0b114da2b6
introduce evhttp_accept_socket() to accept from an already created socket
...
svn:r666
2008-02-26 03:12:07 +00:00
Niels Provos
b14cd655d1
add support (without tests!) to PUT/DELETE requests; from Josh Rotenberg
...
svn:r662
2008-02-25 07:49:22 +00:00
Niels Provos
bb914ed9af
do not insert event into list when evsel->add fails
...
svn:r660
2008-02-25 07:34:07 +00:00
Nick Mathewson
5a2ece1895
r18370@catbus: nickm | 2008-02-23 14:04:00 -0500
...
clean up some corner cases in evutil.h.
svn:r655
2008-02-23 19:04:26 +00:00
Niels Provos
67bf29ad72
simplify evbuffer by removing orig_buffer
...
svn:r654
2008-02-23 06:02:04 +00:00
Niels Provos
87bef9e974
update event_base_loop documentation; from Tani Hosokawa
...
svn:r652
2008-02-20 21:49:09 +00:00
Nick Mathewson
0d26f1605f
r18169@catbus: nickm | 2008-02-18 15:13:20 -0500
...
Rebuild and re-run configure etc when configure.in or Makefile.am changes. Also, have automake do its dependency tracking.
svn:r651
2008-02-18 20:13:27 +00:00
Nick Mathewson
11230f7e16
r18145@catbus: nickm | 2008-02-18 15:02:20 -0500
...
Stop using deprecated autoconf code to set integer types; detect actual files to include more thoroughly. This should make us work on solaris 9 again. This should be a backport candidate, if it works. Also, make all libevent code use ev_uint32_t etc, rather than uint_32_t.
svn:r649
2008-02-18 20:04:01 +00:00
Niels Provos
506d4dbcf4
remove NDEBUG ifdefs from evdns.c
...
svn:r647
2008-02-17 01:31:31 +00:00
Niels Provos
23ef0d0936
allow regression code to be build even without Python installed
...
svn:r645
2008-02-17 01:15:36 +00:00
Niels Provos
f09e9d91b1
1.3.99-trunk -> 1.4.99-trunk
...
svn:r644
2008-02-17 01:12:09 +00:00
Nick Mathewson
d47907a730
r14213@tombo: nickm | 2008-02-16 15:48:07 -0500
...
Patch from Scott Lamb: make http content length into a 64-bit value.
svn:r641
2008-02-16 20:50:02 +00:00
Nick Mathewson
807ab182d0
r14211@tombo: nickm | 2008-02-16 15:28:54 -0500
...
Add new evutil_strtoll() function so we can apply 64-bit content-length patch from Scott Lamb in a portable way.
svn:r640
2008-02-16 20:49:47 +00:00
Nick Mathewson
677a95864b
r14205@tombo: nickm | 2008-02-16 11:55:57 -0500
...
Fix bug 1894184: add a CRLF after each chunk when sending chunked HTTP data. Original patch from propanbutan.
svn:r637
2008-02-16 16:56:34 +00:00
Niels Provos
8ab618916f
event_base_get_method; from Springande Ulv
...
svn:r635
2008-02-16 06:09:39 +00:00
Niels Provos
f38aec8bb7
devpoll and evport need reinit; tested by W.C.A. Wijngaards
...
svn:r633
2008-02-12 06:01:46 +00:00
Niels Provos
2fde221759
address some compiler warnings in debug mode
...
svn:r630
2008-02-09 16:03:01 +00:00
Niels Provos
6baff52296
EAGAIN check for event ports; from Wijngaards
...
svn:r629
2008-02-06 16:14:42 +00:00
Niels Provos
8c66d4e289
remove pending timeouts on event_base_free
...
svn:r627
2008-01-26 07:29:57 +00:00
Nick Mathewson
9859bc783a
r15764@tombo: nickm | 2007-12-31 15:46:16 -0500
...
Forward-port from 1.4 branch: Make generated rpc files build-depend on event_rpcgen.
svn:r626
2007-12-31 20:47:12 +00:00
Niels Provos
992bc85b96
dereference the right field and associate the right connection
...
svn:r624
2007-12-31 20:42:21 +00:00
Niels Provos
2460aa5939
allow hooks to get access to the connection object
...
svn:r623
2007-12-31 19:33:30 +00:00
Niels Provos
5a5609c753
allow association of meta data with RPC requests for hook processing
...
svn:r622
2007-12-29 22:45:54 +00:00
Niels Provos
024804cce7
the win32 changes for regress_http broke the regression test under unix. making the socket non-blocking can return -1 on connect; so now, we need to check the errno; not sure if that is supported under windows.
...
svn:r621
2007-12-28 07:58:29 +00:00
Niels Provos
955c6abf53
pausing an rpc via a hook needs to deal with the fact that http callbacks free the request after they return; provide a way for a callback to take ownership of the request structure; the user then needs to explicitly free it.
...
svn:r620
2007-12-28 00:36:47 +00:00
Nick Mathewson
6d291da240
Fix at least two bugs that are keeping the HTTP regression tests from running on windows. There are some more bugs somewhere, since the HTTP regression tests still fail on windows. But now they fail less.
...
svn:r619
2007-12-28 00:34:05 +00:00
Niels Provos
819d4a33d7
allow hooks to pause RPC processing; this will allow hooks to do meaningful work before resuming the
...
RPC processing; this is not backwards compatible.
svn:r617
2007-12-27 23:17:24 +00:00
Nick Mathewson
76945273c6
r15733@tombo: nickm | 2007-12-27 16:37:33 -0500
...
Add another "what's new" file -- this one for svn trunk
svn:r616
2007-12-27 21:37:52 +00:00
Niels Provos
616a64c87c
additional add argument was missing const qualifier
...
svn:r615
2007-12-27 20:08:21 +00:00
Niels Provos
7e3a7af7d0
support string arrays in event_rpcgen
...
svn:r613
2007-12-24 23:59:41 +00:00
Niels Provos
03589ccb12
rollback r594: restructuring to make event activation independent.
...
changes are going to wait for api design
svn:r612
2007-12-24 22:49:30 +00:00
Niels Provos
68725dc8bd
support integer arrays in rpc structures; this involved some refactoring of the event_rpcgen code, so that other types should be able to get arrays fairly easily
...
svn:r609
2007-12-23 07:38:11 +00:00
Nick Mathewson
a5176a65cc
Fix a win32 warning in regress.c
...
svn:r608
2007-12-20 22:45:30 +00:00
Nick Mathewson
127888bded
r17291@catbus: nickm | 2007-12-20 17:19:55 -0500
...
Add tree.h to distributed files in trunk.
svn:r607
2007-12-20 22:20:06 +00:00
Niels Provos
fdafb66bb5
removed linger from http server socket; reported by Ilya Martynov
...
svn:r604
2007-12-19 06:33:05 +00:00
Niels Provos
d4bdbca847
add -Wstrict-aliasing and remove bogus evtag_test from event.h
...
svn:r602
2007-12-18 03:54:19 +00:00
Nick Mathewson
d80c1c3689
r17185@catbus: nickm | 2007-12-16 14:33:40 -0500
...
Fix compilation with --enable-gcc-warnings enabled.
svn:r599
2007-12-16 19:34:09 +00:00
Nick Mathewson
d56a34e466
r16991@catbus: nickm | 2007-12-06 15:05:56 -0500
...
Move event_init in regress.c to the function that actually messed up the current_base value.
svn:r598
2007-12-16 19:33:52 +00:00
Nick Mathewson
7ab26a2c32
r15519@tombo: nickm | 2007-12-16 13:54:12 -0500
...
Fix for bug 1846282: accept as well-formed DNS replies with questions but no answers.
svn:r595
2007-12-16 18:55:16 +00:00
Niels Provos
7aa845b73b
restructure the code to make event activation independent of regular event logic
...
svn:r594
2007-12-16 04:10:30 +00:00
Niels Provos
622f69cc5a
forgot to make new member optional
...
svn:r590
2007-12-14 07:12:05 +00:00
Niels Provos
850534734b
fix a bug with event_rpcgen for integers
...
svn:r588
2007-12-13 06:36:54 +00:00