RFR : 8205959 : Do not restart close if errno is EINTR

David Lloyd david.lloyd at redhat.com
Thu Jun 28 16:35:03 UTC 2018


On Wed, Jun 27, 2018 at 6:52 PM Ivan Gerasimov
<ivan.gerasimov at oracle.com> wrote:
> Here I'm patching only the Linux-specific file src/java.base/linux/native/libnet/linux_close.c
> So no #ifdefs seem necessary.
>
> MacOS variant also uses the same pattern, but I'm not touching it exactly because the behavior not quite clear on that platform.
>
> On Solaris we already call close(fd) with no retrying.

OK great.  I was on my phone so it was difficult to confirm that, but
I thought I'd just ping anyway to make sure.

Do you (or Alan) think that this might have accounted for real-world
connection problems?

-- 
- DML


More information about the net-dev mailing list