Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 0792e785883a0f7582d8385a0a94bb435b9143b4
Ticket: 2446662fffffffffffffffffffffffffffffffff
chanIO.test failures on Win32 msys/mingw
User & Date: andreas_kupries on 2009-01-07 00:21:39
Changes

  1. icomment:
    > Andreas, when you're back, do you know why he said that "the higher level
    > of the IO mechanism" would be upset by seeing an EOF instead of an
    > ECONNRESET ?
    
    No, I do not know. Sorry. Asking JL (aka Jacob Levy) may still be our best bet, despite it being 12yrs since he worked on the IO parts.
    
    > Do you see an objection to re-establishing symmetry (unix behavior) ?
    
    No, I don't. Mainly because I do not know the Win32 code that well.
    IMHO I can see two possibilities for the comment being true, without touching the generic IO layer. Which does handle EOF instead of ECONNRESET well, as evidenced by the unix driver. These possibilities are:
    (a)  The win32 code/driver may itself be in two layers and the higher of the two doesn't like EOF over ECONNRESET.
    (b) The win32 driver has some mismatch with the generic layer which is exposed when you use EOF, and keeping to use ECONNRESET pastes over it.
    
    This is all speculation on my part however.
    
    I do agree that unix and win32 behaving differently is a Bad Thing (tm) and should be fixed.
    As such I would also go with transforming ECONNRESET to EOF. Then we can see if any test cases break.
    
    
    
  2. login: "andreas_kupries"
  3. mimetype: "text/plain"
  4. username: "andreas_kupries"