state-threads
[Top] [All Lists]

Proxy failure on ECONNABORTED

To: "'state-threads@xxxxxxxxxxx'" <state-threads@xxxxxxxxxxx>
Subject: Proxy failure on ECONNABORTED
From: "Kiernan, Alex" <alexk@xxxxxxxxx>
Date: Wed, 13 Sep 2000 15:18:21 +0100
Sender: owner-state-threads@xxxxxxxxxxx
I was playing with the proxy example with state threads & managed to get one
of the processes to die (dual CPU box). Whats happened was the accept() call
returned with ECONNABORTED (this is on Solaris 7) which caused the caller to
bug out.

My immediate reaction was to change

    if (errno == EINTR)

to

    if (errno == EINTR || errno == ECONNABORTED)
      
in st_accept(), but I'm not convinced thats the right fix (OK it needs some
ifdefing around it, but I was thinking more of where this is "the right
fix").

-- 
Alex Kiernan, Principal Engineer, Development, Thus PLC

<Prev in Thread] Current Thread [Next in Thread>