diff options
author | William Joye <wjoye@cfa.harvard.edu> | 2018-10-16 20:54:00 (GMT) |
---|---|---|
committer | William Joye <wjoye@cfa.harvard.edu> | 2018-10-16 20:54:00 (GMT) |
commit | 73cf721919b84edc8912541b6c396ec2186797f2 (patch) | |
tree | c8672ddaa4ec2e6908848e4c172cf6c4f89bb4d6 /ds9/library/url.tcl | |
parent | d115b1d579b2ce618d598813a2e1795c8d2500cf (diff) | |
download | blt-73cf721919b84edc8912541b6c396ec2186797f2.zip blt-73cf721919b84edc8912541b6c396ec2186797f2.tar.gz blt-73cf721919b84edc8912541b6c396ec2186797f2.tar.bz2 |
minor bug fixes
Diffstat (limited to 'ds9/library/url.tcl')
-rw-r--r-- | ds9/library/url.tcl | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/ds9/library/url.tcl b/ds9/library/url.tcl index d8f21ee..1c159f9 100644 --- a/ds9/library/url.tcl +++ b/ds9/library/url.tcl @@ -44,12 +44,13 @@ proc GetFileHTTP {url fn} { if {[catch {http::geturl $url \ -channel $ch \ -binary 1 \ + -keepalive 1 \ + -timeout $ihttp(timeout) \ -headers "[ProxyHTTP]"} token]} { close $ch return } - # -timeout $ihttp(timeout) \ # reset errorInfo (may be set in http::geturl) global errorInfo @@ -141,9 +142,10 @@ proc LoadURLFitsHTTP {url layer mode} { set token [http::geturl $url \ -channel $ch \ -binary 1 \ + -keepalive 1 \ + -timeout $ihttp(timeout) \ -headers "[ProxyHTTP]"] - # -timeout $ihttp(timeout) \ # reset errorInfo (may be set in http::geturl) global errorInfo |