Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 1ac9736119b223d91f41ff2d51bc7f7c45c0fceba4b698ae20933e6c615f462a
Ticket: 548227ffffffffffffffffffffffffffffffffff
socket-2.6 can hang
User & Date: serhiy.storchaka on 2026-10-12 11:43:57
Changes

  1. icomment:
    The hard-coded port 2833 is gone: since [8b13af389e] (2010) the test connects to
    <code><nowiki>[randport]</nowiki></code>, a port just released by the OS. A rare hang is still
    possible if the client socket connects to itself (TCP simultaneous open, about 1 in
    7500 connects to such a port on Linux): the connect then succeeds and
    <code>gets</code> waits forever. Closing as fixed; the self-connect risk affects
    several socket tests and can be handled separately.
    
  2. login: "serhiy.storchaka"
  3. mimetype: "text/x-fossil-wiki"