Commit Graph

318 Commits

Author SHA1 Message Date
Tony Garnock-Jones ec2461b913 Reading and discarding replies from the server avoids ECONNRESET when we close 2011-01-02 15:58:26 -05:00
Tony Garnock-Jones cc275029f7 Avoid overly large bursts of shovelling 2011-01-02 15:21:12 -05:00
Tony Garnock-Jones 187a17ca6d Treat read_simple_string result uniformly 2011-01-02 15:06:34 -05:00
Tony Garnock-Jones 9dd094daeb Save (and print) errno on socket error 2011-01-02 15:06:17 -05:00
Tony Garnock-Jones 2b8f39b52f Clean out the test programs too 2011-01-02 14:53:43 -05:00
Tony Garnock-Jones 61c45e9a12 Set high watermark at 256k 2011-01-02 14:51:31 -05:00
Tony Garnock-Jones 544a719d21 Separate socket EOF from socket error conditions 2011-01-02 14:51:13 -05:00
Tony Garnock-Jones 0b9c6a3d09 Add crude shovel stats 2011-01-02 14:19:54 -05:00
Tony Garnock-Jones 2c4a64e76f It's alpha software as yet 2011-01-02 14:19:32 -05:00
Tony Garnock-Jones 33e304e7f7 Remember queue name 2011-01-02 13:58:36 -05:00
Tony Garnock-Jones 9fcffa8083 Add forgotten token to delivery posts 2011-01-02 13:58:18 -05:00
Tony Garnock-Jones 334c532a9b Ignore SIGPIPE 2011-01-02 13:40:36 -05:00
Tony Garnock-Jones 42864f2007 Reuse iohandle_clear_error 2011-01-02 13:40:22 -05:00
Tony Garnock-Jones 114d8191df Sender test program 2011-01-02 13:32:53 -05:00
Tony Garnock-Jones f98f0c9876 Processing in buffer-sized batches gives a speedup of 10x, roughly 2011-01-02 13:28:30 -05:00
Tony Garnock-Jones de804e9bdb Switch to -O3 temporarily 2011-01-02 12:27:17 -05:00
Tony Garnock-Jones 449be964e3 Crude subscriber test 2011-01-02 12:27:02 -05:00
Tony Garnock-Jones e52c3df365 Silence delivery noise 2011-01-02 12:25:13 -05:00
Tony Garnock-Jones c42deefbef New approach to node representation; sexp utilities; beginnings of test cases 2011-01-02 11:49:56 -05:00
Tony Garnock-Jones f1ab541e57 Yield between handled messages in relay 2011-01-02 11:49:05 -05:00
Tony Garnock-Jones 0a0b458057 Switch to hex representation of UUIDs for now 2011-01-02 11:46:59 -05:00
Tony Garnock-Jones e7fa9b1642 Clear link pointer on dequeue 2011-01-02 11:44:31 -05:00
Tony Garnock-Jones 6d01ea359a Add sexp_write_flush, and use it to trace messages 2011-01-02 10:30:41 -05:00
Tony Garnock-Jones 1994245cea Add std{in,out,err}_h 2011-01-02 10:30:17 -05:00
Tony Garnock-Jones 5e7a6efeb8 Warn when deleting an IOHandle with waiting processes 2011-01-02 10:29:47 -05:00
Tony Garnock-Jones f044c3b8ff Compile on linux 2011-01-01 21:31:11 -05:00
Tony Garnock-Jones 5963d884bc An additional assertion in DECREF 2011-01-01 21:31:04 -05:00
Tony Garnock-Jones dae85b8b15 Avoid stompling on n->names during unbind_all 2011-01-01 21:30:24 -05:00
Tony Garnock-Jones f67d46efdb Link to ossp-uuid on linux 2011-01-01 21:30:03 -05:00
Tony Garnock-Jones ca7a7eb433 Little test stub 2011-01-01 21:14:43 -05:00
Tony Garnock-Jones fd85e4d243 Initial attempt at queue implementation 2011-01-01 21:14:37 -05:00
Tony Garnock-Jones 957108f8a2 Sexp utilities 2011-01-01 21:14:17 -05:00
Tony Garnock-Jones c4999306e1 Cosmetic 2011-01-01 21:13:58 -05:00
Tony Garnock-Jones 99ab1d60aa Add info() on bind/unbind of nodes 2011-01-01 21:13:41 -05:00
Tony Garnock-Jones 54c13c9694 Add factory message handler 2011-01-01 21:13:21 -05:00
Tony Garnock-Jones 9e0191b274 Add suspend() and resume() to harness 2011-01-01 21:12:54 -05:00
Tony Garnock-Jones a5c2ec5830 Comment out scheduler noise 2011-01-01 21:12:35 -05:00
Tony Garnock-Jones 6c9c026a20 Add queue_append() 2011-01-01 21:11:45 -05:00
Tony Garnock-Jones 35f42c110a Link against libuuid (OSSP) 2011-01-01 21:11:25 -05:00
Tony Garnock-Jones e055c7fb82 Inline cmsg_cstring_bytes; add gen_uuid 2011-01-01 21:11:00 -05:00
Tony Garnock-Jones 006168b544 Tweak comments 2011-01-01 17:38:50 -05:00
Tony Garnock-Jones 7a85e75b3d Relay node implementation; inlineize sexp macros 2011-01-01 17:29:38 -05:00
Tony Garnock-Jones a28ddbe9aa Configs for static linking 2011-01-01 11:29:29 -05:00
Tony Garnock-Jones ce5de71e11 sexp_assoc 2011-01-01 10:15:01 -05:00
Tony Garnock-Jones 53609faa82 Correct syntax error in sexp_string 2010-12-31 17:26:54 -05:00
Tony Garnock-Jones a2fabf1605 Make IOHandles shareable 2010-12-31 17:26:39 -05:00
Tony Garnock-Jones e491109d98 Analyze source dependencies in Makefile 2010-12-30 13:32:50 -05:00
Tony Garnock-Jones 0f57884762 Fix refcount error 2010-12-30 00:34:18 -05:00
Tony Garnock-Jones ef32c01e67 Add release_sexp_cache() to help valgrind out; call it on EOF 2010-12-30 00:32:29 -05:00
Tony Garnock-Jones 66c19fea96 Valgrind found this uninitialized block of memory 2010-12-30 00:31:25 -05:00