summaryrefslogtreecommitdiffstats
path: root/library/http
diff options
context:
space:
mode:
Diffstat (limited to 'library/http')
-rw-r--r--library/http/http.tcl5
1 files changed, 4 insertions, 1 deletions
diff --git a/library/http/http.tcl b/library/http/http.tcl
index dc3c890..84069ad 100644
--- a/library/http/http.tcl
+++ b/library/http/http.tcl
@@ -9,7 +9,7 @@
# See the file "license.terms" for information on usage and
# redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES.
#
-# RCS: @(#) $Id: http.tcl,v 1.6 1999/06/30 17:43:51 welch Exp $
+# RCS: @(#) $Id: http.tcl,v 1.7 1999/07/07 01:58:19 welch Exp $
package provide http 2.1 ;# This uses Tcl namespaces
@@ -238,6 +238,9 @@ proc http::geturl { url args } {
#fileevent $s writable [list set $token\(status) connect]
fileevent $s writable [list http::Connect $token]
http::wait $token
+ if {[string compare $state(status) "timeout"] == 0} {
+ return
+ }
fileevent $s writable {}
unset state(status)
}