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

    https://github.com/apache/trafficserver/pull/632#discussion_r63248097
  
    --- Diff: proxy/http2/Http2ConnectionState.cc ---
    @@ -238,22 +241,29 @@ rcv_headers_frame(Http2ConnectionState &cstate, const 
Http2Frame &frame)
         header_block_fragment_length -= (HTTP2_HEADERS_PADLEN_LEN + 
params.pad_length);
       }
     
    -  // NOTE: Parse priority parameters if exists
    -  // TODO: Currently priority is NOT supported. TS-3535 will fix this.
    -  if (frame.header().flags & HTTP2_FLAGS_HEADERS_PRIORITY) {
    -    uint8_t buf[HTTP2_PRIORITY_LEN] = {0};
    +  if (new_stream) {
    +    // NOTE: Parse priority parameters if exists
    +    if (frame.header().flags & HTTP2_FLAGS_HEADERS_PRIORITY) {
    --- End diff --
    
    These 2 conditionals could have been combined if (new_stream && 
(frame.header().flags & HTTP2_FLAGS_HEADERS_PRIORITY)) {


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to