Niels Provos
1080852e91
allow cancelation of user initiated http requests; this will allow cancelation of rpc requests eventually
...
svn:r812
2008-05-12 03:12:09 +00:00
Niels Provos
950af18679
replace fnmatch with homegrown function
...
svn:r804
2008-05-10 05:58:17 +00:00
Nick Mathewson
8acb80b4f9
r15551@tombo: nickm | 2008-05-08 14:49:20 -0400
...
Use _get_ convention for new accessor functions. (These are all new ones as of 2.0, I believe).
svn:r799
2008-05-08 22:51:39 +00:00
Niels Provos
3f56e364b7
event_base_new_with_config() and related methods
...
svn:r789
2008-05-08 05:56:20 +00:00
Niels Provos
3b2022ef3a
provide an api for retrieving the supported event mechanisms
...
svn:r788
2008-05-08 05:33:15 +00:00
Nick Mathewson
f2d65f8a9c
r19634@catbus: nickm | 2008-05-07 16:10:37 -0400
...
the C syntax is fn(void), not fn().
svn:r784
2008-05-07 20:29:33 +00:00
Nick Mathewson
68fecb7ab6
r19633@catbus: nickm | 2008-05-07 16:10:00 -0400
...
Fix bug 1958901: stop overriding CPPFLAGS in test directory.
svn:r783
2008-05-07 20:29:11 +00:00
Niels Provos
300a4efb2d
test virtual hosts
...
svn:r780
2008-05-07 01:52:24 +00:00
Nick Mathewson
caa368e1cc
r19610@catbus: nickm | 2008-05-05 15:18:52 -0400
...
Switch strcmp() tests in test_evbuffer() to use memcmp instead. Previously they broke on my Linux box.
svn:r779
2008-05-05 19:19:47 +00:00
Nick Mathewson
4e8a339ef7
r19602@catbus: nickm | 2008-05-05 11:45:18 -0400
...
Make most of the tests use the new headers.
svn:r776
2008-05-05 15:46:00 +00:00
Niels Provos
f940eb4b8d
fix a bug where it was not possible to bind multiple sockets to the same http
...
server; test that binding multiple sockets works.
svn:r769
2008-05-04 22:21:29 +00:00
Niels Provos
1d30750b1d
support for periodic timeouts
...
svn:r762
2008-05-03 22:10:09 +00:00
Niels Provos
45e6fb0dd2
cache clock_gettime/gettimeofday values in base
...
svn:r758
2008-05-03 18:23:44 +00:00
Niels Provos
f04497e493
introduce evbuffer_reserve_space() and evbuffer_commit_space() to make processing in filters more efficient
...
svn:r757
2008-05-03 03:05:28 +00:00
Niels Provos
becc89b778
introduce evbuffer_contiguous_space() and use it in the zlib filter test
...
svn:r756
2008-05-03 02:37:18 +00:00
Niels Provos
e8f450f232
expose a way to create the rpc context manually
...
svn:r754
2008-05-01 02:08:26 +00:00
Niels Provos
d76cca7273
fix missing printf format argument
...
svn:r752
2008-04-30 04:36:26 +00:00
Niels Provos
ccb70f1bc7
provide example bufferevent filters doing compression and decompression as additional regression test
...
svn:r751
2008-04-30 04:31:10 +00:00
Niels Provos
c58a01a23b
fix regression test; oops
...
svn:r749
2008-04-30 00:50:20 +00:00
Niels Provos
682adc443b
support input/output filters for bufferevents
...
svn:r748
2008-04-30 00:09:16 +00:00
Nick Mathewson
98dc98c59f
r15346@tombo: nickm | 2008-04-29 17:19:18 -0400
...
Remove the never-exported, never-used, never-threadsafe evhttp_hostportfile()
svn:r746
2008-04-29 21:19:26 +00:00
Nick Mathewson
4cff82bb4f
r15339@tombo: nickm | 2008-04-29 14:03:48 -0400
...
Note that evhttp_hostportfile is not threadsafe, and so its usage will change. Mark its first argument const. Remove a now-redundant declaration for it in http-internal.h.
svn:r743
2008-04-29 18:11:10 +00:00
Niels Provos
0ec09b5507
also try client connection for chunked requests
...
svn:r741
2008-04-29 04:35:26 +00:00
Niels Provos
9c480533bf
test the server side of sending chunked replies
...
svn:r740
2008-04-29 02:33:27 +00:00
Niels Provos
72a3902e5c
test some primitives from http.c
...
svn:r739
2008-04-29 00:24:00 +00:00
Niels Provos
22c8a40402
test connection retry logic
...
svn:r736
2008-04-27 20:04:33 +00:00
Niels Provos
7b29ad57d9
test server behavior when connection times out while reading the headers
...
svn:r735
2008-04-27 19:41:26 +00:00
Niels Provos
3a17aeed7a
fix a bug in buffrevent read water marks and add a test for them
...
svn:r731
2008-04-26 01:00:44 +00:00
Niels Provos
89f63b205d
add bufferevent_read_buffer function
...
svn:r728
2008-04-25 02:44:46 +00:00
Nick Mathewson
3eb21c0d33
r15226@tombo: nickm | 2008-04-17 15:25:25 -0400
...
Fix a couple of gcc warnings on 64-bit platforms
svn:r719
2008-04-17 19:25:35 +00:00
Nick Mathewson
f560198e45
r15192@tombo: nickm | 2008-04-16 15:59:51 -0400
...
Fix a compilation error on OSX.
svn:r710
2008-04-16 20:01:27 +00:00
Niels Provos
193c06a7ed
fix a bug in which evbuffer_add_vfprintf would loop forever; avoid
...
fragmentation in evbuffer_expand by increasing the size of the last buffer
in the chain; as a result with have to keep track of the previous_to_last
chain; provide a evbuffer_validate() function in the regression test to
make sure that all evbuffer are internally consistent.
svn:r699
2008-03-31 02:04:34 +00:00
Niels Provos
cb50f615d4
rename lock create callback functions; as suggested by nick
...
svn:r691
2008-03-11 05:26:30 +00:00
Niels Provos
c182baca10
switch thread support so that locks get allocated as they are needed.
...
svn:r690
2008-03-10 03:17:20 +00:00
Nick Mathewson
6a92ec0b0f
r18547@catbus: nickm | 2008-03-04 14:46:42 -0500
...
Fix compilation with --enable-gcc-warnings
svn:r689
2008-03-04 19:47:01 +00:00
Niels Provos
558de9b377
Provide OpenSSL style support for multiple threads accessing the same event_base
...
svn:r684
2008-03-02 21:18:33 +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
Niels Provos
bd31d00fc1
move signal callbacks closer to test code
...
svn:r670
2008-02-26 04:54:19 +00:00
Niels Provos
67bf29ad72
simplify evbuffer by removing orig_buffer
...
svn:r654
2008-02-23 06:02:04 +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
23ef0d0936
allow regression code to be build even without Python installed
...
svn:r645
2008-02-17 01:15:36 +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
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
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