chicken-janitors
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-janitors] #1450: TCP connections can cause process to hang


From: Chicken Trac
Subject: Re: [Chicken-janitors] #1450: TCP connections can cause process to hang
Date: Tue, 01 May 2018 14:39:54 -0000

#1450: TCP connections can cause process to hang
-------------------------------------+-------------------------------------
            Reporter:  sjamaan       |      Owner:
                Type:  defect        |     Status:  new
            Priority:  major         |  Milestone:  4.14.0
           Component:  core          |    Version:  4.13.0
  libraries                          |   Keywords:  tcp, spiffy, sockets,
          Resolution:                |  hang, scheduler
Estimated difficulty:  hard          |
-------------------------------------+-------------------------------------

Comment (by kooda):

 I’ve investigated this bug a little, and it seems to be caused when
 reading or writing to the socket causes a broken pipe exception. The
 sockets seem to stay half-open even after the ports have been closed.

 Forcing the socket closing with `file-close` (in spiffy) makes the issue
 disappear.

 I’ll have to dig a bit more, I don’t know what the POSIX spec says about
 the state of sockets in this case.

--
Ticket URL: <https://bugs.call-cc.org/ticket/1450#comment:1>
CHICKEN Scheme <https://www.call-cc.org/>
CHICKEN Scheme is a compiler for the Scheme programming language.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]