diff options
author | Greg Wilkins | 2014-04-30 07:30:42 +0000 |
---|---|---|
committer | Jesse McConnell | 2014-09-02 19:44:10 +0000 |
commit | 17236a5a5acd7354696b5d38378d1502ef60689b (patch) | |
tree | d01c0abbbca80308e21bdc18fe9ffaebbc703c1c | |
parent | 71268ba47c518bbc02fce202ab1956a2ec0e2bad (diff) | |
download | org.eclipse.jetty.project-17236a5a5acd7354696b5d38378d1502ef60689b.tar.gz org.eclipse.jetty.project-17236a5a5acd7354696b5d38378d1502ef60689b.tar.xz org.eclipse.jetty.project-17236a5a5acd7354696b5d38378d1502ef60689b.zip |
433802 check EOF in send1xx
(cherry picked from commit 8fbfde6f37a1779f9a857b928e665c61823bb567)
-rw-r--r-- | jetty-http/src/main/java/org/eclipse/jetty/http/HttpGenerator.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jetty-http/src/main/java/org/eclipse/jetty/http/HttpGenerator.java b/jetty-http/src/main/java/org/eclipse/jetty/http/HttpGenerator.java index 3a234f7912..3643390603 100644 --- a/jetty-http/src/main/java/org/eclipse/jetty/http/HttpGenerator.java +++ b/jetty-http/src/main/java/org/eclipse/jetty/http/HttpGenerator.java @@ -330,7 +330,7 @@ public class HttpGenerator extends AbstractGenerator while(_header.length()>0) { int len = _endp.flush(_header); - if (len<0) + if (len<0 || !_endp.isOpen()) throw new EofException(); if (len==0) Thread.sleep(100); |