Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreg Wilkins2014-04-30 07:30:42 +0000
committerGreg Wilkins2014-04-30 07:30:42 +0000
commit8fbfde6f37a1779f9a857b928e665c61823bb567 (patch)
treec91e9b69eb43e6a00feb6fc2ff8e54bc27c5bf3a
parent0786b6c77c83c27af3139181064356b80a98374f (diff)
downloadorg.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.java2
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);

Back to the top