Skip to content
Tcl Source Code Artifact [e80865243f]
Login

Artifact [e80865243f]

Artifact e80865243f3ae44e424010f1659e7dc3d53964a3:

Ticket change [e80865243f] - New ticket [2a94652ee10cae20|2a94652ee1] <i>http package reply &quot;100 continue&quot; code broken</i>. by oehhar on 2017-08-30 14:23:17.
D 2017-08-30T14:23:17.706
J assignee nobody
J closer nobody
J cmimetype text/x-fossil-wiki
J comment http\s2.8.11\spackage\sdoes\snot\scorrectly\signore\s"100\sContinue"\sreplies.\r\nThe\srelevant\scode\sis\sbroken.\r\n\r\nWhat\shappens?\r\n[https://tools.ietf.org/html/rfc7231#section-6.2.1]\r\n\r\nThe\sfirst\sline\sof\sa\sweb\sserver\sreply\scontains\sthe\sstatus.\r\nIf\sthis\sis:\r\n<verbatim>\r\nHTTP/1.1\s100\sContine\r\n</verbatim>\r\nthe\sreal\sheader\swill\sfollow\sas\sa\sfollowing\sline.\r\n\r\nThe\scurrent\scode\scorrectly\signores\sthe\scontinue\sstatus,\sbut\sdoes\snot\sexpect\sa\sfollowing\sstatus\sline.\r\n\r\nThe\sinsertion\sof\sa\sset\sto\sstate\s"connecting"\sfixes\sthat\s(around\sline\s1034):\r\n<verbatim>\r\nproc\shttp::Event\s{sock\stoken}\s{\r\n...\r\n\t\s\s\s\s#\sWe\signore\sHTTP/1.1\s100\sContinue\sreturns.\sRFC2616\ssec\s8.2.3\r\n\t\s\s\s\sif\s{$state(http)\s==\s""\s||\s([regexp\s{^\\S+\\s(\\d+)}\s$state(http)\s{}\sx]\s&&\s$x\s==\s100)}\s{\r\n\t\tset\sstate(state)\s"connecting"\r\n\t\treturn\r\n\t\s\s\s\s}\r\n</verbatim>\r\n\r\nAt\sleast,\sinserting\sthis\sline\scured\sthe\scommunication\sfor\sme\swith\sTCLWS\sand\sa\s.net\sserver.
J foundin 8.6.7
J is_private 0
J login oehhar
J priority 5\sMedium
J private_contact 0f366eb3e9e2fcab52b8ebacd197db9047186a5f
J resolution None
J severity Critical
J status Open
J submitter oehhar
J subsystem 29.\shttp\sPackage
J title http\spackage\sreply\s"100\scontinue"\scode\sbroken
J type Bug
K 2a94652ee10cae20c0b54cf9fd6516eb01daadd5
U oehhar
Z 7263b13e3a983f16a5d0700694ab3f3c