]> git.giacomolli.uk - onehouse/commit
Preserve separate Modbus phase timeouts
authorAnderson A. Giacomolli <redacted>
Tue, 10 Nov 2026 23:16:03 +0000 (20:16 -0300)
committerAnderson A. Giacomolli <redacted>
Tue, 10 Nov 2026 23:29:35 +0000 (20:29 -0300)
commit9ca7956528b2d1720cc0e63ca168fd8518609a28
treea52da44fddb82c95514f8d1cc4924463c0c9f722
parentc87607884883cca4e47736db79a11c03f175138f
Preserve separate Modbus phase timeouts

Connect and write operations each have a one-second limit, and the
response gets two seconds after the write completes. Caller deadlines
remain earlier bounds. Deadline changes are serialized with context
interruption so a read cannot replace the cancellation deadline. A
simulated delayed write verifies the complete response window.

Issue: 8fdc39a
doc/m31.rst
driver/m31/tcp_client.go
driver/m31/tcp_client_test.go