Problem with half-closure related to connection-reset in Java 11
Florian Weimer
fweimer at redhat.com
Fri Jun 1 09:21:45 UTC 2018
On 05/29/2018 04:26 PM, Norman Maurer wrote:
> Yes thats what I am saying… I think if a write fails due a connection-reset a read should still be possible until we are told by the OS that we also hit an error here.
Are there implementations where the kernel does *not* zap the read
buffer when it receives an RST segment? (Except perhaps Solaris, as
mentioned further down the thread.)
I expect that there is simply no data that OpenJDK can provide to an
application because the kernel does not have it anymore, either.
Thanks,
Florian
More information about the net-dev
mailing list