summaryrefslogtreecommitdiffstats
path: root/library
diff options
context:
space:
mode:
authoroehhar <harald.oehlmann@elmicron.de>2017-08-31 06:31:05 (GMT)
committeroehhar <harald.oehlmann@elmicron.de>2017-08-31 06:31:05 (GMT)
commit5a22b3d9674aaf34bb6116f095f12d07a6578e72 (patch)
treea11eeaa740ea66912b46f50092ed5da3ed04bf42 /library
parent908e496e8fd9227aa05156e3e9f1f2801ce14e16 (diff)
downloadtcl-5a22b3d9674aaf34bb6116f095f12d07a6578e72.zip
tcl-5a22b3d9674aaf34bb6116f095f12d07a6578e72.tar.gz
tcl-5a22b3d9674aaf34bb6116f095f12d07a6578e72.tar.bz2
http state 100 continue handling broken [2a94652ee1]bug_2a94652ee1
Diffstat (limited to 'library')
-rwxr-xr-x[-rw-r--r--]library/http/http.tcl3
-rwxr-xr-x[-rw-r--r--]library/http/pkgIndex.tcl2
2 files changed, 3 insertions, 2 deletions
diff --git a/library/http/http.tcl b/library/http/http.tcl
index 0350808..9f5310b 100644..100755
--- a/library/http/http.tcl
+++ b/library/http/http.tcl
@@ -11,7 +11,7 @@
package require Tcl 8.6-
# Keep this in sync with pkgIndex.tcl and with the install directories in
# Makefiles
-package provide http 2.8.11
+package provide http 2.8.12
namespace eval http {
# Allow resourcing to not clobber existing data
@@ -1027,6 +1027,7 @@ proc http::Event {sock token} {
# We have now read all headers
# We ignore HTTP/1.1 100 Continue returns. RFC2616 sec 8.2.3
if {$state(http) == "" || ([regexp {^\S+\s(\d+)} $state(http) {} x] && $x == 100)} {
+ set state(state) "connecting"
return
}
diff --git a/library/http/pkgIndex.tcl b/library/http/pkgIndex.tcl
index a0d28f1..d3fc7af 100644..100755
--- a/library/http/pkgIndex.tcl
+++ b/library/http/pkgIndex.tcl
@@ -1,2 +1,2 @@
if {![package vsatisfies [package provide Tcl] 8.6-]} {return}
-package ifneeded http 2.8.11 [list tclPkgSetup $dir http 2.8.11 {{http.tcl source {::http::config ::http::formatQuery ::http::geturl ::http::reset ::http::wait ::http::register ::http::unregister ::http::mapReply}}}]
+package ifneeded http 2.8.12 [list tclPkgSetup $dir http 2.8.12 {{http.tcl source {::http::config ::http::formatQuery ::http::geturl ::http::reset ::http::wait ::http::register ::http::unregister ::http::mapReply}}}]