Artifacts Associated With Ticket 218371
Ticket change [ffc21cdbdc] (rid 108814) by nobody on 2000-10-26 00:56:48:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- 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
- foundin initialized to: "obsolete: 8.3"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "nobody"
- subsystem initialized to: "69. Other"
- title initialized to:
A non-secure http::geturl transaction to a secure site fails
- type initialized to: "Bug"
Ticket change [a74c384d84] (rid 98766) by welch on 2000-10-26 08:20:09:
- closedate changed to: "2000-10-26T01:20:09"
- closer changed to: "welch"
- priority changed to: "2"
- resolution changed to: "Fixed"
- status changed to: "Deleted"
Ticket change [a3d1224655] (rid 110104) by dgp on 2001-04-20 01:57:00:
- closedate changed to: "2001-04-19T18:57:00"
- closer changed to: "dgp"
- subsystem changed to: "29. http Package"