434027 - ReadListener.onError() not invoked in case of read failures.
This commit is contained in:
parent
a1d18a157d
commit
976d86b375
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue