Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: cb29f91f5e3633fc419ca7d9906aa1384aab5e13e55ddd8d5f20c49d2566cf31
Ticket: 46b6edad51e645c70e88dd4f944a2d4afc63a96a
HTTP Keep-Alive with Pipelined requests fails
User & Date: kjnash on 2017-11-30 17:23:08
Changes

  1. comment changed to:
    When http::geturl is called with -keepalive 1, and then called again (for a URL on the same server) before the first HTTP response is complete, the two HTTP requests are not correctly handled:
    (a) if the time delay between the two calls is short, then the first HTTP request is never sent;
    (b) if the delay is longer, but not long enough for the first HTTP response to be complete, then the second HTTP response is thrown away, and the first HTTP response is assigned to the second HTTP request.
    
    In both cases, Tcl reports the first HTTP response as a timeout.
    
    The attached test script has a full explanation.
    
  2. login: "kjnash"
  3. mimetype: "text/plain"