test/regress_rpc.c


Log

Author Commit Date CI Message
Nick Mathewson 0cb70e33 2011-10-26T10:17:21 Merge remote-tracking branch 'origin/patches-2.0'
Nick Mathewson 3c824bd3 2011-10-24T13:18:09 Update copyright dates to 2011.
Nick Mathewson 33124033 2011-06-14T15:15:43 Merge remote-tracking branch 'origin/patches-2.0'
Nick Mathewson b031adf1 2011-06-14T14:37:49 Don't break when building tests from git without python installed
Nick Mathewson 9f560bfa 2011-05-25T19: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.
Evan Jones 4f332091 2010-12-02T14:09:52 tests: Use new event2 headers instead of old compatibility headers.
Nick Mathewson e5c214a4 2010-10-14T13:16:41 Fix -Wsigned-compare warnings in test/*
Nick Mathewson a97320ac 2010-09-03T18:48:31 Allow more than one copy of regression tests to run at once Mostly this was a matter of just removing all the hardwired ports in the test code. The http/connection_retry test is still a little screwy, though.
Nick Mathewson 743f8665 2010-08-23T11:48:46 Honor NDEBUG; build without warnings with NDEBUG; make NDEBUG always-off in unit test code
Nick Mathewson ec347b92 2010-07-07T16: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.
Nick Mathewson 274a7bd9 2010-03-13T00:55:39 Fix some memory leaks in the unit tests These don't matter except inasmuch as they give real memory leaks a place to hide. Found with valgrind
Nick Mathewson c7cf6f00 2010-03-05T12:47:46 Replace users of "int fd" with "evutil_socket_t fd" in portable code Remeber, win32 has a socket type that's actually a handle, so if there's a chance that code is run on win32, we can't use "int" as the socket type. This isn't a blind search-and-replace: sometimes an fd is really in fact for a file, and not a socket at all.
Nick Mathewson 17efc1cd 2010-03-04T01:25:51 Update all our copyright notices to say "2010"
Nick Mathewson e5bbd40a 2010-02-18T17:41:15 Clean up formatting: use tabs, not 8-spaces, to indent.
Nick Mathewson 8fdf09c0 2010-02-18T17:08:50 Clean up formatting: Disallow space-before-tab.
Nick Mathewson 918e9c5e 2010-01-23T16:38:36 Fix a number of warnings from gcc -pedantic
Nick Mathewson 784b8773 2009-11-06T21: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
Niels Provos b228ff91 2009-04-25T00:15:31 remove vararg macros for accessing evrpc structs svn:r1243
Nick Mathewson ea664bf2 2009-04-21T18:46:30 Refactor test wrappers to divide legacy items from useful stuff. svn:r1212
Nick Mathewson 5831d11a 2009-01-31T18:36:37 Move rpc_test to regress_rpc. svn:r1084
Nick Mathewson fa6ae169 2009-01-31T18:36:24 Convert RPC suite. There are still some places it can exit(1), but those always run forked, so no big deal. svn:r1083
Nick Mathewson b85b710c 2009-01-27T22: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
Nick Mathewson 8889a770 2009-01-27T22:30:46 Replace all use of config.h with event-config.h. svn:r1064
Nick Mathewson 9993137c 2009-01-27T21:10:31 Remove all trailing whitespace in all the source files. svn:r1063
Niels Provos a077fb8c 2009-01-22T02:47:35 rename sys/signal.h to signal.h; configure m4 macro dir; this assist with compilation on Haiku svn:r1033
Nick Mathewson 169321c9 2009-01-13T20:26:37 Rename four internal headers to follow the -internal.h convention. svn:r1000
Nick Mathewson 2baaac7f 2008-06-14T17: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
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
Niels Provos e8f450f2 2008-05-01T02:08:26 expose a way to create the rpc context manually svn:r754
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
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
Niels Provos 1d3a008a 2007-11-03T22:51:26 provide hooks for outgoing pools; associate a base with a pool svn:r468
Niels Provos 65236aa8 2007-11-02T06:34:04 simple hooks for processing incoming and outgoing rpcs svn:r466
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
Niels Provos 8ee20a3f 2007-09-09T02:15:34 fix memory leaks/unitialized memory found by valgrind svn:r418
Niels Provos e678f009 2007-09-09T01:46:35 fix a couple memory leaks; time buffer marshaling svn:r417
Niels Provos 3794534f 2007-05-29T05: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
Niels Provos 621a1b29 2007-05-23T05:31:33 support freeing of evrpc base svn:r356
Niels Provos 0c280824 2007-05-23T05:20:59 support removing of http callbacks and removing of registered RPCs svn:r355
Niels Provos 50edb19f 2007-03-05T07:28:15 EVRPC_MAKE_REQUEST needs the pool argument svn:r349
Niels Provos b5d2f9a2 2007-03-01T06:25:18 rolling back r339: evconfig.h does not work svn:r341
Niels Provos 127c260b 2007-02-28T04:02:29 make evconfig.h available as installed header file; not really ideal but good enough for me; from Nick Mathewson svn:r339
Niels Provos 30a49b57 2006-11-22T07:30:34 test that rpc timeouts work correctly svn:r275
Niels Provos 2d028ef6 2006-11-22T06: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
Niels Provos 4aa780d6 2006-11-20T07:57:36 don't require string literal for message name svn:r270
Niels Provos ff43ed5b 2006-11-20T07:44:37 finish RPC client support svn:r269
Niels Provos fda1216b 2006-11-20T03:32:53 generate client request code via macro; flesh out the pools a little bit. svn:r268
Niels Provos c4836d10 2006-11-17T06: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
Niels Provos 9d9d60b1 2006-11-16T08:21:27 forgot to add file svn:r255