Merge pull request #4393 from eclipse/jetty-9.4.x-4392-handle_quiet_exception_in_asyncError
Fixes #4392 - Suppress logging of QuietException in HttpChannelState.…
This commit is contained in:
commit
45fcd80182
|
@ -28,6 +28,7 @@ import javax.servlet.UnavailableException;
|
||||||
|
|
||||||
import org.eclipse.jetty.http.BadMessageException;
|
import org.eclipse.jetty.http.BadMessageException;
|
||||||
import org.eclipse.jetty.http.HttpStatus;
|
import org.eclipse.jetty.http.HttpStatus;
|
||||||
|
import org.eclipse.jetty.io.QuietException;
|
||||||
import org.eclipse.jetty.server.handler.ContextHandler;
|
import org.eclipse.jetty.server.handler.ContextHandler;
|
||||||
import org.eclipse.jetty.server.handler.ContextHandler.Context;
|
import org.eclipse.jetty.server.handler.ContextHandler.Context;
|
||||||
import org.eclipse.jetty.server.handler.ErrorHandler;
|
import org.eclipse.jetty.server.handler.ErrorHandler;
|
||||||
|
@ -406,8 +407,6 @@ public class HttpChannelState
|
||||||
*/
|
*/
|
||||||
protected Action unhandle()
|
protected Action unhandle()
|
||||||
{
|
{
|
||||||
boolean readInterested = false;
|
|
||||||
|
|
||||||
synchronized (this)
|
synchronized (this)
|
||||||
{
|
{
|
||||||
if (LOG.isDebugEnabled())
|
if (LOG.isDebugEnabled())
|
||||||
|
@ -736,8 +735,10 @@ public class HttpChannelState
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
LOG.warn(failure.toString());
|
if (!(failure instanceof QuietException))
|
||||||
LOG.debug(failure);
|
LOG.warn(failure.toString());
|
||||||
|
if (LOG.isDebugEnabled())
|
||||||
|
LOG.debug(failure);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1340,7 +1341,7 @@ public class HttpChannelState
|
||||||
* but that a handling thread may need to produce (fill/parse)
|
* but that a handling thread may need to produce (fill/parse)
|
||||||
* it. Typically called by the async read success callback.
|
* it. Typically called by the async read success callback.
|
||||||
*
|
*
|
||||||
* @return <code>true</code> if more content may be available
|
* @return {@code true} if more content may be available
|
||||||
*/
|
*/
|
||||||
public boolean onReadPossible()
|
public boolean onReadPossible()
|
||||||
{
|
{
|
||||||
|
@ -1372,7 +1373,7 @@ public class HttpChannelState
|
||||||
* Called to signal that a read has read -1.
|
* Called to signal that a read has read -1.
|
||||||
* Will wake if the read was called while in ASYNC_WAIT state
|
* Will wake if the read was called while in ASYNC_WAIT state
|
||||||
*
|
*
|
||||||
* @return <code>true</code> if woken
|
* @return {@code true} if woken
|
||||||
*/
|
*/
|
||||||
public boolean onReadEof()
|
public boolean onReadEof()
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue