434027 - ReadListener.onError() not invoked in case of read failures.

This commit is contained in:
Simone Bordet 2014-05-02 23:01:33 +02:00
parent a1d18a157d
commit 976d86b375
1 changed files with 1 additions and 2 deletions

View File

@ -20,7 +20,6 @@ package org.eclipse.jetty.server;
import java.io.IOException;
import java.util.Objects;
import javax.servlet.ReadListener;
import javax.servlet.ServletInputStream;
@ -363,7 +362,7 @@ public abstract class HttpInput<T> extends ServletInputStream implements Runnabl
{
synchronized (lock())
{
if (_onError == null)
if (_onError != null)
LOG.warn(x);
else
_onError = x;