GitHub user jpeach opened a pull request:
https://github.com/apache/trafficserver/pull/864
TS-4751: Prune cached headers before merging the updated response.
When we update a cached response with a new server response, make
sure to delete any cache-related beforehand. This is needed to
handle the situation where an origin returns Age on an initial
response but not on subsequent responses. We should not preserve
the initial Age in this case.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/jpeach/trafficserver fix/4571
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/trafficserver/pull/864.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #864
----
commit c12eaad61793caebe913ff2a6285726c139d64ba
Author: James Peach <[email protected]>
Date: 2016-08-12T21:15:29Z
TS-4751: Prune cached headers before merging the updated response.
When we update a cached response with a new server response, make
sure to delete any cache-related beforehand. This is needed to
handle the situation where an origin returns Age on an initial
response but not on subsequent responses. We should not preserve
the initial Age in this case.
----
---
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.
---