Skip to content
Tcl Source Code History Of Ticket 1449233fffffffffffffffffffffffffffffffff
Login

History Of Ticket 1449233fffffffffffffffffffffffffffffffff

Artifacts Associated With Ticket 1449233fffffffffffffffffffffffffffffffff

  1. Ticket change [bd272d972e] (rid 101867) by andreas_kupries on 2006-03-13 23:42:46:

    1. assignee initialized to: "hobbs"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      Assume
      
      set token [http::geturl -timeout XXXX badurl]
      
      The timeout will trigger, because of the badurl.
      
      The "http::geturl" creates a timer to handle the
      -timeout, with the id stored in state(after). See line
      447 of http.tcl. Later on it does a [http::wait] on the
      token to wait for the connection. See line 479ff.
      
      When the timer triggers it calls [http::reset]. See
      line 447. This deletes the token, i.e. the state array.
      See line 196ff.
      
      The [http::wait] the geturl is in (line 479) then
      breaks out of the [vwait]-eventloop it is in and
      returns $state(status), see line 956. Except that the
      state is already gone due to the aforementioned
      [reset], therefore boom.
      
      Note also, even if the [http::wait] would not throw an
      error then [http::geturl] itself would, because
      immediately after the [http::wait] it also tries to
      access the state array by itself, to determine what
      went wrong (line 479ff).
      
      A possible solution is to use [info exists] to check if
      the state is gone, and react accordingly (http::wait
      returns nothing, http::geturl then knows that a timeout
      happened).
      
      
    4. foundin initialized to: "None"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "andreas_kupries"
    9. subsystem initialized to: "29. http Package"
    10. title initialized to: "Bug when -timeout specified and triggered"
    11. type initialized to: "Bug"
  2. Ticket change [044161ae05] (rid 119963) by dgp on 2006-03-14 10:31:37:

    1. icomment:
      Logged In: YES 
      user_id=80530
      
      see also 513385
      and 705956
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  3. Ticket change [cc961fa8f0] (rid 95726) by patthoyts on 2008-02-22 18:23:03:

    1. closedate changed to: "2008-02-22T11:23:03"
    2. closer changed to: "patthoyts"
    3. icomment:
      Logged In: YES 
      user_id=202636
      Originator: NO
      
      Same as 1818565
      
      
    4. login: "patthoyts"
    5. mimetype: "text/plain"
    6. resolution changed to: "Duplicate"
    7. status changed to: "Closed"
    8. username: "patthoyts"