[PATCH 0 of 3] Update Age response header correctly

2024-06-14 Thread Hiroaki Nakamura
Hello! Currently nginx does not update Age response header when it receives responses from upstreams nor when it sends a cached response. This causes the problem that nginx might send an expired cache. With this patchset, nginx updates Age response header correctly when it receives responses fro

[PATCH 3 of 3] Tests: Update and add tests for Age header

2024-06-14 Thread Hiroaki Nakamura
# HG changeset patch # User Hiroaki Nakamura # Date 1718345855 -32400 # Fri Jun 14 15:17:35 2024 +0900 # Branch correct_age # Node ID 8473b99b2c169b50bc71c9c07a1f10750b0cfc73 # Parent 51355c41fc134954e58b1534d232291d70252be7 Tests: Update and add tests for Age header. diff -r 51355c41fc13 -

[PATCH 1 of 3] Correctly calculate and set Age header

2024-06-14 Thread Hiroaki Nakamura
# HG changeset patch # User Hiroaki Nakamura # Date 1718345844 -32400 # Fri Jun 14 15:17:24 2024 +0900 # Branch correct_age # Node ID 493817cf38580a71430f9c1293e29bdfbf243075 # Parent 2f636ec9c71aaa7129f3f79fa1e584e02f8748f0 Correctly calculate and set Age header. Implement the calculation o

[PATCH 2 of 3] Save response time and corrected initial age to file cache header

2024-06-14 Thread Hiroaki Nakamura
# HG changeset patch # User Hiroaki Nakamura # Date 1718345850 -32400 # Fri Jun 14 15:17:30 2024 +0900 # Branch correct_age # Node ID 51355c41fc134954e58b1534d232291d70252be7 # Parent 493817cf38580a71430f9c1293e29bdfbf243075 Save response time and corrected initial age to file cache header.