You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2015/06/05 22:53:09 UTC

svn commit: r1683868 - /tomcat/trunk/java/org/apache/coyote/http2/FrameType.java

Author: markt
Date: Fri Jun  5 20:53:08 2015
New Revision: 1683868

URL: http://svn.apache.org/r1683868
Log:
Use correct error message

Modified:
    tomcat/trunk/java/org/apache/coyote/http2/FrameType.java

Modified: tomcat/trunk/java/org/apache/coyote/http2/FrameType.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/coyote/http2/FrameType.java?rev=1683868&r1=1683867&r2=1683868&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/coyote/http2/FrameType.java (original)
+++ tomcat/trunk/java/org/apache/coyote/http2/FrameType.java Fri Jun  5 20:53:08 2015
@@ -61,7 +61,7 @@ public enum FrameType {
             throw new Http2Exception(sm.getString("frameType.checkStream.invalidForZero",
                     connectionId, this), 0, ErrorCode.PROTOCOL_ERROR);
         } else if (streamId != 0 && !streamNonZero) {
-            throw new Http2Exception(sm.getString("frameType.checkStream.invalidForZero",
+            throw new Http2Exception(sm.getString("frameType.checkStream.invalidForNonZero",
                     connectionId, Integer.valueOf(streamId), this), 0, ErrorCode.PROTOCOL_ERROR);
         }
     }



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org