bd2f1db00cDatagramPeerIO: allow setting and unsetting handlers
ambrop7
2011-03-20 09:37:44 +00:00
81b1c0e14aclient, server: use a sane SO_SNDBUF, Windows has problems with 1
ambrop7
2011-03-20 00:26:38 +00:00
023c1245bfclient, server: limit TCP send buffer where we do scheduling, or it is pointless to do because the socket's send buffer may grow very large
ambrop7
2011-03-19 23:57:12 +00:00
ca7bb87f96client: call BSecurity_GlobalInit to initialize OpenSSL locking. Prevents random crashes when threads are used.
ambrop7
2011-03-16 12:55:18 +00:00
6ee3e674e2DebugObject: put a lock around increment and decrement. Fixes assertion failures when used when threads are enabled.
ambrop7
2011-03-15 19:48:43 +00:00
5a015fcb49SPProtoDecoder: parallelize encryption and hashing using BThreadWork
ambrop7
2011-03-15 00:49:20 +00:00
644c1155c1SPProtoEncoder: parallelize encryption and hashing using BThreadWork
ambrop7
2011-03-14 22:53:13 +00:00
fb953a3050BThreadWork: use a condition variable instead of a semaphore to pass works to the thread. Also use it to terminate the thread instead of cancelling.
ambrop7
2011-03-14 22:04:40 +00:00
da0a122b53client: add --threads option, default to zero threads
ambrop7
2011-03-14 21:00:22 +00:00
9213aa8373BThreadWork: make pipe read end non-blocking
ambrop7
2011-03-14 18:57:34 +00:00
b6ab08596cBSocket: set control data pointer for WSASendMsg to NULL if there is no control data; fixes UDP transport on Windows 7
ambrop7
2011-02-04 17:48:39 +00:00
aa0aa09087bproto: don't assign an unknown uint32_t to int, this may be undefined behaviour if the uint32_t is too large for the int (which it can be).
ambrop7
2011-01-31 17:31:55 +00:00
ddedcd863aserver: simplify managing the common name, avoid possible read of unititialized client ID in client_log() from client_init_io() before it is assigned
ambrop7
2011-01-29 17:53:51 +00:00
66d091fc25client: include the common name of peers in output, now that we can extract it from the certificate
ambrop7
2011-01-29 17:22:39 +00:00
80a9510c0cMake the server send the original DER-encoded certificate of a peer to other peers, rather than re-encoding it. Preserve compatibility with old clients by still sending them the re-encoded certificate.
ambrop7
2011-01-29 17:14:29 +00:00
37589be576server: log the common name of peers
ambrop7
2011-01-28 22:34:32 +00:00
f13a0e9a0aDPRelay: don't require every peer to have its own buffer for the purpose of relaying to other peers; use just one global buffer
ambrop7
2011-01-26 17:21:02 +00:00
5288b69170DataProto: minor cleanup
ambrop7
2011-01-26 15:47:30 +00:00
0b72590fb7DataProto: use a job to report up/down events, instead of directly calling the handler from DataProtoDest_Received()
ambrop7
2011-01-26 14:18:56 +00:00
7f24efde2cclient: when relaying frames, make sure the source peer ID is the peer sending the frame
ambrop7
2011-01-26 13:24:45 +00:00
0214f4e0c3SPProtoEncoder: encode_packet should return void
ambrop7
2011-01-25 09:46:47 +00:00