From 62d555c8f989ab6eb026387cbf52bb46ebb2dfea Mon Sep 17 00:00:00 2001 From: William Joye Date: Mon, 8 Jan 2018 11:54:46 -0500 Subject: rm timeout from URL request --- ds9/library/url.tcl | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/ds9/library/url.tcl b/ds9/library/url.tcl index 1fd17db..2ea915f 100644 --- a/ds9/library/url.tcl +++ b/ds9/library/url.tcl @@ -42,7 +42,6 @@ proc GetFileHTTP {url fn} { set ch [open $fn w] if {[catch {http::geturl $url \ - -timeout $ihttp(timeout) \ -channel $ch \ -binary 1 \ -headers "[ProxyHTTP]"} token]} { @@ -50,6 +49,8 @@ proc GetFileHTTP {url fn} { return } + # -timeout $ihttp(timeout) \ + # reset errorInfo (may be set in http::geturl) global errorInfo set errorInfo {} @@ -138,11 +139,12 @@ proc LoadURLFitsHTTP {url layer mode} { set ch [open $fn w] set token [http::geturl $url \ - -timeout $ihttp(timeout) \ -channel $ch \ -binary 1 \ -headers "[ProxyHTTP]"] + # -timeout $ihttp(timeout) \ + # reset errorInfo (may be set in http::geturl) global errorInfo set errorInfo {} -- cgit v0.12