Author: markt
Date: Thu Nov 12 12:32:39 2015
New Revision: 1714029
URL: http://svn.apache.org/viewvc?rev=1714029&view=rev
Log:
ACK response is 100, not 101.
Modified:
tomcat/trunk/java/org/apache/coyote/http2/Stream.java
Modified: tomcat/trunk/java/org/apache/coyote/http2/Stream.java
URL:
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/coyote/http2/Stream.java?rev=1714029&r1=1714028&r2=1714029&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/coyote/http2/Stream.java (original)
+++ tomcat/trunk/java/org/apache/coyote/http2/Stream.java Thu Nov 12 12:32:39
2015
@@ -42,7 +42,7 @@ public class Stream extends AbstractStre
private static final Response ACK_RESPONSE = new Response();
static {
- ACK_RESPONSE.setStatus(101);
+ ACK_RESPONSE.setStatus(100);
}
private volatile int weight = Constants.DEFAULT_WEIGHT;
@@ -85,6 +85,7 @@ public class Stream extends AbstractStre
this.coyoteRequest.setSendfile(false);
this.coyoteResponse.setOutputBuffer(outputBuffer);
this.coyoteRequest.setResponse(coyoteResponse);
+ this.coyoteRequest.protocol().setString("HTTP/2.0");
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]