Log

Author Commit Date CI Message
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
Niels Provos 502929cd 2008-03-31T00:31:53 add a check that base != NULL for threading; might want to drop this later svn:r696
Niels Provos 8920ac4d 2008-03-30T21:06:33 make RPC replies use application/octet-stream svn:r694
Niels Provos ca42671a 2008-03-29T01:45:45 make event methods static so that they are not exported; from Andrei Nigmatulin svn:r692
Niels Provos cb50f615 2008-03-11T05:26:30 rename lock create callback functions; as suggested by nick svn:r691
Niels Provos c182baca 2008-03-10T03:17:20 switch thread support so that locks get allocated as they are needed. svn:r690
Nick Mathewson 6a92ec0b 2008-03-04T19:47:01 r18547@catbus: nickm | 2008-03-04 14:46:42 -0500 Fix compilation with --enable-gcc-warnings svn:r689
Niels Provos 0c49e456 2008-03-04T05:42:20 document thread functions svn:r688
Niels Provos d5c15b2e 2008-03-03T03:36:51 make event_rpcgen.py generate code include event-config.h svn:r686
Niels Provos 968fd5c0 2008-03-02T21:39:49 forgot this header file svn:r685
Niels Provos 558de9b3 2008-03-02T21:18:33 Provide OpenSSL style support for multiple threads accessing the same event_base svn:r684
Niels Provos 19dad166 2008-03-02T01:46:00 Do not free the kqop file descriptor in other processes, also allow it to be 0; from Andrei Nigmatulin svn:r682
Nick Mathewson 593b5f99 2008-02-29T22:33:01 r18492@catbus: nickm | 2008-02-29 17:32:55 -0500 Add another missing _REENTRANT. svn:r681
Niels Provos 00382110 2008-02-29T05:23:49 address nick's comments and make evbuffer_pullup more efficient svn:r680
Nick Mathewson 72105927 2008-02-28T20:57:01 r18490@catbus: nickm | 2008-02-28 15:56:55 -0500 Replace www.google.com with google.com; fix EVDNS_MAIN code. svn:r679
Nick Mathewson 69717730 2008-02-28T20:41:34 r18488@catbus: nickm | 2008-02-28 15:41:27 -0500 Define reentrant in evdns.c so that we get a declaration for strtok_r svn:r678
Nick Mathewson 0322ce0a 2008-02-28T18:36:03 r18486@catbus: nickm | 2008-02-28 13:35:53 -0500 Make offsetof into evutil_offsetof. Be a little more willing to call evbuffer_chain_align() from evbuffer_expand(). Clarify some docs, and add some XXX comments to note questionable areas. svn:r677
Nick Mathewson d71da6f7 2008-02-28T17:47:30 r18484@catbus: nickm | 2008-02-28 12:47:20 -0500 Use event_warn() function, not fprintf-to-stderr. svn:r676
Nick Mathewson 0e7cbe65 2008-02-28T17:38:52 r18482@catbus: nickm | 2008-02-28 12:38:40 -0500 Fix GCC 4.2 warnings; fix includes in subdirs. svn:r675
Niels Provos 5c70ea4c 2008-02-28T02:47:43 improved code for evbuffer; avoids memcpy svn:r674
Niels Provos eb9b9580 2008-02-27T06:20:48 add some basic tests for DELETE/PUT; from Josh Rotenberg svn:r673
Nick Mathewson e7ad5493 2008-02-26T20:24:29 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
Niels Provos bd31d00f 2008-02-26T04:54:19 move signal callbacks closer to test code svn:r670