Log

Author Commit Date CI Message
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
Niels Provos 7470ce52 2008-02-26T03:49:00 increase listen queue for http sockets to 128 svn:r669
Niels Provos 960be588 2008-02-26T03:29:36 deal correctly with http/1.0 and keep-alive svn:r667
Niels Provos 0b114da2 2008-02-26T03:12:07 introduce evhttp_accept_socket() to accept from an already created socket svn:r666
Niels Provos b14cd655 2008-02-25T07:49:22 add support (without tests!) to PUT/DELETE requests; from Josh Rotenberg svn:r662
Niels Provos bb914ed9 2008-02-25T07:34:07 do not insert event into list when evsel->add fails svn:r660
Nick Mathewson 5a2ece18 2008-02-23T19:04:26 r18370@catbus: nickm | 2008-02-23 14:04:00 -0500 clean up some corner cases in evutil.h. svn:r655
Niels Provos 67bf29ad 2008-02-23T06:02:04 simplify evbuffer by removing orig_buffer svn:r654
Niels Provos 87bef9e9 2008-02-20T21:49:09 update event_base_loop documentation; from Tani Hosokawa svn:r652
Nick Mathewson 0d26f160 2008-02-18T20:13:27 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
Nick Mathewson 11230f7e 2008-02-18T20:04:01 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
Niels Provos 506d4dbc 2008-02-17T01:31:31 remove NDEBUG ifdefs from evdns.c svn:r647
Niels Provos 23ef0d09 2008-02-17T01:15:36 allow regression code to be build even without Python installed svn:r645
Niels Provos f09e9d91 2008-02-17T01:12:09 1.3.99-trunk -> 1.4.99-trunk svn:r644
Nick Mathewson d47907a7 2008-02-16T20:50:02 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
Nick Mathewson 807ab182 2008-02-16T20:49:47 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
Nick Mathewson 677a9586 2008-02-16T16:56:34 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
Niels Provos 8ab61891 2008-02-16T06:09:39 event_base_get_method; from Springande Ulv svn:r635
Niels Provos f38aec8b 2008-02-12T06:01:46 devpoll and evport need reinit; tested by W.C.A. Wijngaards svn:r633
Niels Provos 2fde2217 2008-02-09T16:03:01 address some compiler warnings in debug mode svn:r630
Niels Provos 6baff522 2008-02-06T16:14:42 EAGAIN check for event ports; from Wijngaards svn:r629
Niels Provos 8c66d4e2 2008-01-26T07:29:57 remove pending timeouts on event_base_free svn:r627
Nick Mathewson 9859bc78 2007-12-31T20:47:12 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
Niels Provos 992bc85b 2007-12-31T20:42:21 dereference the right field and associate the right connection svn:r624
Niels Provos 2460aa59 2007-12-31T19:33:30 allow hooks to get access to the connection object svn:r623
Niels Provos 5a5609c7 2007-12-29T22:45:54 allow association of meta data with RPC requests for hook processing svn:r622
Niels Provos 024804cc 2007-12-28T07:58:29 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
Niels Provos 955c6abf 2007-12-28T00:36:47 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
Nick Mathewson 6d291da2 2007-12-28T00:34:05 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
Niels Provos 819d4a33 2007-12-27T23:17:24 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
Nick Mathewson 76945273 2007-12-27T21:37:52 r15733@tombo: nickm | 2007-12-27 16:37:33 -0500 Add another "what's new" file -- this one for svn trunk svn:r616
Niels Provos 616a64c8 2007-12-27T20:08:21 additional add argument was missing const qualifier svn:r615
Niels Provos 7e3a7af7 2007-12-24T23:59:41 support string arrays in event_rpcgen svn:r613
Niels Provos 03589ccb 2007-12-24T22:49:30 rollback r594: restructuring to make event activation independent. changes are going to wait for api design svn:r612
Niels Provos 68725dc8 2007-12-23T07:38:11 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
Nick Mathewson a5176a65 2007-12-20T22:45:30 Fix a win32 warning in regress.c svn:r608
Nick Mathewson 127888bd 2007-12-20T22:20:06 r17291@catbus: nickm | 2007-12-20 17:19:55 -0500 Add tree.h to distributed files in trunk. svn:r607
Niels Provos fdafb66b 2007-12-19T06:33:05 removed linger from http server socket; reported by Ilya Martynov svn:r604
Niels Provos d4bdbca8 2007-12-18T03:54:19 add -Wstrict-aliasing and remove bogus evtag_test from event.h svn:r602
Nick Mathewson d80c1c36 2007-12-16T19:34:09 r17185@catbus: nickm | 2007-12-16 14:33:40 -0500 Fix compilation with --enable-gcc-warnings enabled. svn:r599
Nick Mathewson d56a34e4 2007-12-16T19:33:52 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
Nick Mathewson 7ab26a2c 2007-12-16T18:55:16 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
Niels Provos 7aa845b7 2007-12-16T04:10:30 restructure the code to make event activation independent of regular event logic svn:r594
Niels Provos 622f69cc 2007-12-14T07:12:05 forgot to make new member optional svn:r590
Niels Provos 85053473 2007-12-13T06:36:54 fix a bug with event_rpcgen for integers svn:r588
Niels Provos ffd606cd 2007-12-13T06:14:18 prefix {encode,decode}_tag functions with evtag to avoid collisions svn:r587
Niels Provos 3b345f3e 2007-12-12T07:02:55 pull setters/getters out of RPC structures to reduce their memory footprint svn:r585
Niels Provos ba487199 2007-12-12T04:39:42 support for 32-bit tag numbers in rpc structures svn:r583
Niels Provos e8b916c3 2007-12-09T05:07:48 update ChangeLog; forgot about it svn:r582
Niels Provos fbe24f43 2007-12-09T05:07:20 remove obsoleted recalc code svn:r581
Nick Mathewson fa89d661 2007-12-06T19:40:49 Adjust more unit tests to pass on win32. svn:r580
Nick Mathewson fd418645 2007-12-06T19:36:49 Add winsock init functions to bench.c so it can run on win32. svn:r579
Nick Mathewson 9cc67e5f 2007-12-06T19:35:55 Compile regression tests by default even on win32. svn:r578
Nick Mathewson 77861fa7 2007-12-06T19:20:24 r16931@catbus: nickm | 2007-12-06 14:19:58 -0500 Fix warnings in debug messages svn:r577
Nick Mathewson cd666f80 2007-12-06T19:18:14 Debug new win32 code: make bufferevents test pass. svn:r576
Nick Mathewson 78d0de30 2007-12-06T18:38:50 Fix compile warnings and errors in win32 build. svn:r575
Nick Mathewson 2e2104f4 2007-12-06T18:13:03 r15172@tombo: nickm | 2007-12-06 12:54:37 -0500 Rewrite win32.c to use a red-black tree to map sockets to events. This changes the performance from O(N^2) to O(N lg N). Needs testing. (This was made possible by recent changes to the implementation of non-persistent events.) svn:r574
Nick Mathewson 3206bbca 2007-12-06T18:12:56 r15171@tombo: nickm | 2007-12-06 12:47:47 -0500 Use GCC attributes (where available) to verify printf type-correctness. Fix some bugs this turned up. svn:r573
Nick Mathewson 1e435af1 2007-12-06T18:12:44 r15170@tombo: nickm | 2007-12-06 12:38:03 -0500 Fix a warning in regress.c svn:r572
Nick Mathewson 5482192b 2007-12-06T04:36:18 r15166@tombo: nickm | 2007-12-05 23:35:10 -0500 Apply patch from bug 1841036: set the base of the correct event in evhttp_connection_start_detectclose() svn:r571
Niels Provos 60103d25 2007-12-01T16:36:00 remove duplicate submit of test_evbuffer_readln svn:r569
Nick Mathewson 395dd198 2007-12-01T09:30:07 r15096@tombo: nickm | 2007-12-01 04:29:39 -0500 Test for corner-cases of re-adding non-persistent events from one another's handlers svn:r568
Nick Mathewson d73cf1e1 2007-12-01T09:29:52 svn:r567
Niels Provos 876c3af7 2007-11-30T02:21:33 add another benchmark that tests cascading events svn:r566
Niels Provos 74b3db50 2007-11-29T06:08:24 always generate Date and Content-Length headers for HTTP/1.1 svn:r564
Niels Provos f175befa 2007-11-29T04:03:36 small improvements to evhttp documentation svn:r562
Niels Provos eeb5e4cd 2007-11-29T02:52:32 a bug in the regression test of event_reinit caused epoll to fail svn:r560
Niels Provos ef085e84 2007-11-27T06:45:25 we need to pass the evbase to evsel->add svn:r558
Niels Provos e2e4cf1f 2007-11-27T06:11:28 more complete test for forking behavior svn:r556
Niels Provos 5f3e3159 2007-11-27T01:39:10 move EV_PERSIST handling out of the event backends svn:r555
Nick Mathewson a7a7a190 2007-11-26T19:25:09 r16735@catbus: nickm | 2007-11-26 14:24:58 -0500 Fix test for EVBUFFER_LENGTH in evhttp_make_header(). Since appending an empty buffer to another is a no-op, this is not really a bug-fix. svn:r554
Nick Mathewson ce4ee418 2007-11-26T19:18:49 r16733@catbus: nickm | 2007-11-26 14:18:25 -0500 Add an --enable-gcc-warnings option (lifted from Tor) to the configure script. When provided, and when we are using GCC, we enable a bunch of extra GCC warnings in the compiler. Also, make the code all build happily with these warnings. svn:r553
Nick Mathewson 1120f04f 2007-11-25T21:53:06 r16731@catbus: nickm | 2007-11-25 16:52:53 -0500 Replace all fds on non-unix-specific APIs with evutil_socket_t, which is int on unix and intptr_t on win32. svn:r552
Nick Mathewson cbf9cfdf 2007-11-25T21:35:02 r16729@catbus: nickm | 2007-11-25 16:34:50 -0500 Add missing changelog entry for last commit. svn:r551
Nick Mathewson 6773a597 2007-11-25T21:32:26 r14953@tombo: nickm | 2007-11-25 15:56:40 -0500 Replace evbuffer_readline with a more powerful evbuffer_readln that can handle more EOL styles, and that can give useful results when there are NUL characters inside the returned values. Includes regression tests. svn:r550
Nick Mathewson ab010e16 2007-11-25T21:32:15 r14952@tombo: nickm | 2007-11-25 14:47:45 -0500 Fix an unused variable warning. svn:r549
Nick Mathewson d1ad9403 2007-11-25T21:28:51 svn:r547
Nick Mathewson fa95fe46 2007-11-25T21:28:43 r16704@catbus: nickm | 2007-11-19 15:58:54 -0500 Check return value of event_add in signal.c svn:r546
Nick Mathewson 2823cb05 2007-11-25T17:15:28 r14944@tombo: nickm | 2007-11-25 12:12:28 -0500 Make kqueue pass more unit tests. svn:r544