Artifacts Associated With Ticket 581937ab1e2a1c69
Ticket change [c149625776] (rid 137370) by oehhar on 2014-03-24 12:26:30:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/x-fossil-wiki"
- comment initialized to:
<H1>Issue</H1> On windows, a readable fileevent on a failed async socket connect only fires, if there is also a writable fileevent. <H1>Examples</H1> Following examples are in wish so there is an event loop running. <h2>Only readable fileevent does not fire</h2> <verbatim> % set h [socket -async localhost 30001] sock448 % fileevent $h readable {puts R:[fconfigure $h -error];close $h} </verbatim> <h2>Readable and writable fileevent fire both</h2> Fileevent fires, if there is also a writable file event ( as in bug [794839]): <verbatim> % fileevent $h readable {puts R:[fconfigure $h -error];close $h} % fileevent $h writable {puts W} W R:connection refused</verbatim> </verbatim> <h1>TCL8.6.1</H1> The same issue is also present in tcl8.6.1, but already fixed in branch bug-13d3af3ad5, checkin [f1d2f6dbad]. - foundin initialized to: "8.5.15"
- is_private initialized to: "0"
- login: "oehhar"
- priority initialized to: "5 Medium"
- private_contact initialized to: "0f366eb3e9e2fcab52b8ebacd197db9047186a5f"
- resolution initialized to: "None"
- severity initialized to: "Severe"
- status initialized to: "Open"
- submitter initialized to: "oehhar"
- subsystem initialized to: "27. Channel Types"
- title initialized to:
async socket connect fail does not fire readable event
- type initialized to: "Bug"
Ticket change [91f3b8db51] (rid 137371) by oehhar on 2014-03-24 12:30:32:
- assignee changed to: "oehhar"
- login: "oehhar"
- mimetype: "text/plain"
Ticket change [0d9b2bc904] (rid 137478) by oehhar on 2014-04-02 12:47:26:
- comment changed to:
<H1>Issue</H1> On windows, a readable fileevent on a failed async socket connect only fires, if there is also a writable fileevent. <H1>Examples</H1> Following examples are in wish so there is an event loop running. <h2>Only readable fileevent does not fire</h2> <verbatim> % set h [socket -async localhost 30001] sock448 % fileevent $h readable {puts R:[fconfigure $h -error];close $h} </verbatim> <h2>Readable and writable fileevent fire both</h2> Fileevent fires, if there is also a writable file event ( as in bug [794839]): <verbatim> % set h [socket -async localhost 30001] sock448 % fileevent $h readable {puts R:[fconfigure $h -error];close $h} % fileevent $h writable {puts W} W R:connection refused</verbatim> </verbatim> <h1>TCL8.6.1</H1> The same issue is also present in tcl8.6.1, but already fixed in branch bug-13d3af3ad5, checkin [f1d2f6dbad]. - icomment:
Fix and test in checkin [29adf4bac3] of branch bug-581937ab1e
- login: "oehhar"
- mimetype: "text/x-fossil-wiki"
- username: "oehhar"
- comment changed to:
Ticket change [5dd96060c5] (rid 137481) by oehhar on 2014-04-02 13:36:42:
- closedate changed to: "2456750.06716226"
- closer changed to: "oehhar"
- icomment:
Committed to core-8-5-branch by checkin [37dce67f70]. Bug closed.
- login: "oehhar"
- mimetype: "text/x-fossil-wiki"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- username: "oehhar"