Welcome! Log In Create A New Profile

Advanced

[PATCH 0 of 3] Update Age response header correctly

Hiroaki Nakamura
June 14, 2024 03:30AM
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 from upstream and when
it sends a cached response as specified in RFC 9111 [1].

- patch 1: Update Age response header when nginx receives
a response from upstreams and when it sends a
cached response.
- patch 2: Save response time and corrected initial age
to cache file header.
- patch 3: Tests: Update and add test files to patchset
for convenience.
Contents of the "*.tt" files are to be put into
nginx-tests repository.

Link: https://www.rfc-editor.org/rfc/rfc9111 [1]

Thanks!
Hiroaki Nakamura
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
https://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[PATCH 0 of 3] Update Age response header correctly

Hiroaki Nakamura 185 June 14, 2024 03:30AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 182
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready