From da05582b9a62f454179d04871153bb125323045f Mon Sep 17 00:00:00 2001 From: Simone Bordet Date: Wed, 17 May 2017 10:11:10 +0200 Subject: [PATCH] Marking the parser at EOF in case of exceptions. --- .../src/main/java/org/eclipse/jetty/server/HttpConnection.java | 1 + 1 file changed, 1 insertion(+) diff --git a/jetty-server/src/main/java/org/eclipse/jetty/server/HttpConnection.java b/jetty-server/src/main/java/org/eclipse/jetty/server/HttpConnection.java index f6eb012d268..68cf229a268 100644 --- a/jetty-server/src/main/java/org/eclipse/jetty/server/HttpConnection.java +++ b/jetty-server/src/main/java/org/eclipse/jetty/server/HttpConnection.java @@ -335,6 +335,7 @@ public class HttpConnection extends AbstractConnection implements Runnable, Http catch (IOException e) { LOG.debug(e); + _parser.atEOF(); return -1; } }