Skip to content
Tcl Source Code History Of Ticket 5f37423f2721a320
Login

History Of Ticket 5f37423f2721a320

Artifacts Associated With Ticket 5f37423f2721a320

  1. Ticket change [389ca169dd] (rid 186377) by oehhar on 2020-09-07 16:19:12:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/x-fossil-wiki"
    4. 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
      
    5. foundin initialized to: "8.6.10"
    6. is_private initialized to: "0"
    7. login: "oehhar"
    8. priority initialized to: "5 Medium"
    9. private_contact initialized to: "0f366eb3e9e2fcab52b8ebacd197db9047186a5f"
    10. resolution initialized to: "None"
    11. severity initialized to: "Minor"
    12. status initialized to: "Open"
    13. submitter initialized to: "oehhar"
    14. subsystem initialized to: "29. http Package"
    15. title initialized to:
      http::geturl: endless wait when server is not responding
      
    16. type initialized to: "Bug"
  2. Ticket change [4c798a092c] (rid 186378) by oehhar on 2020-09-07 16:28:36:

    1. closedate changed to: "2459100.18653788"
    2. closer changed to: "oehhar"
    3. icomment:
      Sorry, use the "-timeout" option and all works fine.
      Sorry,
      Harald
      
    4. login: "oehhar"
    5. mimetype: "text/plain"
    6. resolution changed to: "Invalid"
    7. status changed to: "Closed"
    8. username: "oehhar"