2b560d086a
PacketPassFairQueue: rework time
ambrop7
2010-11-11 22:02:04 +00:00
c2167ac4b0
Minor changes
ambrop7
2010-11-11 20:54:15 +00:00
441e754fcc
version 1.999.96rc11
ambrop7
2010-11-10 22:11:37 +00:00
4ce5822550
PacketProtoDecoder, StreamPeerIO: fix bug: when an error occured in PacketProtoDecoder, it was supposed to be freed, but StreamPeerIO didn't free it. Fix by not requiring freeing the decoder, and instead make it reset itself automatically when an error occurs.
ambrop7
2010-11-10 22:10:57 +00:00
4de27966ec
version 1.999.96rc9
ambrop7
2010-11-08 21:15:04 +00:00
ae37921c61
BPRFileDesc: minor changes
ambrop7
2010-11-08 21:14:27 +00:00
1fcd2f9997
BPRFileDesc: execute handlers such that after executing a handler, control is returned to the reactor. This makes sure all the handler's work is done before another handler is called. Implemented similarly as in BSocket in a previous commit.
ambrop7
2010-11-08 21:09:16 +00:00
4b25f9ad36
PacketBuffer: call Recv before calling Send, so that sending has priority over receiving (it's a LIFO...)
ambrop7
2010-11-08 19:32:52 +00:00
76db078d4a
version 1.999.96rc8
ambrop7
2010-11-08 18:02:17 +00:00
ff876da29e
server: minor changes
ambrop7
2010-11-08 18:01:45 +00:00
df4ea40f5e
BSocket: minor changes
ambrop7
2010-11-08 14:31:09 +00:00
b9c13e8911
BSocket: execute handlers such that after executing a handler, control is returned to the reactor. This makes sure all the handler's work is done before another handler is called.
ambrop7
2010-11-08 11:42:49 +00:00
25604cb4d5
BReactor: add note about a bug that could cause an infinite loop if an error occurs, but no events are requested. Seems not to happen in practice.
ambrop7
2010-11-08 11:13:27 +00:00
00cd64a636
Introduce a brand new design based on a LIFO list of jobs pending execution:
ambrop7
2010-11-07 20:45:10 +00:00
e50058d7bd
BSocket: don't complain if WSASendMsg/WSARecvMsg are not available
ambrop7
2010-11-07 13:56:19 +00:00
d4fbebc2ff
BSocket: interpret setsockopt return value correctly, fallback to WSASendTo/WSARecvFrom if WSASendMsg/WSARecvMsg isn't available
ambrop7
2010-11-07 13:27:41 +00:00
e3baf7cad9
client: fix wrong goto in error path for program initialization
ambrop7
2010-11-06 16:36:58 +00:00
5218d6b14b
PacketPassFairQueue: when assigning time to a flow, also consider the time of flows in the queue, not just of the sending flow. Otherwise we could assign a zero time to a flow even if there are other flows waiting and give it enormous precedence.
ambrop7
2010-11-05 20:49:27 +00:00
9e183b6265
PacketCopier: revert using jobs to call Done, it makes no sense
ambrop7
2010-11-02 12:33:50 +00:00
5880e9b52b
BIPCServer: remove unused dead var
ambrop7
2010-11-02 07:54:32 +00:00
d1e5f0154c
ipc_client: raise maximum packets
ambrop7
2010-11-02 07:51:21 +00:00
39b4f5abf0
PacketProtoDecoder: operate synchronously, not as a buffer
ambrop7
2010-11-01 23:51:34 +00:00
5b8923d17f
Unix sockets suck at message oriented communication. Just use a stream socket and PacketProto.
ambrop7
2010-11-01 21:28:27 +00:00
3ffeaefbba
Remove seqsocket socket type. Unix socket of type SOCK_SEQPACKET are broken (Linux) because they do not support the MSG_EOR flag. Instead use SOCK_DGRAM unix sockets for IPC, which are (hopefully) reliable and preserve message boundaries across send()/recv(). Also some minor refactoring in BSocket.
ambrop7
2010-11-01 20:32:37 +00:00
615cc2cff3
SeqPacketSocketSource: interpret return value 0 from recv as connection closed. Looks like we can't have zero packets.
ambrop7
2010-11-01 16:44:05 +00:00
dc71e58dd3
ipc: only build on non-windows
ambrop7
2010-11-01 14:04:06 +00:00
59243516dd
ipc: move BIPC, BIPCServer from system
ambrop7
2010-11-01 13:53:06 +00:00
9805b0929d
security: make into a library
ambrop7
2010-10-29 13:50:01 +00:00
21ae97d97f
version 1.999.94.1
ambrop7
2010-10-28 10:23:08 +00:00
f8fb5c1bc0
server: when initializing client flows, initialize input after output. Fixes a bug where if a new client sent hello very quickly, it would be disconnected immediately.
ambrop7
2010-10-28 10:22:25 +00:00
79ea52c30b
version 1.999.94
ambrop7
2010-10-27 16:42:33 +00:00
f670f63a18
StreamPeerIO: use flows to send the password. Add SinglePacketSender and PasswordSender for this.
ambrop7
2010-10-27 16:30:25 +00:00