Branch :
| Author | Commit | Date | CI | Message |
|---|---|---|---|---|
| b260065a | 2011-08-28 14:06:03 | Merge remote-tracking branch 'origin/patches-2.0' | ||
| 6056d6e0 | 2011-08-28 14:02:40 | Cleanup on 7c11e51e1ab: restore c90 declaration compliance | ||
| 7c11e51e | 2011-08-27 05:48:11 | Clean up some problems identified by Coverity. | ||
| 9f560bfa | 2011-05-25 19:50:56 | Use "_WIN32", not WIN32: it's standard and we don't need to fake it This patch was automatically generated with perl. Based on a patch by Peter Rosin. | ||
| 4ab2a89d | 2011-03-12 12:12:35 | Merge remote branch 'origin/patches-2.0' | ||
| 4b8f02f1 | 2011-03-12 12:08:19 | Fix incorrect assertions and possible use-after-free in evrpc_free() Original description: The following patch fixes incorrect assertions in evrpc_free(): evrpc_unregister_rpc() and evrpc_remove_hook() return 0 for success. Also, in evrpc_unregister_rpc(), it is better to free RPC structure at the end: evrpc_free() uses rpc->uri as "name" parameter when calling evrpc_unregister_rpc(), then rpc->uri is freed, but we have "registered_uri = evrpc_construct_uri(name)". So at this time "name" is invalid. | ||
| 6350e6c4 | 2011-02-22 17:52:50 | Add new evhttp_{connection_}set_timeout_tv() functions to set finger-grained http timeouts | ||
| 0915ca0a | 2011-01-02 08:43:45 | Include evconfig-private.h in internal files for great good. | ||
| 545a6114 | 2010-11-01 13:59:04 | Fix even more win64 warnings: buffer, event_tagging, http, evdns, evrpc | ||
| 743f8665 | 2010-08-23 11:48:46 | Honor NDEBUG; build without warnings with NDEBUG; make NDEBUG always-off in unit test code | ||
| ec347b92 | 2010-07-07 16:45:03 | Move event-config.h to include/event2 This change means that all required include files are in event2, and all files not in event2/* are optional. | ||
| 39906698 | 2010-05-26 12:58:02 | Let evhttp_send_error infer the right error reasons | ||
| 94ee1251 | 2010-04-23 23:55:03 | fix a leak when unpausing evrpc requests | ||
| 755fbf16 | 2010-04-14 14:27:29 | Add void* arguments to request_new and reply_new evrpc hooks This makes evprc setup more extensible, and helps with Shuo Chen's work on implementing Google protocol buffers rpc on top of Libevent 2 evrpc. This patch breaks binary compatibility with previous versions of Libevent, since it changes struct evrpc and the signature of evrpc_register_generic(). Since all compliant code should be calling evrpc_register_generic via EVRPC_REGISTER, it shouldn't break source compatibility. (Code by Shuo Chen; commit message by Nick) | ||
| 07edf784 | 2010-04-14 14:23:03 | Expose the request and reply members of rpc_req_generic() This code adds two accessor functions to evprc, and helps integrate evrpc with Google protocol buffers. (Code by Shuo Chen; commit message by nickm) | ||
| 17efc1cd | 2010-03-04 01:25:51 | Update all our copyright notices to say "2010" | ||
| e5bbd40a | 2010-02-18 17:41:15 | Clean up formatting: use tabs, not 8-spaces, to indent. | ||
| 70a4a3ef | 2010-01-23 16:47:54 | Remove a needless include of rpc_compat.h Nothing in evrpc.c was using rpc_compat.h, so it's best to take it out, especially since it polluted our build process with GCC variadic macros. While we're at it, this patch puts an extra restriction on when the variadic macros in rpc_compat.h are defined. Not only must GCC be the compiler, but GCC must not be running in -ansi mode. | ||
| 784b8773 | 2009-11-06 21:46:57 | We do not work any more without an event-config.h; stop pretending that it is meaningful to check for HAVE_CONFIG_H svn:r1516 | ||
| 2e36dbe1 | 2009-10-26 20:00:43 | Use EVUTIL_ASSERT() consistently instead of assert. svn:r1464 | ||
| e3fd294a | 2009-10-16 13:19:57 | Spelling fixes in comments and strings. svn:r1445 | ||
| 5d71b25b | 2009-07-17 18:38:38 | Remove all trailing whitespace from end-of-line. svn:r1350 | ||
| 00ecd1d8 | 2009-05-02 16:23:08 | Make evrpc use event2/rpc*.h, not evrpc.h svn:r1266 | ||
| a146af1d | 2009-04-25 00:15:55 | move more code directly into evrpc.c; provide backwards compatible vararg macros svn:r1244 | ||
| a8f6d961 | 2009-04-17 06:56:09 | Actually stop using EVBUFFER_LENGTH/DATA, and move them to buffer_compat.h svn:r1183 | ||
| cd731b77 | 2009-02-10 21:40:12 | Do not use ctypes functions in cases when we need the "net" locale. This patch adds a new set of EVUTIL_IS* functions to replace use of the ctypes is* functions in all cases where we care about characters' interpretations in net ascii rather than in the locale. For example, when we're working with DNS hostnames, we don't want to do the 0x20 hack on non-ascii characters, even if the host thinks they should be isalpha. svn:r1114 | ||
| 7dd362b1 | 2009-01-29 15:09:24 | Have util-internal.h define socklen_t if we need it, and include it appropriately. This fixes win32 compilation. svn:r1070 | ||
| b85b710c | 2009-01-27 22:34:36 | Update copyright statements to reflect the facts that: a) this is 2009 b) niels and nick have been comaintainers for a while c) saying "all rights reserved" when you then go on to explicitly disclaim some rights is sheer cargo-cultism. svn:r1065 | ||
| 8889a770 | 2009-01-27 22:30:46 | Replace all use of config.h with event-config.h. svn:r1064 | ||
| 9993137c | 2009-01-27 21:10:31 | Remove all trailing whitespace in all the source files. svn:r1063 | ||
| 169321c9 | 2009-01-13 20:26:37 | Rename four internal headers to follow the -internal.h convention. svn:r1000 | ||
| 8c594168 | 2008-12-19 21:03:42 | memory leak: forgot to free paused rpcs in server svn:r962 | ||
| 2baaac7f | 2008-06-14 17:50:36 | Forward-port: Rename INPUT and OUTPUT to EVRPC_INPUT and EVRPC_OUTPUT, but keep the INPUT/OUTPUT aliases on non-win32 platforms to maintain backwards compatibility. svn:r852 | ||
| aa4b9257 | 2008-05-13 05:05:30 | move some structure definitions from evrpc.h to evrpc-internal.h svn:r817 | ||
| 7868ab5a | 2008-05-09 04: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 | ||
| 7defe4cb | 2008-05-08 15: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 | ||
| 3d60bccc | 2008-05-08 14:25:44 | r19656@catbus: nickm | 2008-05-08 10:25:08 -0400 forward-port: Remove #include "misc.h"s. svn:r795 | ||
| de1c4392 | 2008-05-08 06:15:04 | migrate evhttp to event2; accessors are still missing svn:r790 | ||
| a83caa6b | 2008-05-04 03:52:24 | remove too agressive assert svn:r765 | ||
| 5fbc7f0a | 2008-05-02 16: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 | ||
| e8f450f2 | 2008-05-01 02:08:26 | expose a way to create the rpc context manually svn:r754 | ||
| 85c4904b | 2008-05-01 01:45:00 | allow connections to be removed from an rpc pool svn:r753 | ||
| 49868b61 | 2008-04-25 01: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 | ||
| ae09ac4a | 2008-04-17 19:18:40 | r15220@tombo: nickm | 2008-04-17 15:16:02 -0400 Use new includes in more files still svn:r717 | ||
| 8920ac4d | 2008-03-30 21:06:33 | make RPC replies use application/octet-stream svn:r694 | ||
| 992bc85b | 2007-12-31 20:42:21 | dereference the right field and associate the right connection svn:r624 | ||
| 2460aa59 | 2007-12-31 19:33:30 | allow hooks to get access to the connection object svn:r623 | ||
| 5a5609c7 | 2007-12-29 22:45:54 | allow association of meta data with RPC requests for hook processing svn:r622 | ||
| 955c6abf | 2007-12-28 00: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 | ||
| 819d4a33 | 2007-12-27 23: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 | ||
| 1120f04f | 2007-11-25 21: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 | ||
| 7eb250e9 | 2007-11-25 17: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 | ||
| 4e1ec3e0 | 2007-11-07 21:01:26 | Make all the C files in the libraries compile under MSVC 2005 Express. There are still a few warnings, and probably some subtle issues, but it's better than nothing. svn:r499 | ||
| a3f122d6 | 2007-11-07 07:33:16 | r16506@catbus: nickm | 2007-11-07 01:29:59 -0500 Make all rpc and http functions not prototyped in evrpc.h and evhttp.h into static functions. I believe that these functions were meant to be private, yes? svn:r494 | ||
| 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 | ||
| 2026b215 | 2007-11-03 23:53:49 | remove last vestiges of RBTREE svn:r470 | ||
| 1d3a008a | 2007-11-03 22:51:26 | provide hooks for outgoing pools; associate a base with a pool svn:r468 | ||
| 65236aa8 | 2007-11-02 06:34:04 | simple hooks for processing incoming and outgoing rpcs svn:r466 | ||
| 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 | ||
| 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 | ||
| 621a1b29 | 2007-05-23 05:31:33 | support freeing of evrpc base svn:r356 | ||
| 0c280824 | 2007-05-23 05:20:59 | support removing of http callbacks and removing of registered RPCs svn:r355 | ||
| b5d2f9a2 | 2007-03-01 06:25:18 | rolling back r339: evconfig.h does not work svn:r341 | ||
| 127c260b | 2007-02-28 04:02:29 | make evconfig.h available as installed header file; not really ideal but good enough for me; from Nick Mathewson svn:r339 | ||
| 2d028ef6 | 2006-11-22 06:54:28 | fix a bug where rpc would not be scheduled when they were queued; test for it. allow a configurable timeout for connections and RPCs. svn:r274 | ||
| 868f10e7 | 2006-11-22 01:21:10 | mingw fixes from Nick svn:r271 | ||
| ff43ed5b | 2006-11-20 07:44:37 | finish RPC client support svn:r269 | ||
| fda1216b | 2006-11-20 03:32:53 | generate client request code via macro; flesh out the pools a little bit. svn:r268 | ||
| c4836d10 | 2006-11-17 06:06:17 | make sure that the rpc callback receives an unmarshaled payload; make sure that the rpc reply contains a good rpc structure, too. svn:r258 | ||
| 44bd5ab4 | 2006-11-16 08:49:26 | prefix was missing /; malformed request caused server to crash svn:r256 | ||
| f554234f | 2006-11-16 07:36:20 | first stab at an rpc layer; this breaks the regression test. svn:r254 |