Skip to content
Tcl Source Code History Of Ticket 581937ab1e
Login

History Of Ticket 581937ab1e

Artifacts Associated With Ticket 581937ab1e

  1. Ticket change [c149625776] (rid 137370) by oehhar on 2014-03-24 12:26:30:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/x-fossil-wiki"
    4. 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].
      
    5. foundin initialized to: "8.5.15"
    6. is_private initialized to: "0"
    7. login: "oehhar"
    8. priority initialized to: "5 Medium"
    9. private_contact initialized to: "0f366eb3e9e2fcab52b8ebacd197db9047186a5f"
    10. resolution initialized to: "None"
    11. severity initialized to: "Severe"
    12. status initialized to: "Open"
    13. submitter initialized to: "oehhar"
    14. subsystem initialized to: "27. Channel Types"
    15. title initialized to:
      async socket connect fail does not fire readable event
      
    16. type initialized to: "Bug"
  2. Ticket change [91f3b8db51] (rid 137371) by oehhar on 2014-03-24 12:30:32:

    1. assignee changed to: "oehhar"
    2. login: "oehhar"
    3. mimetype: "text/plain"
  3. Ticket change [0d9b2bc904] (rid 137478) by oehhar on 2014-04-02 12:47:26:

    1. 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].
      
    2. icomment:
      Fix and test in checkin [29adf4bac3] of branch bug-581937ab1e
      
    3. login: "oehhar"
    4. mimetype: "text/x-fossil-wiki"
    5. username: "oehhar"
  4. Ticket change [5dd96060c5] (rid 137481) by oehhar on 2014-04-02 13:36:42:

    1. closedate changed to: "2456750.06716226"
    2. closer changed to: "oehhar"
    3. icomment:
      Committed to core-8-5-branch by checkin [37dce67f70].
      
      Bug closed.
      
    4. login: "oehhar"
    5. mimetype: "text/x-fossil-wiki"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"
    8. username: "oehhar"