Skip to content
Tcl Source Code Artifact [f36a579110]
Login

Artifact [f36a579110]

Artifact f36a579110abf7ee7827e3b3e696466ebeb5c3e9d1c941d531b9bc5f510d96d0:

Ticket change [f36a579110] - New ticket [f81beca7afabb3d2|f81beca7af] <i>File upload issue using http::geturl in Tcl contain http-2.9 package</i>. by alakendu on 2019-07-10 10:24:29.
D 2019-07-10T10:24:29.491
J assignee nobody
J closer nobody
J cmimetype text/plain
J comment I\sam\susing\shttp::geturl\sto\sPOST\sa\sBinary\sfile\susing\sthese\scommand\s\r\n\r\nset\sfid\s[open\s$filename\sRDONLY]\sfconfigure\s$fid\s-buffering\sfull\s-encoding\sbinary\s-translation\sbinary\s\r\n\r\n::http::geturl\s{http://10.39.51.221:11009/api/v1/sessions/1/ixnetwork/files?filename=test}\s-type\sapplication/octet-stream\s-querychannel\s$fid\s-binary\strue\s-headers\s{X-Api-Key\s00000000000000000000000000000000\sIxNetwork-Lib\s{IxNetwork\stcl\sclient\sv.IXTCLPROTOCOLVERSION}\sHost\s10.39.51.221}\s-timeout\s180000\s\r\n\r\nThis\scode\swas\sworking\sproperly\sagainst\sTcl-8.6\s(patchlevel-8.6.6)\swith\shttp-2.8.9.\s\r\n\r\nBut\sclient\sgot\shang\swhen\suse\sthe\ssame\scode\sagainst\sagainst\ssame\sTcl-8.6\s(patchlevel-8.6.6)\swith\sdifferent\shttp\spackage\s(http-2.9)\s\r\n\r\nI\sfeel\sthis\sbehavior\schange\sdue\sto\sthis\schain-list\shttps://github.com/tcltk/tcl/commit/44c0faddc48420a1fd864d75ab6cb3c7ecbf577f?diff=split\s\r\n\r\nearlier\s-translation\swas\sset\sonly\sas\sbinary\s(http-2.8.9)\s\r\n\r\nfconfigure\s$state(-querychannel)\s-blocking\s1\s-translation\sbinary\s\r\n\r\nwhereas\scurrently\s-translation\salso\spull\sfrom\ssocket\s(http-2.9)\s\r\n\r\nlassign\s[fconfigure\s$sock\s-translation]\strRead\strWrite\sfconfigure\s$state(-querychannel)\s-blocking\s1\s\\\s-translation\s[list\s$trRead\sbinary]\s\r\n\r\nSame\scode\sis\sworking\sproperly\swhen\sreverted\sto\s(fconfigure\s$state(-querychannel)\s-blocking\s1\s-translation\sbinary)\sin\shttp-2.9\scode\sbase
J foundin http-2.9
J is_private 0
J login alakendu
J priority 5\sMedium
J private_contact 66fb25d263737f92dfc9ab316118aa0eee953c02
J resolution None
J severity Critical
J status Open
J submitter alakendu
J subsystem 29.\shttp\sPackage
J title File\supload\sissue\susing\shttp::geturl\sin\sTcl\scontain\shttp-2.9\spackage
J type Bug
K f81beca7afabb3d2d395bd979607eda184622f7a
U alakendu
Z 63e96a21593d4556ddba7fdecd4d4ecb