summaryrefslogtreecommitdiffstats
path: root/library
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-01-22 15:30:54 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-01-22 15:30:54 (GMT)
commitb8651ae498dba4d0a1edcff000582bc06a7a8efe (patch)
treef6dc9eb4efcd8c11cba9e7f1631dcd099682faba /library
parenta7072a53147e689d2c265a66e87a2f6f74c86014 (diff)
parent11fcad9b1df2c2cf7d5ada8feb565c97b9777fef (diff)
downloadtcl-b8651ae498dba4d0a1edcff000582bc06a7a8efe.zip
tcl-b8651ae498dba4d0a1edcff000582bc06a7a8efe.tar.gz
tcl-b8651ae498dba4d0a1edcff000582bc06a7a8efe.tar.bz2
merge trunkrfe_3473670
expand all unicode tables and tools to eventually handle the unicode chars > 0xffff (if UTF_MAX_CHAR > 3)
Diffstat (limited to 'library')
-rw-r--r--library/http/http.tcl3
-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 1496d63..bc8ae7f 100644
--- a/library/http/http.tcl
+++ b/library/http/http.tcl
@@ -22,7 +22,7 @@
package require Tcl 8.4
# Keep this in sync with pkgIndex.tcl and with the install directories
# in Makefiles
-package provide http 2.5.5
+package provide http 2.5.6
namespace eval http {
variable http
@@ -707,6 +707,7 @@ proc http::cleanup {token} {
proc http::Connect {token} {
variable $token
upvar 0 $token state
+ set err "due to unexpected EOF"
if {[eof $state(sock)] ||
[string length [set err [fconfigure $state(sock) -error]]]} {
Finish $token "connect failed $err" 1
diff --git a/library/http/pkgIndex.tcl b/library/http/pkgIndex.tcl
index cf6a1ff..6c574ef 100644
--- a/library/http/pkgIndex.tcl
+++ b/library/http/pkgIndex.tcl
@@ -9,4 +9,4 @@
# full path name of this file's directory.
if {![package vsatisfies [package provide Tcl] 8.4]} {return}
-package ifneeded http 2.5.5 [list tclPkgSetup $dir http 2.5.5 {{http.tcl source {::http::config ::http::formatQuery ::http::geturl ::http::reset ::http::wait ::http::register ::http::unregister ::http::mapReply}}}]
+package ifneeded http 2.5.6 [list tclPkgSetup $dir http 2.5.6 {{http.tcl source {::http::config ::http::formatQuery ::http::geturl ::http::reset ::http::wait ::http::register ::http::unregister ::http::mapReply}}}]