Overview
| Artifact ID: | a609ef0e2887e56b69e889f20268ceb53ecad77e |
|---|---|
| Ticket: | 2964525fffffffffffffffffffffffffffffffff
geturl doesn't complete properly |
| User & Date: | nurdglaw on 2010-03-05 21:42:17 |
Changes
- assignee changed to: "patthoyts"
- cmimetype changed to: "text/plain"
- comment changed to:
Using http version 2.7.2 from the ActiveTcl teapot, the command [http::geturl https://www.ebu.co.uk/members/api/api.net] doesn't complete properly. On completion [http::code] returns an emptry string. The problem appears to occur because when http::Event is entered the first time, with state(state) = connecting, [gets] returns -1. This means that state(http) is set to an empty string, and when the last header has been read, the code returns immediately without setting state(state) to body. I changed the code at the top of Event so that it doesn't set state to header if [gets] returns -1 and that seems to work OK for this url and one other url that I tried. The problem doesn't occur with http 2.7 which doesn't use the state "connecting" I'm running Ubuntu 8.04
- foundin changed to: "obsolete: 8.6b1.1"
- is_private changed to: "0"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "nurdglaw"
- subsystem changed to: "29. http Package"
- title changed to: "geturl doesn't complete properly"
- type changed to: "Bug"