Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 7f54f7f839a510d27368c78d5bbfc126614248f2c9ee6229eeadd2f00e3b85e9
Ticket: f81beca7afabb3d2d395bd979607eda184622f7a
File upload issue using http::geturl in Tcl contain http-2.9 package
User & Date: kjnash on 2019-07-14 09:15:18
Changes

  1. icomment:
    Hi Alakendu,
    
    Yes, the change that you have pinpointed was a mistake.  Thank you for locating it so precisely.
    
    The purpose of the changeset was to modify the read and write halves of [fconfigure $sock -translation] independently, because HTTP/1.1 pipelining allows a new HTTP request to be made before the previous HTTP response has completed. When a read or write operation needs to change its value of -translation for $sock, it must not change the value for the other half of the channel.  The properties of $querychannel do not need changing.
    
    Although the fix is small, I have created a branch bug-f81beca7af to facilitate testing.
    
    Best wishes,
    
    Keith.
    
  2. login: "kjnash"
  3. mimetype: "text/plain"