Y
yarivvv
Hi,
I wrote a simple http server using java.nio. I've run into a problem
where occasionally, calling close() on the SocketChannel closes the
socket prematurely, before all the response bytes have been sent to the
client. Is there a way to ensure that the SocketChannel flushes before
closing?
Thanks
Yariv
I wrote a simple http server using java.nio. I've run into a problem
where occasionally, calling close() on the SocketChannel closes the
socket prematurely, before all the response bytes have been sent to the
client. Is there a way to ensure that the SocketChannel flushes before
closing?
Thanks
Yariv