Overview
| Artifact ID: | 389ca169dd707243d962653a5fff45a75324c6198304b5c2f36326b1434fdebd |
|---|---|
| Ticket: | 5f37423f2721a320b142e6e5a0af150aa1f79a0e
http::geturl: endless wait when server is not responding |
| User & Date: | oehhar on 2020-09-07 16:19:12 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/x-fossil-wiki"
- comment changed 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 changed to: "8.6.10"
- is_private changed to: "0"
- login: "oehhar"
- priority changed to: "5 Medium"
- private_contact changed to: "0f366eb3e9e2fcab52b8ebacd197db9047186a5f"
- resolution changed to: "None"
- severity changed to: "Minor"
- status changed to: "Open"
- submitter changed to: "oehhar"
- subsystem changed to: "29. http Package"
- title changed to:
http::geturl: endless wait when server is not responding
- type changed to: "Bug"