Log

Author Commit Date CI Message
Niels Provos c3c11f27 2008-05-15T01:54:20 add a simple http server for potential benchmarking svn:r823
Niels Provos ec3956ba 2008-05-15T01:53:48 fix connection keep-alive behavior for HTTP/1.0 svn:r822
Nick Mathewson 7be8f13b 2008-05-14T15:56:17 r19736@catbus: nickm | 2008-05-14 11:50:49 -0400 Add casts to make some printf formats in regress.c happier. svn:r821
Niels Provos aa4b9257 2008-05-13T05:05:30 move some structure definitions from evrpc.h to evrpc-internal.h svn:r817
Niels Provos 1bce6f74 2008-05-13T03:51:10 use evhttp_connection_base_new() svn:r816
Niels Provos ef0221cc 2008-05-13T03:42:47 document chunked replies plus fix doxygen warnings svn:r815
Nick Mathewson 0cafdeb6 2008-05-12T17:16:47 Tweaks to make unit tests fail less badly on mingw on trunk. svn:r814
Nick Mathewson c6da86ff 2008-05-12T16:44:24 r19709@catbus: nickm | 2008-05-12 12:42:48 -0400 Possible fix for [1960723] snprintf and vsnprintf return values are wrong on win32 svn:r813
Niels Provos 1080852e 2008-05-12T03:12:09 allow cancelation of user initiated http requests; this will allow cancelation of rpc requests eventually svn:r812
Nick Mathewson 03fafae0 2008-05-12T01:03:36 Make trunk event.c build happily on win32 under mingw. svn:r811
Nick Mathewson 054159f5 2008-05-12T00:56:19 r19679@catbus: nickm | 2008-05-11 20:56:12 -0400 Windows does not have alloca(). svn:r810
Nick Mathewson 04366d5a 2008-05-12T00:51:48 r19677@catbus: nickm | 2008-05-11 20:51:41 -0400 Oops; we had not changed event_malloc() to mm_malloc() [etc] in win32.c svn:r809
Nick Mathewson 6bf1ca78 2008-05-12T00:40:04 r19675@catbus: nickm | 2008-05-11 20:39:39 -0400 Stop pretending that u_char and u_short are standard types that win32 is dumb not to have. In fact, u_char can really just be spelled out, and u_short was usually just a bad way of saying ev_uint16_t. svn:r808
Niels Provos a57767fa 2008-05-11T16:22:35 more accessors for evhttp_request svn:r807
Niels Provos 687be124 2008-05-10T07:32:05 dispatch the callbacks against the decoded uri to be more http compliant svn:r806
Niels Provos 7bbe185b 2008-05-10T06:32:53 evhttp_request_uri -> evhttp_request_get_uri svn:r805
Niels Provos 950af186 2008-05-10T05:58:17 replace fnmatch with homegrown function svn:r804
Nick Mathewson 7868ab5a 2008-05-09T04:00:17 r19667@catbus: nickm | 2008-05-08 23:49:26 -0400 fwd-port: Always include winsock2.h before windows.h. Apparently some SDKs need this. svn:r803
Nick Mathewson 64ce7990 2008-05-08T23:57:31 r15555@tombo: nickm | 2008-05-08 19:56:51 -0400 fwd-port The IRIX compiler thinks #error means warn. Fix configure.in to tolerate this. svn:r801
Nick Mathewson 8acb80b4 2008-05-08T22:51:39 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
Nick Mathewson 7defe4cb 2008-05-08T15:55:09 r15549@tombo: nickm | 2008-05-08 11:53:11 -0400 Make new http headers include minimal parts of event2/ tree; make old evhttp.h incldue event.h, since the old one did too. svn:r798
Nick Mathewson a29f7eef 2008-05-08T15:38:31 svn:r797
Nick Mathewson 3d60bccc 2008-05-08T14:25:44 r19656@catbus: nickm | 2008-05-08 10:25:08 -0400 forward-port: Remove #include "misc.h"s. svn:r795
Nick Mathewson a26442c5 2008-05-08T14:06:33 r19649@catbus: nickm | 2008-05-08 10:00:14 -0400 Replace gettimeofday() usage with a new evutil_gettimeofday(). This removes all previous need for win32-code/misc.[ch] svn:r792
Niels Provos 85ed7133 2008-05-08T07:00:16 deprecate timeout_* event functions by moving them to event_compat.h svn:r791
Niels Provos de1c4392 2008-05-08T06:15:04 migrate evhttp to event2; accessors are still missing svn:r790
Niels Provos 3f56e364 2008-05-08T05:56:20 event_base_new_with_config() and related methods svn:r789
Niels Provos 3b2022ef 2008-05-08T05:33:15 provide an api for retrieving the supported event mechanisms svn:r788
Nick Mathewson 0a804f3c 2008-05-07T21:51:49 r19641@catbus: nickm | 2008-05-07 17:51:26 -0400 Forward-port: Fix win32 vc-2005 build. svn:r786
Nick Mathewson f2d65f8a 2008-05-07T20:29:33 r19634@catbus: nickm | 2008-05-07 16:10:37 -0400 the C syntax is fn(void), not fn(). svn:r784
Nick Mathewson 68fecb7a 2008-05-07T20:29:11 r19633@catbus: nickm | 2008-05-07 16:10:00 -0400 Fix bug 1958901: stop overriding CPPFLAGS in test directory. svn:r783
Niels Provos 300a4efb 2008-05-07T01:52:24 test virtual hosts svn:r780
Nick Mathewson caa368e1 2008-05-05T19:19:47 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
Nick Mathewson 803dc36a 2008-05-05T19:19:08 r19609@catbus: nickm | 2008-05-05 15:16:52 -0400 Reename evdns-internal struct request to evdns_request, and expose the name. switch new evdns resolve APIs to return evdns_request*. This is a prereq to making evdns requests cancelable. svn:r778
Nick Mathewson 957e9fd8 2008-05-05T17:49:52 r19607@catbus: nickm | 2008-05-05 13:49:44 -0400 Hack to make sure that there is always a working fast EVENT_FD() svn:r777
Nick Mathewson 4e8a339e 2008-05-05T15:46:00 r19602@catbus: nickm | 2008-05-05 11:45:18 -0400 Make most of the tests use the new headers. svn:r776
Nick Mathewson bb37fbb2 2008-05-05T15:45:47 r19601@catbus: nickm | 2008-05-05 11:45:04 -0400 Make event_rpcgen.py use the new headers. svn:r775
Nick Mathewson bc6da5ea 2008-05-05T15:45:39 r19600@catbus: nickm | 2008-05-05 11:34:06 -0400 Move EV_* flags into event.h; they are a necessary part of the public API. svn:r774
Nick Mathewson d0c3644e 2008-05-05T15:45:30 r19599@catbus: nickm | 2008-05-05 11:26:18 -0400 Turn event_initialized() and friends into a function; add function equivalents for EVENT_FD and EVENT_SIGNAL. svn:r773
Nick Mathewson 891dba43 2008-05-05T15:00:53 r19597@catbus: nickm | 2008-05-05 11:00:29 -0400 define _GNU_SOURCE before including fnmatch.h so that FNM_CASEFOLD gets defined and linux build gets fixed. This whole fnmatch() business will be a bit hard to port, though: windows doesn't have one IIUC, so we'll have to reimplement our own to work there. svn:r772
Niels Provos f2a81fbc 2008-05-05T07:17:05 add support for virtual http hosts; no tests yet svn:r771
Niels Provos f940eb4b 2008-05-04T22:21:29 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
Niels Provos 5786d525 2008-05-04T20:05:39 improve doxygen documentation for evhttp.h - still incomplete svn:r768
Niels Provos 36d7ab50 2008-05-04T18:31:21 trust in naming: rename evbuffer.c to bufferevent.c svn:r767
Nick Mathewson 40a44b36 2008-05-04T17:23:20 r19564@catbus: nickm | 2008-05-04 13:23:10 -0400 Fix compile with --enable-gcc-warnings and clock_gettime() svn:r766
Niels Provos a83caa6b 2008-05-04T03:52:24 remove too agressive assert svn:r765
Niels Provos 181007b9 2008-05-03T22:14:44 make event_assign void; it cannot return an error svn:r763
Niels Provos 1d30750b 2008-05-03T22:10:09 support for periodic timeouts svn:r762
Niels Provos 8c750eaf 2008-05-03T21:37:33 separate signal events from io events svn:r760
Niels Provos 45e6fb0d 2008-05-03T18:23:44 cache clock_gettime/gettimeofday values in base svn:r758
Niels Provos f04497e4 2008-05-03T03:05:28 introduce evbuffer_reserve_space() and evbuffer_commit_space() to make processing in filters more efficient svn:r757
Niels Provos becc89b7 2008-05-03T02:37:18 introduce evbuffer_contiguous_space() and use it in the zlib filter test svn:r756
Nick Mathewson 5fbc7f0a 2008-05-02T16:28:25 r15439@tombo: nickm | 2008-05-02 12:28:08 -0400 use event_assign internall; switch uses of event_set to use event_assign instead. svn:r755
Niels Provos e8f450f2 2008-05-01T02:08:26 expose a way to create the rpc context manually svn:r754
Niels Provos 85c4904b 2008-05-01T01:45:00 allow connections to be removed from an rpc pool svn:r753
Niels Provos d76cca72 2008-04-30T04:36:26 fix missing printf format argument svn:r752
Niels Provos ccb70f1b 2008-04-30T04:31:10 provide example bufferevent filters doing compression and decompression as additional regression test svn:r751
Niels Provos 522480f5 2008-04-30T01:01:57 improve documentation for bufferevent.h svn:r750
Niels Provos c58a01a2 2008-04-30T00:50:20 fix regression test; oops svn:r749
Niels Provos 682adc44 2008-04-30T00:09:16 support input/output filters for bufferevents svn:r748
Niels Provos 28add6b9 2008-04-29T23:18:04 add more header files to doxygen svn:r747
Nick Mathewson 98dc98c5 2008-04-29T21:19:26 r15346@tombo: nickm | 2008-04-29 17:19:18 -0400 Remove the never-exported, never-used, never-threadsafe evhttp_hostportfile() svn:r746
Nick Mathewson 9626a421 2008-04-29T18:11:23 r15341@tombo: nickm | 2008-04-29 14:09:50 -0400 Use internal implementation for evutil_timercmp() everywhere, to avoid bugs when the platform timercmp() has never heard of <= or >=. Also, replace timercmp() usage in min_heap.c with call to evutil_timercmp(). svn:r744
Nick Mathewson 4cff82bb 2008-04-29T18:11:10 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
Niels Provos e44ef375 2008-04-29T04:52:50 convert evhttp_connection to use bufferevents svn:r742
Niels Provos 0ec09b55 2008-04-29T04:35:26 also try client connection for chunked requests svn:r741
Niels Provos 9c480533 2008-04-29T02:33:27 test the server side of sending chunked replies svn:r740
Niels Provos 72a3902e 2008-04-29T00:24:00 test some primitives from http.c svn:r739
Niels Provos 9485ff9a 2008-04-27T20:40:56 introduce bufferevent_setcb and bufferevent_setfd to allow better manipulation of bufferevents svn:r737
Niels Provos 22c8a404 2008-04-27T20:04:33 test connection retry logic svn:r736
Niels Provos 7b29ad57 2008-04-27T19:41:26 test server behavior when connection times out while reading the headers svn:r735
Niels Provos dd183f7c 2008-04-27T00:32:10 provide bufferevent_input and bufferevent_output without requiring knowledge of the structure svn:r734
Niels Provos f6c40173 2008-04-26T05:13:56 fix a bug in which bufferevent_write_buffer would not schedule a write event svn:r733
Niels Provos 3a17aeed 2008-04-26T01:00:44 fix a bug in buffrevent read water marks and add a test for them svn:r731
Niels Provos 3278012f 2008-04-26T00:35:17 expose bufferevent_setwatermark via header files and fix high watermark on read svn:r729
Niels Provos 89f63b20 2008-04-25T02:44:46 add bufferevent_read_buffer function svn:r728
Nick Mathewson fe2e7307 2008-04-25T01:29:15 r15320@tombo: nickm | 2008-04-24 21:29:06 -0400 Yes, niels says this is safe. svn:r727
Nick Mathewson 94fb4d0a 2008-04-25T01:18:18 r15317@tombo: nickm | 2008-04-24 21:17:49 -0400 Add new functions to be more threadsafe (and structure-ignorant) than event_set. svn:r726
Nick Mathewson 49868b61 2008-04-25T01:18:08 r15316@tombo: nickm | 2008-04-24 20:58:36 -0400 Rename internal memory management functions from event_malloc() etc to mm_malloc() etc. svn:r725
Nick Mathewson a55a67d5 2008-04-18T13:46:13 r15249@tombo: nickm | 2008-04-18 09:46:02 -0400 Avoid leaking a string in the unlikely OOM case from name_from_addr. spotted by niels. svn:r724
Nick Mathewson a404bf98 2008-04-18T13:28:00 r15245@tombo: nickm | 2008-04-18 09:27:50 -0400 Oops; use libevent-internal type instead of uint32_t. svn:r722
Nick Mathewson 8d2a6160 2008-04-18T13:25:05 r15242@tombo: nickm | 2008-04-18 09:24:44 -0400 Make tagging code thread-safe, and fix a bug in encode_int_internal svn:r721
Nick Mathewson a2d4a062 2008-04-17T19:27:54 r15228@tombo: nickm | 2008-04-17 15:27:39 -0400 Use new includes in evport.c and devpoll.c. I do not have the hardware to compile these on; somebody else should test them. svn:r720
Nick Mathewson 3eb21c0d 2008-04-17T19:25:35 r15226@tombo: nickm | 2008-04-17 15:25:25 -0400 Fix a couple of gcc warnings on 64-bit platforms svn:r719
Nick Mathewson 8863ff76 2008-04-17T19:19:36 r15224@tombo: nickm | 2008-04-17 15:19:24 -0400 Oops. We need to make sure that strdup wasn't oom. svn:r718
Nick Mathewson ae09ac4a 2008-04-17T19:18:40 r15220@tombo: nickm | 2008-04-17 15:16:02 -0400 Use new includes in more files still svn:r717
Nick Mathewson 3f3a1675 2008-04-17T19:17:50 r15219@tombo: nickm | 2008-04-17 15:12:17 -0400 Use new includes in epoll.c svn:r716
Nick Mathewson beb39f57 2008-04-17T19:16:30 r15218@tombo: nickm | 2008-04-17 15:10:13 -0400 Add a missing #include <stdarg.h> svn:r715
Nick Mathewson e688a88a 2008-04-17T17:55:35 r15216@tombo: nickm | 2008-04-17 13:55:05 -0400 Add new thread-safe interfaces to evdns functions. Needs review. svn:r714
Nick Mathewson fc41ffde 2008-04-17T15:50:28 r15214@tombo: nickm | 2008-04-17 11:47:10 -0400 Make name_from_addr() threadsafe in http.c svn:r713
Nick Mathewson 963ae2cf 2008-04-16T21:01:31 r15212@tombo: nickm | 2008-04-16 17:01:21 -0400 Remove some needless includes svn:r712
Nick Mathewson 0ac73078 2008-04-16T20:01:51 r15193@tombo: nickm | 2008-04-16 16:00:35 -0400 Split event.h into several new headers in include/event2. event.h is now just a wrapper that includes all the subheaders. svn:r711
Nick Mathewson f560198e 2008-04-16T20:01:27 r15192@tombo: nickm | 2008-04-16 15:59:51 -0400 Fix a compilation error on OSX. svn:r710
Nick Mathewson f9f4d4fe 2008-04-11T20:02:50 r19309@catbus: nickm | 2008-04-11 16:02:07 -0400 Fix for epoll-on-linux bug (#1908866) where timeout values over (LONG_MAX-999)/HZ) (35 for me, or maybe 6 hours 50 min for some people, or maybe 3 hours 25 minutes for a special few) get treated as "wait forever". This actually deserves to be fixed in the kernel, but even if it is we will need to support Linux versions with this bug. svn:r709
Nick Mathewson 44ceb945 2008-04-10T19:34:50 r19305@catbus: nickm | 2008-04-10 15:34:10 -0400 Fix bug 1938754: do not warn when epoll_create() fails with ENOSYS. svn:r706
Nick Mathewson 0c843507 2008-04-10T19:25:11 r19301@catbus: nickm | 2008-04-10 14:54:46 -0400 Forward-port: Correct the documentation on evbuffer_add_[v]printf: Fix for bug 1914464. svn:r705
Niels Provos 812d2fd8 2008-04-03T14:27:01 proxy one more generator svn:r701
Niels Provos a7e39551 2008-04-03T03:33:07 slight refactoring svn:r700
Niels Provos 193c06a7 2008-03-31T02:04:34 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
Niels Provos 3ef1f504 2008-03-31T00:33:46 do not delete uninitialized timeout event in evdns svn:r697