Overview
| Artifact ID: | 1b3f7bf6399723b7f983ba0e2e3e739e8e13baf0d27607ee89b4a01c0b5f0477 |
|---|---|
| Ticket: | de232b49f26da1c18e07513d4c7caa203cd27910
write-only nonblocking refchan and Tcl internal buffers |
| User & Date: | apnadkarni on 2024-03-29 05:40:37 |
Changes
- icomment:
Marking this as not fixed as I believe the "cure" is worse than the disease. The change results in bug [080f846fd5](https://core.tcl-lang.org/tcl/tktview/080f846fd5). See that ticket for details but in a nutshell generating "writable" events without ascertaining that the channel is in fact open is fundamentally wrong. Chasing that bug also led me to (finally) chase down the cause of the socket-14.11.0 test failure (that Don reported subsequent to this commit which is completely reproducible on Windows and something that I've been meaning to track down for a while) which led back to exactly this again. The write handler is invoked before the channel is actually open. This should never be the case. Some other solution to the original failure in this ticket is needed other than generating writable events on a timer. At the very least some additional state checks that the channel is open is needed.
- login: "apnadkarni"
- mimetype: "text/x-markdown"
- resolution changed to: "None"
- severity changed to: "Important"