Commit 138b8aa
committed
Fix TCP reconnect after close and run connected messaging in CI
TCPLayer.sendNextMessage reconnected unconditionally whenever the
state was disconnected, so any deferred wakeup arriving after close()
(e.g. from the final write's callback) silently opened a fresh socket
that nothing would ever close. It now reconnects only when the request
queue is non-empty.
Adds the OpENer connected-messaging integration test to CI.
https://claude.ai/code/session_01AuAYuP6dTn8ALpkKErQuby1 parent cfb9d24 commit 138b8aa
2 files changed
Lines changed: 8 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
51 | 54 | | |
52 | 55 | | |
53 | 56 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
240 | 240 | | |
241 | 241 | | |
242 | 242 | | |
243 | | - | |
244 | | - | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
245 | 248 | | |
246 | 249 | | |
247 | 250 | | |
| |||
0 commit comments