kc3-lang/libevent/test/regress_bufferevent.c

Branch :


Log

Author Commit Date CI Message
7b107249 2009-10-23 22:07:05 Fix my fix for the bufferevent_connect_fail() test. svn:r1460
fdd11c00 2009-10-21 19:21:05 Make the bufferevent_connect_fail test faster on OSX. It seems that connecting to a listener that is bound but not accepting or listening doesn't give a 'connection refused' error on OSX, but rather makes the connect() time out after 75 seconds. I couldn't find any way to make the timout shorter. Fortunately, closing the listener after a second or so makes the desired error occur after another second or so. svn:r1457
4fbac2a5 2009-10-21 07:00:19 Test failing case of bufferevent_connect(). Code by Chris Davis. svn:r1455
7c688dd9 2009-07-31 14:41:45 New function to expose bufferevent.enabled svn:r1401
9cf4ee7e 2009-07-17 21:47:35 Fix a simple warning svn:r1362
c02b305a 2009-07-17 20:23:12 Trivial tests to exercise deferred and locking bufferevent code. These are done as variations of test_bufferevent_connect, since that one exercises event callbacks as well as read/write callbacks. The coverage for bufferevent.c is now up to about 87%, from about 70%. svn:r1358
9c2ecba7 2009-07-17 18:42:12 Oops. -1 is an integer, not a pointer. svn:r1352
d6f2e199 2009-07-17 18:38:46 Unit tests for bufferevent_get(fd|_underlying) svn:r1351
bbd14de0 2009-06-11 17:55:08 Add sometimes-needed header to regress_bufferevent.c svn:r1325
0b22ca19 2009-05-22 19:11:48 Use ev_ssize_t in place of ssize_t *everywhere*. svn:r1309
ed1bbc7a 2009-05-18 16:15:56 Tweak the evconnlistener interface a little. svn:r1295
83f46e51 2009-05-13 20:36:56 Do not use the "evbuffer_" prefix to denote parts of bufferevents. This is a bit of an interface doozy, but it's really needed in order to be able to document this stuff without apologizing it. This patch does the following renamings: evbuffercb -> bufferevent_data_cb everrorcb -> bufferevent_event_cb EVBUFFER_(READ,WRITE,...) -> BEV_EVENT_(...) EVBUFFER_(INPUT,OUTPUT) -> bufferevent_get_(input,output) All the old names are available in event2/bufferevent_compat.h svn:r1283
659d54d5 2009-05-05 02:59:26 Add new code to make and accept connections. This is stuff that it's easy to get wrong (as I noticed when writing bench_http), and that takes up a fair amount of space (see http.c). Also, it's something that we'll eventually want to abstract to use IOCP, where available. svn:r1272
a8f6d961 2009-04-17 06:56:09 Actually stop using EVBUFFER_LENGTH/DATA, and move them to buffer_compat.h svn:r1183
23085c92 2009-04-10 15:01:31 Add a linked-pair abstraction to bufferevents. The new bufferevent_pair abstraction works like a set of buferevent_sockets connected by a socketpair, except that it doesn't require a socketpair, and therefore doesn't need to get the kernel involved. It's also a good way to make sure that deferred callbacks work. It's a good use case for deferred callbacks: before I implemented them, the recursive relationship between the evbuffer callback and the read callback would make the unit tests overflow the stack. svn:r1152
68d0139f 2009-04-07 04:49:25 Refactor the zlib and pthreads tests to appear in the regular tinytest tree structure. svn:r1141
f9e4e0f9 2009-02-03 18:28:53 Move bufferevent tests to regress_bufferevent.c file. svn:r1101
ea4b8724 2009-02-02 19:22:13 checkpoint work on big bufferevent refactoring svn:r1095