Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 1c1b05cede47ceef44faec907191ab8ed59fc90f
Ticket: 2446662fffffffffffffffffffffffffffffffff
chanIO.test failures on Win32 msys/mingw
User & Date: ferrieux on 2008-12-26 23:23:04
Changes

  1. assignee changed to: "ferrieux"
  2. foundin changed to: "obsolete: 8.6b1"
  3. icomment:
    Reporting progress: using CommView I was able to trace the loopback interface. However, something seems to prevent the normal use of the FIN TCP flag on that faked interface (Windows is definitely weird), since a normal socket closes without a single FIN being observed (while they are normally seen on a non-faked interface).
    Anyway, I wrote standalone C executables (variants of "nc") for both sides and they don't display the Tcl bug (ie only the Tcl-Tcl combination displays it), so there's hope ;-)
    One key thing seems to be the timing of the write-back and close by the server: an [after] between the child-side [flush] and [exit] removes the problem. In TCP terms this would seem to confirm Andreas' hypothesis that a data-loaded packet bearing the second FIN induces loss of the data by "fast-tracking" the interpretation of the FIN.
    Now to find why in tclWinSock.c...
    
    
  4. login: "ferrieux"
  5. mimetype: "text/plain"
  6. priority changed to: "8"
  7. username: "ferrieux"