svn: r6556
This commit is contained in:
Jay McCarthy 2007-06-09 04:52:19 +00:00
parent ebd92ebf0a
commit 2a37cfbe6f

View File

@ -206,6 +206,7 @@
(output-headers+response/basic conn bresp)
(when (eq? method 'get)
; Give it one second per byte.
; XXX Move out
(adjust-connection-timeout! conn len)
(with-handlers ([void (lambda (e) (network-error 'output-file/partial (exn-message e)))])
(call-with-input-file file-path