aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Becker2013-07-02 02:48:11 (EDT)
committerThomas Becker2013-07-02 02:48:11 (EDT)
commit85ef5396633d45bdc8761e60f7b1a89ad4c698dc (patch)
tree53da06da280b98cb8d2f95c2ad0cc480356df099
parent8b31188ca7b0856584b75569347011df385fbe94 (diff)
downloadorg.eclipse.jetty.project-85ef5396633d45bdc8761e60f7b1a89ad4c698dc.zip
org.eclipse.jetty.project-85ef5396633d45bdc8761e60f7b1a89ad4c698dc.tar.gz
org.eclipse.jetty.project-85ef5396633d45bdc8761e60f7b1a89ad4c698dc.tar.bz2
HttpTransportOverSPDY add newline
-rw-r--r--jetty-spdy/spdy-http-server/src/main/java/org/eclipse/jetty/spdy/server/http/HttpTransportOverSPDY.java1
1 files changed, 1 insertions, 0 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 4a830bc..45923b0 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
@@ -162,6 +162,7 @@ public class HttpTransportOverSPDY implements HttpTransport
headers.add(HttpHeader.SERVER.asString(), HttpConfiguration.SERVER_VERSION);
if(configuration.getSendXPoweredBy())
headers.add(HttpHeader.X_POWERED_BY.asString(), HttpConfiguration.SERVER_VERSION);
+
boolean close = !hasContent && lastContent;
ReplyInfo reply = new ReplyInfo(headers, close);
reply(stream, reply);