aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Becker2012-11-29 07:37:02 (EST)
committerThomas Becker2012-11-29 07:37:02 (EST)
commit61fbc68be7a7cbe2a56d08abf809a4244252a389 (patch)
tree91ef1dc299b00b7b98ee4e10756d0701cdf976b9
parente33bc260b21acea6df187718659bf1e5fd0301ef (diff)
downloadorg.eclipse.jetty.project-61fbc68be7a7cbe2a56d08abf809a4244252a389.zip
org.eclipse.jetty.project-61fbc68be7a7cbe2a56d08abf809a4244252a389.tar.gz
org.eclipse.jetty.project-61fbc68be7a7cbe2a56d08abf809a4244252a389.tar.bz2
395312 log.warn if a SPDY stream gets committed twice
-rw-r--r--jetty-spdy/spdy-http-server/src/main/java/org/eclipse/jetty/spdy/server/http/HttpTransportOverSPDY.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/jetty-spdy/spdy-http-server/src/main/java/org/eclipse/jetty/spdy/server/http/HttpTransportOverSPDY.java b/jetty-spdy/spdy-http-server/src/main/java/org/eclipse/jetty/spdy/server/http/HttpTransportOverSPDY.java
index 28110a0..67fd39d 100644
--- a/jetty-spdy/spdy-http-server/src/main/java/org/eclipse/jetty/spdy/server/http/HttpTransportOverSPDY.java
+++ b/jetty-spdy/spdy-http-server/src/main/java/org/eclipse/jetty/spdy/server/http/HttpTransportOverSPDY.java
@@ -79,8 +79,10 @@ public class HttpTransportOverSPDY implements HttpTransport
LOG.debug("send {} {} {} {} last={}",this,stream,info,BufferUtil.toDetailString(content),lastContent);
if (stream.isClosed() || stream.isReset())
- {
- callback.failed(new EofException("stream closed"));
+ {
+ EofException exception = new EofException("stream closed");
+ callback.failed(exception);
+ LOG.warn("Committed response twice.", exception);
return;
}
// new Throwable().printStackTrace();