whitequark
|
79d8470f41
Rework TCP retransmit logic to be much more robust.
|
7 年之前 |
whitequark
|
39464a53fc
Compute soft deadline in poll() and use nonblocking sockets.
|
7 年之前 |
whitequark
|
46630603df
Reset the timer transitioning from TCP FIN-WAIT-1 to FIN-WAIT-2.
|
7 年之前 |
whitequark
|
66e3684189
Add a test for TCP sockets returning ACKs even with zero window.
|
7 年之前 |
whitequark
|
43a547fb0c
Factor out packet parsing from Socket::process.
|
7 年之前 |
whitequark
|
3974dc780f
Get rid of unused arguments in Socket::{process,dispatch}.
|
7 年之前 |
whitequark
|
ab0eccd213
Get rid of IpPayload and indirection in Socket::dispatch.
|
7 年之前 |
whitequark
|
917f89e14b
Use FnOnce, not FnMut, in Socket::dispatch() functions.
|
7 年之前 |
whitequark
|
5cb2dcd1aa
Fix a TCP retransmit loop after transition from SYN-SENT to ESTABLISHED.
|
7 年之前 |
whitequark
|
b5df50643e
Fix a bug that caused TCP packets with PSH bit to be dropped.
|
7 年之前 |
whitequark
|
639dfd94c0
TcpRepr::push → TcpControl::Psh.
|
7 年之前 |
whitequark
|
f3dc84539e
Immediately ACK payload in response to TCP packets that have any.
|
7 年之前 |
whitequark
|
72359cdd37
Radically simplify and optimize TCP packet dispatch.
|
7 年之前 |
whitequark
|
bf916e6832
Make TCP packets not matching socket state return Error::Dropped.
|
7 年之前 |
whitequark
|
bc2a894c00
Rework responses to TCP packets and factor in RST replies to TcpSocket.
|
7 年之前 |
whitequark
|
56ee8e5df8
Listening TCP sockets should reject, not drop, ACKs.
|
7 年之前 |
whitequark
|
3864b490f7
Add TcpSocket::{peek,peek_slice}.
|
7 年之前 |
whitequark
|
bc0e3c352d
Emit exceptional events with the DEBUG log level, not TRACE.
|
7 年之前 |
whitequark
|
6b2d711347
Only return Err(Rejected) from TcpSocket::process on endpoint mismatch.
|
7 年之前 |
whitequark
|
6bc6cc7af7
Implement fmt::Write for TcpSocket.
|
7 年之前 |
whitequark
|
265e6f6cb7
Add UdpSocket::is_open, similar to TcpSocket::is_open in function.
|
7 年之前 |
whitequark
|
a1910baa91
Put the debug_id field first in sockets.
|
7 年之前 |
whitequark
|
492fe3e4b1
Rework and test UDP sockets.
|
7 年之前 |
whitequark
|
5bf64586cd
Get rid of Result<_, ()>.
|
7 年之前 |
whitequark
|
53a3875452
Rework error handling in TcpSocket::connect.
|
7 年之前 |
whitequark
|
50ae82d0ff
Update a stale docstring.
|
7 年之前 |
whitequark
|
d422f45ac2
as_unspecified → to_unspecified
|
7 年之前 |
whitequark
|
b971d91315
Accept TCP FIN packets in SYN-RECEIVED state.
|
7 年之前 |
whitequark
|
0904645c1b
Fix determination of local address from incoming packets.
|
7 年之前 |
whitequark
|
c0629f769b
Log correct delay when performing TCP retransmit.
|
7 年之前 |