Once shutdownOutput() has been done, the connection will still need to be
fillInterested to seek the close from the other end, thus it's idle timeout
will still apply. So either the close will arrive from the other end, or
idletimeout happens and then you should just close the endpoint.
On Tue,
Thanks for the response Greg. After writing the response and calling
shutdownOutput(), how do I set a forceful close timeout?
Thanks,
Josh
On Thu, May 20, 2021 at 3:09 PM Greg Wilkins wrote:
> There is nothing preventing you accepting a connection and then
> immediately sending an error