Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 238168843831ee6e37853007b498024cd0b91a20
Ticket: 3472316fffffffffffffffffffffffffffffffff
fconfigure <sock> -error called twice in Connect
User & Date: ferrieux on 2012-01-11 22:04:07
Changes

  1. icomment:
    It is a documentation bug indeed: the (read-side) -error option is in 1-to-1 mapping with the getsockopt(SO_ERROR) call, which on all platforms I know of is documented as "getting *and* clearing the error status".
    So it's not a race condition, it is as documented on the OS side, only Tcl docs failsto propagate the info.
    
    Will fix the doc soon ; fix of the http package is left in its maintainer's hands.
    
    
    
  2. login: "ferrieux"
  3. mimetype: "text/plain"
  4. username: "ferrieux"