In general if there is a read timeout it is because something has gone
wrong with the connection or the client, it is very unlikely that
sending a response will actually succeed, and could just result in a
That is why we just close the connection on read timeout, without
trying to send any sort of response.
On Thu, Nov 3, 2016 at 1:00 AM, Вячеслав А <slavastap(a)gmail.com> wrote:
In our project we use Undertow in WildFly application server.
Also we set Read Time Out limits for Undertow.
As we can understand, Read Time Out managed by
At Read Time Out moment will be called IoUtils.safeClose and resources will
But we want to return message with TimeOut code (
How can we properly close Exchange and return code to client as response?
I tried to handle in exchange.getConnection().addCloseListener , but i cant
find a way to return code.
Also, i found Test
but it doesnt work.
undertow-dev mailing list