Skip to content
Tcl Source Code History Of Ticket 59e7e7fdfb
Login

History Of Ticket 59e7e7fdfb

Artifacts Associated With Ticket 59e7e7fdfb

  1. Ticket change [c364ffe32a] (rid 257668) by serhiy.storchaka on 2026-10-12 08:10:00:

    1. cmimetype initialized to: "text/x-fossil-wiki"
    2. comment initialized to:
      On illumos (OpenIndiana), a non-blocking <code>connect()</code> to a local port
      without a listener fails at once with ECONNREFUSED instead of EINPROGRESS. Then
      <code>socket -async</code> throws <code>couldn't open socket: connection refused</code>
      instead of returning a channel which reports the failure with
      <code>fconfigure -error</code> and the writable event, as socket(n) describes.
      This fails socket-14.2, 14.7.2, 14.8.2, 14.11.0, 14.12, 14.14-14.18 and http-4.14.
      
      This was seen on Solaris before ([3428754]: test socket-14.2 was made to accept
      the error), but since the 2014 rework the tests expect the error to be reported
      only by <code>fconfigure -error</code> ([42d50ebd0c]).
      
      Proposed fix in branch [/timeline?r=unix-async-connect-immediate-failure|unix-async-connect-immediate-failure]:
      an async connect which fails at once is reported like a failure in the background.
      socket-14.11.1, 14.16 and 14.17, which need the connect to be still in progress,
      get a new constraint <code>asyncConnectPending</code>.
      
    3. foundin initialized to: "9.1.0"
    4. login: "serhiy.storchaka"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. severity initialized to: "Minor"
    8. status initialized to: "Open"
    9. submitter initialized to: "serhiy.storchaka"
    10. subsystem initialized to: "27. Channel Types"
    11. title initialized to:
      socket -async throws when the connect fails at once (illumos)
      
    12. type initialized to: "Bug"
  2. Ticket change [d8fe43ba8a] (rid 259078) by jan.nijtmans on 2026-10-18 20:26:48:

    1. assignee changed to: "jan.nijtmans"
    2. closedate changed to: "2461332.3519461458"
    3. closer changed to: "jan.nijtmans"
    4. comment changed to:
      On illumos (OpenIndiana), a non-blocking <code>connect()</code> to a local port
      without a listener fails at once with ECONNREFUSED instead of EINPROGRESS. Then
      <code>socket -async</code> throws <code>couldn't open socket: connection refused</code>
      instead of returning a channel which reports the failure with
      <code>fconfigure -error</code> and the writable event, as socket(n) describes.
      This fails socket-14.2, 14.7.2, 14.8.2, 14.11.0, 14.12, 14.14-14.18 and http-4.14.
      
      This was seen on Solaris before ([3428754]: test socket-14.2 was made to accept
      the error), but since the 2014 rework the tests expect the error to be reported
      only by <code>fconfigure -error</code> ([42d50ebd0c]).
      
      Proposed fix in branch [/timeline?r=unix-async-connect-immediate-failure|unix-async-connect-immediate-failure]:
      an async connect which fails at once is reported like a failure in the background.
      socket-14.11.1, 14.16 and 14.17, which need the connect to be still in progress,
      get a new constraint <code>asyncConnectPending</code>.
      
    5. icomment:
      Fixed in [trunk], backported to core-9-0-branch
      
      Many thanks!
      
    6. login: "jan.nijtmans"
    7. mimetype: "text/x-fossil-wiki"
    8. resolution changed to: "Fixed"
    9. status changed to: "Closed"
  3. Ticket change [d8c0815433] (rid 260720) by serhiy.storchaka on 2026-10-28 11:10:23:

    1. icomment: "Backported to 8.6: [f53502fa2a]."
    2. login: "serhiy.storchaka"
    3. mimetype: "text/x-fossil-wiki"