Artifacts Associated With Ticket 5f37423f27
Ticket change [389ca169dd] (rid 186377) by oehhar on 2020-09-07 16:19:12:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/x-fossil-wiki"
- comment initialized to:
http::geturl is waiting for an infinite time, if http server is not responding. There is no timeout within the http package when waiting for an answer. When a http server does not answer, the http package waits forever. But here is a constructed example: An example may be constructed by two wish consoles. The server does not answer: <verbatim> % socket -server accept 30030 sock040253F8 2 % proc accept args {} </verbatim> The client asks the server: <verbatim> % package require http 2.9.1 % catch {http::geturl http://localhost:30030} h % </verbatim> The catch returns when the server wish console is closed. I am not sure, if this is a real issue. I just write a ticket here to document it. My real live example was to contact a http server using https, which results also in an endless wait. Thank you all, Harald - foundin initialized to: "8.6.10"
- is_private initialized to: "0"
- login: "oehhar"
- priority initialized to: "5 Medium"
- private_contact initialized to: "0f366eb3e9e2fcab52b8ebacd197db9047186a5f"
- resolution initialized to: "None"
- severity initialized to: "Minor"
- status initialized to: "Open"
- submitter initialized to: "oehhar"
- subsystem initialized to: "29. http Package"
- title initialized to:
http::geturl: endless wait when server is not responding
- type initialized to: "Bug"
Ticket change [4c798a092c] (rid 186378) by oehhar on 2020-09-07 16:28:36:
- closedate changed to: "2459100.18653788"
- closer changed to: "oehhar"
- icomment:
Sorry, use the "-timeout" option and all works fine. Sorry, Harald
- login: "oehhar"
- mimetype: "text/plain"
- resolution changed to: "Invalid"
- status changed to: "Closed"
- username: "oehhar"