avoiding meaning errors
svn: r2062
This commit is contained in:
parent
fddb1fa862
commit
bd3860ed43
|
@ -34,13 +34,14 @@
|
|||
;; kill this connection
|
||||
(define (kill-connection! conn-demned)
|
||||
(cancel-timer! (connection-timer conn-demned))
|
||||
(close-output-port (connection-o-port conn-demned))
|
||||
(close-input-port (connection-i-port conn-demned))
|
||||
(with-handlers ([exn:fail:network? void])
|
||||
(close-output-port (connection-o-port conn-demned)))
|
||||
(with-handlers ([exn:fail:network? void])
|
||||
(close-input-port (connection-i-port conn-demned)))
|
||||
(set-connection-close?! conn-demned #t)
|
||||
(custodian-shutdown-all (connection-custodian conn-demned)))
|
||||
|
||||
;; adjust-connection-timeout!: connection number -> void
|
||||
;; change the expiration time for this connection
|
||||
(define (adjust-connection-timeout! conn time)
|
||||
(reset-timer (connection-timer conn) time))
|
||||
)
|
||||
(reset-timer (connection-timer conn) time)))
|
Loading…
Reference in New Issue
Block a user