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

    https://github.com/apache/trafficserver/pull/636#discussion_r63581211
  
    --- Diff: proxy/http/HttpTransact.cc ---
    @@ -3460,7 +3460,7 @@ HttpTransact::HandleStatPage(State *s)
           s->hdr_info.client_response.value_set(MIME_FIELD_CONTENT_TYPE, 
MIME_LEN_CONTENT_TYPE, s->internal_msg_buffer_type, len);
         }
       } else {
    -    s->hdr_info.client_response.value_set(MIME_FIELD_CONTENT_TYPE, 
MIME_LEN_CONTENT_TYPE, "text/plain", 9);
    +    s->hdr_info.client_response.value_set(MIME_FIELD_CONTENT_TYPE, 
MIME_LEN_CONTENT_TYPE, "text/plain", 10);
    --- End diff --
    
    @jpeach I've created [TS-4451| 
https://issues.apache.org/jira/browse/TS-4451] for the longer-term fix for all 
of these magic numbers. For now I'm going to merge this in as this fixes it and 
matches "style" in its context.


---
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