Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

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

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/x-fossil-wiki"
  4. 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
    
  5. foundin changed to: "8.6.10"
  6. is_private changed to: "0"
  7. login: "oehhar"
  8. priority changed to: "5 Medium"
  9. private_contact changed to: "0f366eb3e9e2fcab52b8ebacd197db9047186a5f"
  10. resolution changed to: "None"
  11. severity changed to: "Minor"
  12. status changed to: "Open"
  13. submitter changed to: "oehhar"
  14. subsystem changed to: "29. http Package"
  15. title changed to:
    http::geturl: endless wait when server is not responding
    
  16. type changed to: "Bug"