fix client reset state; add multi send tests

This commit is contained in:
Patricio Whittingslow
2025-10-26 20:45:23 -03:00
parent 1dea7fd398
commit ed81d7446d
4 changed files with 69 additions and 20 deletions
+2
View File
@@ -509,6 +509,8 @@ func (tcb *ControlBlock) rstJump() Value {
// Abort sets ControlBlock state to Closed and resets all sequence numbers and pending flag.
// No more data can be sent nor received after the connection is aborted until opened again.
// An abort call prepares the connection for opening an active connection via a
// SYN packet during Send call in state=StateClosed.
func (tcb *ControlBlock) Abort() {
tcb.reset()
tcb.debug("tcb:abort")