Skip to content

Commit

Permalink
tcp-connect must close socket on connection timeout [thanks to Jörg W…
Browse files Browse the repository at this point in the history
…ittenberger]
  • Loading branch information
ursetto committed May 17, 2012
1 parent eed2d89 commit 897684c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tcp.scm
Expand Up @@ -614,6 +614,7 @@ EOF
(##sys#thread-block-for-i/o! ##sys#current-thread s #:all) (##sys#thread-block-for-i/o! ##sys#current-thread s #:all)
(yield) (yield)
(when (##sys#slot ##sys#current-thread 13) (when (##sys#slot ##sys#current-thread 13)
(##net#close s)
(##sys#signal-hook (##sys#signal-hook
#:network-timeout-error #:network-timeout-error
'tcp-connect 'tcp-connect
Expand Down

0 comments on commit 897684c

Please sign in to comment.