diff options
author | Greg Wilkins | 2014-04-30 07:30:42 +0000 |
---|---|---|
committer | Greg Wilkins | 2014-04-30 07:30:42 +0000 |
commit | 8fbfde6f37a1779f9a857b928e665c61823bb567 (patch) | |
tree | c91e9b69eb43e6a00feb6fc2ff8e54bc27c5bf3a | |
parent | 0786b6c77c83c27af3139181064356b80a98374f (diff) | |
download | org.eclipse.jetty.project-8fbfde6f37a1779f9a857b928e665c61823bb567.tar.gz org.eclipse.jetty.project-8fbfde6f37a1779f9a857b928e665c61823bb567.tar.xz org.eclipse.jetty.project-8fbfde6f37a1779f9a857b928e665c61823bb567.zip |
433802 check EOF in send1xx
-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); |