Github user maskit commented on a diff in the pull request:

    https://github.com/apache/trafficserver/pull/1262#discussion_r94286295
  
    --- Diff: proxy/http2/Http2ConnectionState.cc ---
    @@ -301,11 +304,11 @@ rcv_headers_frame(Http2ConnectionState &cstate, const 
Http2Frame &frame)
     
         if (result != HTTP2_ERROR_NO_ERROR) {
           if (result == HTTP2_ERROR_COMPRESSION_ERROR) {
    -        return Http2Error(HTTP2_ERROR_CLASS_CONNECTION, 
HTTP2_ERROR_COMPRESSION_ERROR);
    +        return Http2Error(HTTP2_ERROR_CLASS_CONNECTION, 
HTTP2_ERROR_COMPRESSION_ERROR, "recv headers compression error");
           } else if (result == HTTP2_ERROR_ENHANCE_YOUR_CALM) {
    -        return Http2Error(HTTP2_ERROR_CLASS_CONNECTION, 
HTTP2_ERROR_ENHANCE_YOUR_CALM);
    +        return Http2Error(HTTP2_ERROR_CLASS_CONNECTION, 
HTTP2_ERROR_ENHANCE_YOUR_CALM, "recv headers enhance your calm");
           } else {
    -        return Http2Error(HTTP2_ERROR_CLASS_STREAM, 
HTTP2_ERROR_PROTOCOL_ERROR);
    +        return Http2Error(HTTP2_ERROR_CLASS_STREAM, 
HTTP2_ERROR_PROTOCOL_ERROR, "recv headers decode error");
    --- End diff --
    
    This is not a decode error. Please see a comment for the same logic in 
rcv_continuation_frame.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to