Overview
| Artifact ID: | fe2c14fff751453cf2d80b37940e12433521915f5d4017e34c7282b33e4e145c |
|---|---|
| Ticket: | 080f846fd58958efeaa5e2247622dc0ee7fa1ff7
Channel system generating writable events BEFORE channel is open (refchan) |
| User & Date: | apnadkarni on 2024-03-30 15:23:01 |
Changes
- icomment:
Jan, I do not think you have fully understood the issue. It has little to do with write returning 0. It's about indications that network connections (or channels in general) have succeeded when they have not. Or with channels indicating they can accept data when they cannot. And I'll repeat for emphasis, this issue exists outside of twapi; it only came into the picture because I was investigating a failure with 9.0 that is not seen with 8.6. I do not see any issues with the socket test case. It specifically tests failures of connections to a non-existent port. The reason the timer events are generated is intended to be a workaround for some shortcomings in the refchan implementation. However, introducing a bug with clearly faulty logic is no workaround. I've already followed up on the other ticket at [de232b49f26da1c] so will continue the discussion there.
- login: "apnadkarni"
- mimetype: "text/x-fossil-plain"