Branch :
| Author | Commit | Date | CI | Message |
|---|---|---|---|---|
| f74e7258 | 2007-11-07 06: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 | ||
| d0ce7d4e | 2007-11-07 06:01:45 | r16500@catbus: nickm | 2007-11-07 00:27:44 -0500 Remove from the (deprecated) acconfig.h file stubs that are already generated by autoheader. svn:r491 | ||
| 206d4336 | 2007-11-07 05: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 | ||
| 29420339 | 2007-11-07 05:02:14 | r16496@catbus: nickm | 2007-11-06 23:58:52 -0500 Clarify some doxygen in event.h svn:r489 | ||
| bab0e6d4 | 2007-11-07 04: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 | ||
| 7c507668 | 2007-11-07 03: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 | ||
| e9564ece | 2007-11-07 03: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 | ||
| 4555f755 | 2007-11-07 03:25:03 | remove tree.h from EXTRA_DIST; from Charles Kerr svn:r484 | ||
| 3c1bbca6 | 2007-11-07 02:30:17 | r14744@tombo: nickm | 2007-11-06 21:30:11 -0500 Fix coding error: patch from Charles Kerr. svn:r483 | ||
| a5271518 | 2007-11-07 01:48:44 | make event_init should return struct event_base * svn:r481 | ||
| 81802bf9 | 2007-11-06 20: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 | ||
| d257a4c0 | 2007-11-06 20: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 | ||
| d7d91461 | 2007-11-06 03: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 | ||
| dc2317f9 | 2007-11-04 06:35:29 | improve doxygen documentation svn:r473 | ||
| 1bcb112b | 2007-11-04 02: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 | ||
| 22bd8b00 | 2007-11-03 23:54:27 | remove last vestiges of RBTREE svn:r471 | ||
| 2026b215 | 2007-11-03 23:53:49 | remove last vestiges of RBTREE svn:r470 | ||
| 88173102 | 2007-11-03 23:45:38 | split libevent into two extra libraries libevent_core and libevent_extra svn:r469 | ||
| 1d3a008a | 2007-11-03 22:51:26 | provide hooks for outgoing pools; associate a base with a pool svn:r468 | ||
| 30ae40cc | 2007-11-03 18:04:53 | switch timeouts to a min heap; from Maxim Yegorushkin svn:r467 | ||
| 65236aa8 | 2007-11-02 06:34:04 | simple hooks for processing incoming and outgoing rpcs svn:r466 | ||
| 18ac9248 | 2007-10-27 17:50:07 | Solaris event port improvements svn:r464 | ||
| ccdc5990 | 2007-10-18 17:49:52 | r15922@catbus: nickm | 2007-10-18 13:48:46 -0400 Patch to event.3 from Christopher Lane. svn:r463 | ||
| c91794e2 | 2007-10-12 18:02:56 | Instead of read/write in regress.c, use send/recv. Now all of the win32 regression tests pass, except for http and rpc. svn:r461 | ||
| e1f09dfe | 2007-10-12 17:55:37 | Fix evutil code to use correct EVUTIL_SET_SOCKET_ERROR macro. svn:r460 | ||
| 49ede3be | 2007-10-03 17: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 | ||
| bc7b7c24 | 2007-10-03 04:14:54 | Fix implementation of strsep. svn:r457 | ||
| 4ed48673 | 2007-10-02 19: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 | ||
| 3550be93 | 2007-09-25 15:50:50 | r15331@catbus: nickm | 2007-09-25 11:46:52 -0400 Add EVPORT to test.sh script. Patch from Trond Norbye. svn:r454 | ||
| fe482977 | 2007-09-24 16:26:11 | r15324@catbus: nickm | 2007-09-24 12:22:21 -0400 New evutil.h macros to manipulate winsock errors. Use them in http.c and in evutil_socketpair(). svn:r451 | ||
| 3c1a6a68 | 2007-09-23 03:49:28 | first attempts at refactoring this code to make it more readable; mostly changing to dictionaries for format strings svn:r450 | ||
| a4cc3d14 | 2007-09-22 23:57:11 | rename the rpc member from kill to attack; that way the structure does not have the same name. might find some bugs. svn:r449 | ||
| db43c1e1 | 2007-09-20 19: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 | ||
| 1e1f77c5 | 2007-09-20 19: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 | ||
| d85bce4e | 2007-09-20 18:38:31 | Remove gratuitous tor-isms in evutil_socketpair(); fix a windows warning in http.c. svn:r446 | ||
| f4c84e86 | 2007-09-20 18: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 | ||
| 5a0d671f | 2007-09-20 18: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 | ||
| 8b256b8e | 2007-09-20 18: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 | ||
| f0e06d75 | 2007-09-20 18:26:46 | r15217@catbus: nickm | 2007-09-20 14:04:32 -0400 Fix win32 signals: teach win32 that we have per-base signal queues; teach signal.c that not everybody has sigaction(). svn:r442 | ||
| 25007183 | 2007-09-20 18: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 | ||
| 626cc5f9 | 2007-09-19 15: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 | ||
| 7f57289f | 2007-09-18 15:16:23 | r15103@catbus: nickm | 2007-09-18 11:13:09 -0400 Use a dummy target to ensure that doxygen gets rebuilt every time we "make doxygen". svn:r439 | ||
| 47ed792c | 2007-09-18 15:16:17 | r15102@catbus: nickm | 2007-09-18 11:12:43 -0400 Make the autogen.sh script executable. svn:r438 | ||
| d69a4c9e | 2007-09-18 15:12:20 | r15097@catbus: nickm | 2007-09-18 11:08:42 -0400 Wrap all newly-added Doxygen comments to fit in a consistent 80 columns, and remove all their trailing whitespace. svn:r437 | ||
| 7135ffb6 | 2007-09-18 15:12:09 | r15096@catbus: nickm | 2007-09-18 11:02:12 -0400 Add Doxygen documentation to header files; patch from Mark Heily. svn:r436 | ||
| c895ee46 | 2007-09-18 15:11:53 | r15094@catbus: nickm | 2007-09-18 10:52:11 -0400 Patch from Christopher Lane: Make regress.gen.* buildable from outside source directory. svn:r434 | ||
| 7b7742fc | 2007-09-16 02:26:37 | optimize by removing a variable svn:r433 | ||
| bfd27f58 | 2007-09-15 18:45:57 | r15086@catbus: nickm | 2007-09-15 14:42:55 -0400 Patch from Trond Norbye: Fix two solaris bugs. svn:r432 | ||
| b835ee08 | 2007-09-15 15:50:11 | fix http.c to compile properly with USE_DEBUG; from Christopher Layne svn:r430 | ||
| 640c61ba | 2007-09-15 00:53:47 | deal with out of memory situations for realloc svn:r429 | ||
| 82153e6e | 2007-09-10 14: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 | ||
| 8b392549 | 2007-09-10 14: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 | ||
| c396c767 | 2007-09-10 14: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 | ||
| fc1211ed | 2007-09-10 01:37:57 | fix another memory leak svn:r424 | ||
| 7c66bf33 | 2007-09-10 01:30:11 | fix a memory leak in the dns server; found by valgrind svn:r422 | ||
| babd622f | 2007-09-09 03:10:16 | make allocating array members in event_rpcgen more efficient, but doubling the size of available slots every time we run out. svn:r421 | ||
| e2f56411 | 2007-09-09 02:33:10 | Fix a memory leak in which failed HTTP connections whould not free the request object svn:r419 | ||
| 8ee20a3f | 2007-09-09 02:15:34 | fix memory leaks/unitialized memory found by valgrind svn:r418 | ||
| e678f009 | 2007-09-09 01:46:35 | fix a couple memory leaks; time buffer marshaling svn:r417 | ||
| 98f9616b | 2007-09-07 02:49:46 | support setting local address on an evhttp_connection svn:r416 | ||
| 23866b76 | 2007-09-07 01:18:53 | Another tweak on the date patch: win32 has no gmtime_r, but its gmtime() function uses thread-local storage for safety. Backportable. svn:r414 | ||
| 003698c0 | 2007-09-07 01:03:01 | r14975@catbus: nickm | 2007-09-06 21:00:38 -0400 Oops; we were already including sys/time.h. Remove the redundant include. svn:r413 | ||
| 8d5ef326 | 2007-09-07 01:02:56 | r14974@catbus: nickm | 2007-09-06 20:59:14 -0400 Changes to http.c: Add a Date header on replies if there is none already set. Also, include time.h unconditionally to be sure that struct tm is declared: every platform has time.h; the conditional should have been for sys/time.h. svn:r412 | ||
| 9c3ac4e4 | 2007-09-07 00:10:15 | r14970@catbus: nickm | 2007-09-06 20:09:39 -0400 Fix compilation on Solaris; Patch from Magne Mahre. svn:r409 | ||
| ff9e1af6 | 2007-09-02 01:33:38 | demote most warnings to debug messages; execute callback later to allow freeing of connection object svn:r407 | ||
| 11a0a9e4 | 2007-08-25 18:47:22 | allow \r or \n individually to separate HTTP headers instead of the standard "\r\n"; from Charles Kerr. svn:r406 | ||
| 49e01ff7 | 2007-08-25 18:42:42 | include event.h in evhttp.h; found by Charles Kerr svn:r404 | ||
| 5f04e3b7 | 2007-08-24 01:08:39 | Bump version number in svn trunk to 1.3.99. svn:r403 | ||
| 9a99bab0 | 2007-08-23 15:36:38 | let's try to keep a log of changes; as suggested by Nick svn:r401 | ||
| a36d4a93 | 2007-08-20 14:44:15 | r14699@catbus: nickm | 2007-08-20 10:42:57 -0400 Use $top_srcdir and $srcdir variables to refer to source paths in Makefile.am. This makes it possible to build libevent from a separate directory. Patch from Kelly Anderson. svn:r400 | ||
| 41c69fc3 | 2007-08-19 17:26:02 | fix typo in comments svn:r399 | ||
| 3d2320b2 | 2007-08-19 17:25:52 | r14697@catbus: nickm | 2007-08-19 13:24:39 -0400 Remove redundant typedef of socklen_t in evdns.c: On windows, it is already defined by autoconf in config.h. svn:r398 | ||
| 67947ce3 | 2007-08-19 02:41:23 | provide evhttp_new and evhttp_bind_socket instead of evhttp_start; using evhttp_new, it is possible to associate an event_base with the http server so that multi-threaded applications can have their own http server per thread; add appropriate testing. svn:r397 | ||
| 35983cd6 | 2007-08-16 21:12:53 | r14618@catbus: nickm | 2007-08-16 17:11:47 -0400 In ANSI C, int func() is a function with unspecified arguments, whereas int func(void) is a function that takes no arguments. Using int func() to mean a function with no arguments is a C++ism, so let's not use or generate it. svn:r395 | ||
| 12fe087e | 2007-08-10 16:37:33 | r14505@catbus: nickm | 2007-08-10 12:35:52 -0400 Fix win32 build errors (reported by Phobos): mingw gcc seems to dislike unnamed function parameters. svn:r390 | ||
| 7d821580 | 2007-08-10 16:31:02 | Fix compile warning on osx: the udata field in struct kevent is supposed to be void*, not intptr_t. svn:r387 | ||
| 21a7e7ed | 2007-08-10 15:59:31 | r14498@catbus: nickm | 2007-08-10 11:58:32 -0400 Fix compilation warnings in trunk on linux with gcc 4.1.2. In time-test.c, always include time.h, so that time() is defined. In test/Makefile.am, put -I../compat in CPPFLAGS, and fix a typo. In test/regress.c, cast unsigned char pointers to char* before passing them to str[n]cmp. svn:r385 | ||
| cd6dd951 | 2007-08-06 21:00:49 | add a proper test for filtering new lines in headers svn:r384 | ||
| 073d3590 | 2007-08-06 20:53:33 | fix an embarassing bug where strchr was used with a cstring instead of a char svn:r383 | ||
| 8ea5ffef | 2007-08-05 02:15:10 | request dispatching fix from Elliot Foster svn:r382 | ||
| b7ff0248 | 2007-07-31 00:32:00 | fix memory leak; found by Elliot F svn:r378 | ||
| 5e0ac7f2 | 2007-07-31 00:25:22 | check for sys/select.h svn:r377 | ||
| aa106169 | 2007-07-31 00:21:04 | use AM_CLFAGS from Jan Kneschke svn:r376 | ||
| 9e0333a8 | 2007-07-30 23:56:05 | include config.h if HAVE_CONFIG_H from Jan Kneschke svn:r375 | ||
| 72c479e7 | 2007-07-30 23:54:25 | remove c99 variable declarations; from Jan Kneschke svn:r374 | ||
| 7c6df310 | 2007-07-30 23:53:10 | remove c++ comments from Jan Kneschke svn:r373 | ||
| 10267216 | 2007-07-30 23:49:00 | initalize ev_res from Scott Lamb svn:r372 | ||
| 3ad6b47e | 2007-07-30 22:41:00 | make clock_monotonic work; do not use default timeout; from Scott Lamb, plus some fixes from me. svn:r371 | ||
| d7918e79 | 2007-07-30 21:27:33 | drop illegal header values svn:r370 | ||
| b15d715c | 2007-07-06 03:36:31 | make event_rpcgen.py use the uint_ types; make event.h include stdint.h (wonder which OS that will break) svn:r369 | ||
| 753ffa56 | 2007-06-30 19:08:46 | convert u_int8_t types to uint8_t types svn:r368 | ||
| f0ff792a | 2007-06-30 18:58:34 | fixes from Joerg Sonnenberger: http.c is a violation of the ctype(3) interface and an unused function. test/regress_http.c are incorrect format strings. test/regress.c uses raise(3) from signal.h. evdns.c: evdns_error_strings is unused. The GET* macros can eat the semicolon from the expression. pos is passed in as off_t, so just pass that down. When assigning negativ values to unsigned variables, an explicit cast is considered good style. svn:r367 | ||
| aa5c8068 | 2007-06-16 03:23:15 | make it compile on solaris; from Andrei Nigmatulin svn:r366 | ||
| d1848a88 | 2007-06-14 04:38:42 | include config.h svn:r365 | ||
| cf5c1fce | 2007-06-08 16:06:23 | made the wrong fd non-blocking in accept_socket; from szjwwu svn:r364 | ||
| 3794534f | 2007-05-29 05:38:58 | change the signature of the client rpc callback to pass in an rpc status; the status allows us to determine if an error happened. svn:r363 | ||
| f0d0559c | 2007-05-28 21:21:59 | allow DNS server to get access to the IP address for the requestor; from tor cvs via Nick Mathewson svn:r362 | ||
| 5d3b6a83 | 2007-05-28 21:20:57 | fail quicker on bad replies; from tor cvs via Nick Mathewson svn:r361 | ||
| d06ab856 | 2007-05-28 21:19:18 | fix bug where req was freed and dereferenced afterwards; from tor cvs via Nick Mathewson svn:r360 | ||
| 28246587 | 2007-05-28 21:17:35 | treat SERVERFAILED as a timeout; from tor cvs via Nick Mathewson svn:r359 |