Hi Ricardo,

On Sat, Dec 23, 2017 at 09:06:36AM +0000, Ricardo Fraile wrote:
> Hello Willy,
> 
> 
> It works perfect! Problem solved :)

Great, thanks!

> The doubt that I have now is related with the trace line "-1 ENOTCONN
> (Transport endpoint is not connected)" and the relationship with the issue...

>From what I remember it was on a shutdown(SHUT_WR). It's harmless but
suboptimal. It proves that there is a situation where two different
events lead to an attempt to close and that we don't know we have
already closed. We could save a shutdown() syscall by refining the
condition there. Given that your original issue was caused by a missing
call to shutdown() I'd rather postpone such investigation ;-)

Cheers,
Willy

Reply via email to