Repository navigation
go-mms v1.2.1
·
29 commits
to d2ee50795e9e2cde9339142202ece653636786ab
since this release
Date: 2026-10-28
Previous release: v1.2.0
Summary
Moves to go-cotp v1.1.0,
which arms read and write deadlines per direction, and removes the go-mms
workaround for the shared deadline of go-cotp v1.0.4. No API changes.
Changes
Changed
- go-cotp v1.1.0 (go-tpkt stays at v1.0.1).
transport/isono longer wraps the connection given to go-cotp (splitDeadlineConnand its per-direction deadline handling are removed);Receivepasses its context to go-cotp,Sendpasses the deadline but not the cancellation of its context, so a cancelled request still never abandons a TSDU half-written. - Receive with an expired context — a context that ends before any octet of the next TSDU arrived returns the context error and leaves the connection usable (it used to abort it); one that ends mid-TSDU aborts the connection. Errors caused by a context match
context.Canceled/context.DeadlineExceededwithout being wrapped twice. The MMS client reader and the server association timeout behave as before (ErrClosed,ErrAssociationFailed+context.DeadlineExceeded).
Docs
- TIMEOUT_AND_CLOSE.md and RACE_NOTES.md describe go-cotp's per-direction deadlines; the go-cotp entry is removed from KNOWN_LIMITATIONS.md.