summaryrefslogtreecommitdiffstats
path: root/library/http/http.tcl
diff options
context:
space:
mode:
authorkjnash <k.j.nash@usa.net>2019-07-14 09:04:15 (GMT)
committerkjnash <k.j.nash@usa.net>2019-07-14 09:04:15 (GMT)
commitf14b27d11940c7ec28136bcd04a21b6f75870ad9 (patch)
tree395f8b2bf94f73ad9c9ec97f35341ead9dc8bde2 /library/http/http.tcl
parent03c20aae298fccfb5d2897971ea2b30a12d656e9 (diff)
downloadtcl-f14b27d11940c7ec28136bcd04a21b6f75870ad9.zip
tcl-f14b27d11940c7ec28136bcd04a21b6f75870ad9.tar.gz
tcl-f14b27d11940c7ec28136bcd04a21b6f75870ad9.tar.bz2
Bugfix for #f81beca7af. Revert mistaken change to -querychannel -translation in library/http/http.tcl. Bump http version to 2.9.1. Also, give correct major version in doc/http.n and adjust example user-agent string to a 2.9 value.
Diffstat (limited to 'library/http/http.tcl')
-rw-r--r--library/http/http.tcl6
1 files changed, 2 insertions, 4 deletions
diff --git a/library/http/http.tcl b/library/http/http.tcl
index f82bced..5999a56 100644
--- 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.9.0
+package provide http 2.9.1
namespace eval http {
# Allow resourcing to not clobber existing data
@@ -1332,9 +1332,7 @@ proc http::Connected {token proto phost srvurl} {
set how POST
# The query channel must be blocking for the async Write to
# work properly.
- lassign [fconfigure $sock -translation] trRead trWrite
- fconfigure $state(-querychannel) -blocking 1 \
- -translation [list $trRead binary]
+ fconfigure $state(-querychannel) -blocking 1 -translation binary
set contDone 0
}
if {[info exists state(-method)] && ($state(-method) ne "")} {