ChangeLog


Log

Author Commit Date CI Message
Niels Provos c182baca 2008-03-10T03:17:20 switch thread support so that locks get allocated as they are needed. svn:r690
Niels Provos d5c15b2e 2008-03-03T03:36:51 make event_rpcgen.py generate code include event-config.h svn:r686
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 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
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 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
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 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
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 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
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 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
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
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
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 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 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
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 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 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 5f3e3159 2007-11-27T01:39:10 move EV_PERSIST handling out of the event backends svn:r555
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 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
Nick Mathewson 566ca340 2007-11-25T17:15:17 svn:r543
Nick Mathewson 7eb250e9 2007-11-25T17:14:19 r14939@tombo: nickm | 2007-11-25 11:59:26 -0500 New function event_set_mem_functions to replace internal calls to malloc, free, etc with a user-supplied functions. svn:r541
Niels Provos 88897852 2007-11-25T06:57:59 provide event_reinit() to reinitialized an event_base after fork - necessary for epoll/kqueue svn:r539
Nick Mathewson 1c23e219 2007-11-17T22:21:42 r14931@tombo: nickm | 2007-11-17 17:21:09 -0500 Patch from Scott Lamb: Implement event_{base_}loopbreak. Includes documentation and tests. From sf.net Feature Request 1826546. svn:r535
Nick Mathewson 70248ca8 2007-11-17T22:21:33 r14930@tombo: nickm | 2007-11-17 17:01:14 -0500 documentation fix on loopexit and elsewhere from Scott Lamb. svn:r534
Niels Provos af6f331a 2007-11-17T01:32:30 use a const pointer for bufferevent_write svn:r531
Niels Provos f586f428 2007-11-14T17:52:21 provide event_base_new() as a mechanism for not setting the current_global svn:r529
Niels Provos 56934d5d 2007-11-13T17:36:58 debug cleanups in signal.c; from Christopher Layne svn:r527
Niels Provos d50afbb3 2007-11-13T03:32:10 free minheap; from Christopher Layne svn:r525
Niels Provos 3742868a 2007-11-12T06:54:35 We do not need to specially remove a timeout before calling event_del; patch from Christopher Layne. svn:r519
Niels Provos 4a1a2e0d 2007-11-12T02:31:07 Make the logic for active events work better with internal events; patch from Christopher Layne svn:r509
Niels Provos bbed0954 2007-11-11T03:05:03 revert r505; it introduced errors in epoll svn:r508
Nick Mathewson 321dfd55 2007-11-10T05:18:17 r16585@catbus: nickm | 2007-11-10 00:16:11 -0500 Patch from Christopher Layne: Make event_del() restore previous signal handlers, not the default. svn:r506
Nick Mathewson 9f0f3d6d 2007-11-10T05:18:11 r16584@catbus: nickm | 2007-11-10 00:00:59 -0500 Patch from Christopher Lane: reduce branch count in epoll_dispatch.c and generally improve clarity. svn:r505
Nick Mathewson cabcd62f 2007-11-08T17:36:28 r16578@catbus: nickm | 2007-11-08 12:34:51 -0500 The == operator in shell is a bash-ism; do not use it in autogen.sh svn:r503
Nick Mathewson 92cd548f 2007-11-07T21:14:04 r16544@catbus: nickm | 2007-11-07 16:12:37 -0500 Oops; forgot the log entry. svn:r500
Nick Mathewson f74e7258 2007-11-07T06:01:57 r16501@catbus: nickm | 2007-11-07 01:00:31 -0500 This is one of those patches which will either make matters far simpler after the bugs shake out, or will get reverted pretty quick once we realize that it is a stupid idea. We now post-process the config.h file into a new event-config.h file, whose macros are prefixed with _EVENT_ and which is thus safe for headers to include. Using this, we can define replacement timeval manipulation functions in evutil.h, and use them uniformly through our code. We can also detect which headers are needful in event.h, and include them as required. This is also the perfect time to remove the long-deprecated acconfig.h file, so that autoheader no longer warns. Should resolve the following issues: [ 1826530 ] Header files should have access to autoconf output. [ 1826545 ] acconfig.h is deprecated. [ 1826564 ] On some platforms, event.h can't be included alone. svn:r492
Nick Mathewson 206d4336 2007-11-07T05:02:21 r16497@catbus: nickm | 2007-11-07 00:01:02 -0500 Resolve issue 1826588: make event_base_free() succeed even if there are pending non-INTERNAL events still in the base. This can leak memory and fds if used injudiciously, but at least it no longer crashes. svn:r490
Nick Mathewson bab0e6d4 2007-11-07T04:28:54 r16492@catbus: nickm | 2007-11-06 23:27:32 -0500 Fix unit tests so that an outdated nameserver means "Skip IPv6 tests", not "Abort." svn:r487
Nick Mathewson 7c507668 2007-11-07T03:52:20 r16489@catbus: nickm | 2007-11-06 22:51:05 -0500 Do not use "class" as identifier in evdns.h; but use a backward-compatible fix. (Should fix bug 1826515, originally reported by Roger Clark) svn:r486
Nick Mathewson e9564ece 2007-11-07T03:40:26 r16487@catbus: nickm | 2007-11-06 22:38:44 -0500 Remove rtsig method, as discussed in July. It hasn't compiled for quite a while, and nobody has seemed to miss it much. Please let us know if this was a bad call. [Tracker issue 1826539]. svn:r485
Nick Mathewson 81802bf9 2007-11-06T20:57:37 r16473@catbus: nickm | 2007-11-06 15:55:35 -0500 Increment MAX_ADDRS in evdns so as to be quite large. This is not as good as a general solution, but it may be good enough for practical use. svn:r479
Nick Mathewson d257a4c0 2007-11-06T20:57:32 r16454@catbus: nickm | 2007-11-06 09:59:45 -0500 Small code cleanups in epoll_dispatch(): remove a needless variable and some redundant conditionals. svn:r478
Nick Mathewson d7d91461 2007-11-06T03:04:49 r14732@tombo: nickm | 2007-11-05 22:03:28 -0500 Quick hack to make evhttp.h build when there is no TAILQ to be found. Based on patch from Paul Fisher. We could perhaps do this more elegantly, but it _does_ need to be done. svn:r475
Nick Mathewson 1bcb112b 2007-11-04T02:21:31 r14698@tombo: nickm | 2007-11-03 22:20:23 -0400 Use libtool versioning correctly. Add comment to Makefile.am explaining how to keep this working. svn:r472
Niels Provos 88173102 2007-11-03T23:45:38 split libevent into two extra libraries libevent_core and libevent_extra svn:r469
Niels Provos 1d3a008a 2007-11-03T22:51:26 provide hooks for outgoing pools; associate a base with a pool svn:r468
Niels Provos 30ae40cc 2007-11-03T18:04:53 switch timeouts to a min heap; from Maxim Yegorushkin svn:r467
Niels Provos 65236aa8 2007-11-02T06:34:04 simple hooks for processing incoming and outgoing rpcs svn:r466
Niels Provos 18ac9248 2007-10-27T17:50:07 Solaris event port improvements svn:r464
Nick Mathewson 49ede3be 2007-10-03T17:19:22 r15517@catbus: nickm | 2007-10-03 13:14:05 -0400 Correct the pointer manipulation in fake_getaddrinfo(), and do the right thing for fake_getaddrinfo(NULL,&ai). Based on a patch by Lubmir Marinov, hacked until the unit tests passed on Linux with #undef HAVE_GETADDRINFO. svn:r459
Nick Mathewson bc7b7c24 2007-10-03T04:14:54 Fix implementation of strsep. svn:r457
Nick Mathewson 4ed48673 2007-10-02T19:11:41 r15496@catbus: nickm | 2007-10-02 15:06:22 -0400 Move end of "extern C {" block to the end of evdns.h. svn:r456
Nick Mathewson db43c1e1 2007-09-20T19:36:03 On win32, sockets apparently can't be used with ReadFile and WriteFile: You need send() and recv() instead. Also, you need to use ioctlsocket() with sockets, not ioctl. [Fixes evbuffer regression tests.] svn:r448
Nick Mathewson 1e1f77c5 2007-09-20T19:08:20 Make the test/ subdirectory buildable under Windows. Well, mingw at least. The tests still don't all pass, but at least now we know that. svn:r447
Nick Mathewson f4c84e86 2007-09-20T18:27:01 r15220@catbus: nickm | 2007-09-20 14:22:57 -0400 Another patch from Trond: Skip calling gettime() in timeout_process if we have no events in the timetree. svn:r445
Nick Mathewson 5a0d671f 2007-09-20T18:26:56 r15219@catbus: nickm | 2007-09-20 14:17:32 -0400 Apply patch from Trond Norbye with recommendations from Magne Mahre and Hannah Schroeter: make autogen.sh work on systems where /bin/sh is not bash. svn:r444
Nick Mathewson 8b256b8e 2007-09-20T18:26:51 r15218@catbus: nickm | 2007-09-20 14:14:05 -0400 More win32 fixes: Use evutil_make_socket_nonblocking and EVUTIL_CLOSESOCKET consistently throughout the code. svn:r443
Nick Mathewson 25007183 2007-09-20T18:26:40 r15216@catbus: nickm | 2007-09-20 13:58:23 -0400 Add a new evutil module to contain the usual cross-platform hacks: socketpair, closesocket, and make_socket_nonblocking() svn:r441
Nick Mathewson 626cc5f9 2007-09-19T15:27:53 r15168@catbus: nickm | 2007-09-19 11:24:30 -0400 Add a new function to evdns to override the default transaction ID generation code. svn:r440
Nick Mathewson 7135ffb6 2007-09-18T15:12:09 r15096@catbus: nickm | 2007-09-18 11:02:12 -0400 Add Doxygen documentation to header files; patch from Mark Heily. svn:r436
Nick Mathewson bfd27f58 2007-09-15T18:45:57 r15086@catbus: nickm | 2007-09-15 14:42:55 -0400 Patch from Trond Norbye: Fix two solaris bugs. svn:r432
Niels Provos b835ee08 2007-09-15T15:50:11 fix http.c to compile properly with USE_DEBUG; from Christopher Layne svn:r430
Nick Mathewson 82153e6e 2007-09-10T14:56:00 r15025@catbus: nickm | 2007-09-10 10:54:46 -0400 More DNS standard correctness changes: we preserve the CD flag,not the TC flag on responses. When we get a nonstandard query, we should say "NOTIMPL" rather than ignoring it. svn:r428
Nick Mathewson 8b392549 2007-09-10T14:55:55 r15024@catbus: nickm | 2007-09-10 10:49:15 -0400 Fix evdns_resolve_reverse_ipv6() so buffer is bug enough, and so the string ends with ".ip6.arpa" rather than "..ip6.arpa". svn:r427
Nick Mathewson c396c767 2007-09-10T14:55:50 r15023@catbus: nickm | 2007-09-10 10:46:16 -0400 Add a missing begin-comment to the DNS_USE_OPENSSL_FOR_ID code in evdns.c. svn:r426
Niels Provos 7c66bf33 2007-09-10T01:30:11 fix a memory leak in the dns server; found by valgrind svn:r422