Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] Question about behavior of WriteListener

Thanks for the feedback,

case a) seem to fail atm see https://github.com/eclipse/jetty.project/issues/1034 case b) seem to work as expected, but I found another case see https://github.com/eclipse/jetty.project/issues/1035

Am 24.10.2016 12:57, schrieb Simone Bordet:
Can you please file an issue so that we verify that this case is
covered well in the test suite ?
The case would be these:

a) response.setContentLength(N), write N-1, then
AsyncContext.complete() ->  we must error in some way and abort the
channel.
b) write pending, onTimeout() calls AsyncContext.complete(),
WriteListener.onError() is called ->  verify that we abort the channel.


Back to the top