gurnell
svn: r5224
This commit is contained in:
parent
0a89612920
commit
6973ffde78
|
@ -28,8 +28,8 @@
|
|||
(define _
|
||||
(match (headers-assq* #"Content-Length" headers)
|
||||
[(struct header (f v))
|
||||
; Give it one second per byte
|
||||
(adjust-connection-timeout! conn (string->number (bytes->string/utf-8 v)))]
|
||||
; Give it one second per byte (with 5 second minimum... a bit arbitrary)
|
||||
(adjust-connection-timeout! conn (max 5 (string->number (bytes->string/utf-8 v))))]
|
||||
[#f
|
||||
(void)]))
|
||||
(define-values (host-ip client-ip)
|
||||
|
|
Loading…
Reference in New Issue
Block a user