Skip to content
Tcl Source Code History Of Ticket f81beca7afabb3d2
Login

History Of Ticket f81beca7afabb3d2

Artifacts Associated With Ticket f81beca7afabb3d2

  1. Ticket change [f36a579110] (rid 173296) by alakendu on 2019-07-10 10:24:29:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/plain"
    4. comment initialized to:
      I am using http::geturl to POST a Binary file using these command 
      
      set fid [open $filename RDONLY] fconfigure $fid -buffering full -encoding binary -translation binary 
      
      ::http::geturl {http://10.39.51.221:11009/api/v1/sessions/1/ixnetwork/files?filename=test} -type application/octet-stream -querychannel $fid -binary true -headers {X-Api-Key 00000000000000000000000000000000 IxNetwork-Lib {IxNetwork tcl client v.IXTCLPROTOCOLVERSION} Host 10.39.51.221} -timeout 180000 
      
      This code was working properly against Tcl-8.6 (patchlevel-8.6.6) with http-2.8.9. 
      
      But client got hang when use the same code against against same Tcl-8.6 (patchlevel-8.6.6) with different http package (http-2.9) 
      
      I feel this behavior change due to this chain-list https://github.com/tcltk/tcl/commit/44c0faddc48420a1fd864d75ab6cb3c7ecbf577f?diff=split 
      
      earlier -translation was set only as binary (http-2.8.9) 
      
      fconfigure $state(-querychannel) -blocking 1 -translation binary 
      
      whereas currently -translation also pull from socket (http-2.9) 
      
      lassign [fconfigure $sock -translation] trRead trWrite fconfigure $state(-querychannel) -blocking 1 \ -translation [list $trRead binary] 
      
      Same code is working properly when reverted to (fconfigure $state(-querychannel) -blocking 1 -translation binary) in http-2.9 code base
      
    5. foundin initialized to: "http-2.9"
    6. is_private initialized to: "0"
    7. login: "alakendu"
    8. priority initialized to: "5 Medium"
    9. private_contact initialized to: "66fb25d263737f92dfc9ab316118aa0eee953c02"
    10. resolution initialized to: "None"
    11. severity initialized to: "Critical"
    12. status initialized to: "Open"
    13. submitter initialized to: "alakendu"
    14. subsystem initialized to: "29. http Package"
    15. title initialized to:
      File upload issue using http::geturl in Tcl contain http-2.9 package
      
    16. type initialized to: "Bug"
  2. Ticket change [22c90d9437] (rid 173328) by kjnash on 2019-07-11 14:16:42:

    1. icomment:
      Thank you for your report and workaround/fix.
      
      The tracker will not let me change the "Assigned To" field to myself, but I will attempt to process your report.
      
    2. login: "kjnash"
    3. mimetype: "text/plain"
  3. Ticket change [7f54f7f839] (rid 173388) by kjnash on 2019-07-14 09:15:18:

    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"
  4. Ticket change [69bfec118e] (rid 173467) by alakendu on 2019-07-17 09:31:31:

    1. icomment: "Thanks Keith for your valuable support!"
    2. login: "alakendu"
    3. mimetype: "text/html"
  5. Ticket change [532f6e212c] (rid 190555) by dgp on 2020-12-28 13:30:16:

    1. icomment:
      
      Looks like this was fixed in http 2.9.2.  Any reason not to close the ticket?
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. resolution changed to: "Fixed"
    5. status changed to: "Pending"
  6. Ticket change [859bfdafb3] (rid 190578) by kjnash on 2020-12-31 15:11:03:

    1. closedate changed to: "2459215.13268454"
    2. closer changed to: "kjnash"
    3. login: "kjnash"
    4. mimetype: "text/plain"
    5. status changed to: "Closed"
  7. Ticket change [3c5deb0de3] (rid 191469) by anonymous on 2021-01-28 19:44:47:

    1. closedate changed to: "2459243.32276809"
    2. closer changed to: "anonymous"
    3. icomment:
      installed 2.9.5 and issue is still not fixed, when will this fix be integrated?
      
    4. login: "anonymous"
    5. mimetype: "text/plain"
  8. Ticket change [f841fa7d82] (rid 191470) by anonymous on 2021-01-28 19:45:29:

    1. closer changed to: "nobody"
    2. login: "anonymous"
    3. mimetype: "text/plain"
    4. status changed to: "Pending"
  9. Ticket change [d1cc5a72b8] (rid 204127) by kjnash on 2022-09-11 17:03:32:

    1. closedate changed to: "2459834.21079117"
    2. closer changed to: "kjnash"
    3. login: "kjnash"
    4. mimetype: "text/plain"
    5. status changed to: "Closed"