diff options
author | welch <welch> | 2000-03-27 21:22:11 (GMT) |
---|---|---|
committer | welch <welch> | 2000-03-27 21:22:11 (GMT) |
commit | 61e42b1f8390839d5e29d3f87605adc0a61dc87e (patch) | |
tree | 3028d3536e4aa280535b8ce89b32edd7de9fd621 /library/http2.1 | |
parent | f360434e70a3068aab3513ecb8bc4da680c12c38 (diff) | |
download | tcl-61e42b1f8390839d5e29d3f87605adc0a61dc87e.zip tcl-61e42b1f8390839d5e29d3f87605adc0a61dc87e.tar.gz tcl-61e42b1f8390839d5e29d3f87605adc0a61dc87e.tar.bz2 |
Added catch around fileevent to fix test suite failure
Diffstat (limited to 'library/http2.1')
-rw-r--r-- | library/http2.1/http.tcl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/library/http2.1/http.tcl b/library/http2.1/http.tcl index d1907a8..16a6d05 100644 --- a/library/http2.1/http.tcl +++ b/library/http2.1/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.26 2000/03/22 22:49:57 sandeep Exp $ +# RCS: @(#) $Id: http.tcl,v 1.27 2000/03/27 21:22:11 welch Exp $ package provide http 2.3 ;# This uses Tcl namespaces @@ -332,7 +332,7 @@ proc http::geturl { url args } { if {$state(-timeout) > 0} { fileevent $s writable [list http::Connect $token] http::wait $token - fileevent $s writable {} + catch {fileevent $s writable {}} if {![string equal $state(status) "connect"]} { return $token } |