You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by bryancall <gi...@git.apache.org> on 2017/01/24 04:31:22 UTC

[GitHub] trafficserver pull request #871: TS-4733: Skip modifying response length for...

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

    https://github.com/apache/trafficserver/pull/871#discussion_r97472812
  
    --- Diff: proxy/http/HttpTransact.cc ---
    @@ -8059,12 +8059,8 @@ HttpTransact::build_response(State *s, HTTPHdr *base_response, HTTPHdr *outgoing
     
       // If the response is prohibited from containing a body,
       //  we know the content length is trustable for keep-alive
    -  if (is_response_body_precluded(status_code, s->method)) {
    -    s->hdr_info.trust_response_cl       = true;
    -    s->hdr_info.response_content_length = 0;
    -    s->client_info.transfer_encoding    = HttpTransact::NO_TRANSFER_ENCODING;
    -    s->server_info.transfer_encoding    = HttpTransact::NO_TRANSFER_ENCODING;
    -  }
    +  if (is_response_body_precluded(status_code, s->method))
    --- End diff --
    
    I am going to commit as is.  There hasn't been an update on it.


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