Skip to content
Tcl Source Code History Of Ticket 218371
Login

History Of Ticket 218371

Artifacts Associated With Ticket 218371

  1. Ticket change [ffc21cdbdc] (rid 108814) by nobody on 2000-10-26 00:56:48:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      OriginalBugID: 4249 Bug
      Version: 8.3
      SubmitDate: '2000-02-25'
      LastModified: '2000-05-10'
      Severity: MED
      Status: Closed
      Submitter: mroe
      ChangedBy: welch
      OS: All
      FixedDate: '2000-10-25'
      FixedInVersion: 8.3.1
      ClosedDate: '2000-05-10'
      
      
      Steps To Reproduce:
      1. In a tclsh8.3
      
      package require http
      set tok [http::geturl http://elche:8016]
      http::status $tok
      
      Expected Result:
      Either geturl should throw an exception stating that the connection failed, or $tok should have a status of ioerror
      
      Actual Result:
      http::status returns "eof".
      
      
      
      Edited for clarity (and reproducibility). -- Sandeep & Mitch
      
      -- 04/03/2000 sandeep
      
      Thinking about this further, I think that the user should accept anything that's not "ok" status as being some kind of error that they have to deal with.  So, then this wouldn't really be a bug.  Plus, even if there were a way to determine if a socket connection had failed in this case (right now, the connection is considered to have succeeded until much later in processing), marking it as ioerror would break backwards compatibility (for the 1-2 people in the world who MIGHT have run into this). 
      -- 04/03/2000 sandeep
      
      The HTTP client can't do anything different, really.
      The remote server simply closes the socket when the client
      fails to do the SSL handshake, so to the "eof" status is
      consistent.  There are other weird things that can happen that
      result in no server reply, and there really isn't anything the
      client can do to tell this apart.  I'm declaring "victory" over
      this bug - its a feature.  The only remaining choice is to raise
      an error in the eof state, but thats an interface change. 
      -- 05/10/2000 welch
      
      
      
    4. foundin initialized to: "obsolete: 8.3"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "nobody"
    9. subsystem initialized to: "69. Other"
    10. title initialized to:
      A non-secure http::geturl transaction to a secure site fails
      
    11. type initialized to: "Bug"
  2. Ticket change [a74c384d84] (rid 98766) by welch on 2000-10-26 08:20:09:

    1. closedate changed to: "2000-10-26T01:20:09"
    2. closer changed to: "welch"
    3. priority changed to: "2"
    4. resolution changed to: "Fixed"
    5. status changed to: "Deleted"
  3. Ticket change [a3d1224655] (rid 110104) by dgp on 2001-04-20 01:57:00:

    1. closedate changed to: "2001-04-19T18:57:00"
    2. closer changed to: "dgp"
    3. subsystem changed to: "29. http Package"