begin add tcp.Handler tests

This commit is contained in:
soypat
2025-02-15 11:15:19 -03:00
parent 6b91d8e510
commit 2e823c0fd5
5 changed files with 148 additions and 25 deletions
+2 -1
View File
@@ -16,7 +16,8 @@ var (
errDropSegment = errors.New("drop segment")
errWindowTooLarge = errors.New("invalid window size > 2**16")
errTCBNotClosed = errors.New("TCB not closed")
errBufferTooSmall = errors.New("buffer too small")
errNeedClosedTCBToOpen = errors.New("need closed TCB to call open")
errInvalidState = errors.New("invalid state")
errConnNotexist = errors.New("connection does not exist")
errConnectionClosing = errors.New("connection closing")