Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'jetty-server/src/main/java/org/eclipse/jetty/server/HttpInput.java')
-rw-r--r--jetty-server/src/main/java/org/eclipse/jetty/server/HttpInput.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/jetty-server/src/main/java/org/eclipse/jetty/server/HttpInput.java b/jetty-server/src/main/java/org/eclipse/jetty/server/HttpInput.java
index 7b3808d451..bbed8bd2fa 100644
--- a/jetty-server/src/main/java/org/eclipse/jetty/server/HttpInput.java
+++ b/jetty-server/src/main/java/org/eclipse/jetty/server/HttpInput.java
@@ -265,7 +265,7 @@ public abstract class HttpInput<T> extends ServletInputStream
synchronized (lock())
{
T item = _inputQ.peekUnsafe();
- while (!isShutdown() && !isEarlyEOF())
+ loop: while (!isShutdown() && !isEarlyEOF())
{
while (item != null)
{
@@ -286,7 +286,8 @@ public abstract class HttpInput<T> extends ServletInputStream
}
catch (IOException e)
{
- throw new RuntimeIOException(e);
+ LOG.warn(e);
+ break loop;
}
}
}

Back to the top