Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: d2c54645a53adf34d511d05b8c33093527def294
Ticket: 513385ffffffffffffffffffffffffffffffffff
error in timeout destroys token
User & Date: dgp on 2002-02-05 17:36:16
Changes

  1. assignee changed to: "hobbs"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    
    The timeout option for http::geturl is
    implemented by a timer event that calls
    
    http::reset $token timeout
    
    If there's an error returned by the command
    specified by the -command option, then
    http::reset will unset the state array and
    raise an error that will be processed as
    a background error.
    
    All this processing takes place in an event
    loop, probably within [http::wait $token].
    Given the above, it appears that callers
    of [http::wait $token] need to be able to
    handle the non-existence of $token upon
    its return.  Also, [http::wait] itself needs to
    be written to deal with the non-existence
    of $token when its call to [vwait] returns.
    
    Something needs fixing around lines 358 and 840
    of the current http.tcl.
    
    
  4. foundin changed to: "obsolete: 8.4a4"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "dgp"
  9. subsystem changed to: "29. http Package"
  10. title changed to: "error in timeout destroys token"
  11. type changed to: "Bug"