[PATCH] Upstream: Cache "immediately stale" responses if revalidate is on.

2015-12-14 Thread Thorvaldur Thorvaldsson
# HG changeset patch # User Thorvaldur Thorvaldsson # Date 1450109082 -3600 # Mon Dec 14 17:04:42 2015 +0100 # Node ID e017db1282d4b8c4d541416e42fe7df8abc73302 # Parent def9c9c9ae05cfa7467b0ec96e76afa180c23dfb Upstream: Cache "immediately stale" responses if revalidate is on.

Re: [PATCH] Upstream: Cache "immediately stale" responses if revalidate is on.

2015-12-15 Thread Thorvaldur Thorvaldsson
Hello! Thanks for your reply, Maxim. My (old) subscription settings prevent me from replying directly to your message so I'll just continue here. You're correct, my original patch was too aggressive in that it would simply cache all stale (but otherwise cacheble) responses so long as "proxy_cache

[PATCH] Upstream: Cache stale responses if they may be revalidated.

2015-12-15 Thread Thorvaldur Thorvaldsson
# HG changeset patch # User Thorvaldur Thorvaldsson # Date 1450190015 -3600 # Tue Dec 15 15:33:35 2015 +0100 # Node ID 4a1914481e2bd3eecdc5d23e1386c01e4fb08414 # Parent def9c9c9ae05cfa7467b0ec96e76afa180c23dfb Upstream: Cache stale responses if they may be revalidated. Previously, the

Re: [PATCH] Upstream: Cache stale responses if they may be revalidated.

2015-12-15 Thread Thorvaldur Thorvaldsson
Hmmm, last_modified_time should have been just last_modifed there. I should resend a patch with this change. Regards, Thorvaldur On Tue, Dec 15, 2015 at 3:45 PM, Thorvaldur Thorvaldsson < thorvaldur.thorvalds...@gmail.com> wrote: > # HG changeset patch > # User Thorvaldur

Re: [PATCH] Upstream: Cache stale responses if they may be revalidated.

2015-12-15 Thread Thorvaldur Thorvaldsson
# HG changeset patch # User Thorvaldur Thorvaldsson # Date 1450190015 -3600 # Tue Dec 15 15:33:35 2015 +0100 # Node ID 2990e56d509f5a5ad503babdca888d5890251579 # Parent def9c9c9ae05cfa7467b0ec96e76afa180c23dfb Upstream: Cache stale responses if they may be revalidated. Previously, the

Re: [PATCH] Upstream: Cache stale responses if they may be revalidated.

2015-12-16 Thread Thorvaldur Thorvaldsson
itten some test cases to accompany this patch. I'll post them separately. Best regards, Thorvaldur On Tue, Dec 15, 2015 at 3:45 PM, Thorvaldur Thorvaldsson wrote: > # HG changeset patch > # User Thorvaldur Thorvaldsson > # Date 1450190015 -3600 > # Tue Dec 15 15:3

Re: [PATCH] Upstream: Cache stale responses if they may be revalidated.

2015-12-16 Thread Thorvaldur Thorvaldsson
# HG changeset patch # User Thorvaldur Thorvaldsson # Date 1450190015 -3600 # Tue Dec 15 15:33:35 2015 +0100 # Node ID 2c1f00c7f857c12587f0ac47323f04c6a881843a # Parent def9c9c9ae05cfa7467b0ec96e76afa180c23dfb Upstream: Cache stale responses if they may be revalidated. Previously, the

[PATCH] Tests for stale responses from upstream that may be cached.

2015-12-16 Thread Thorvaldur Thorvaldsson
# HG changeset patch # User Thorvaldur Thorvaldsson # Date 1450275691 -3600 # Wed Dec 16 15:21:31 2015 +0100 # Node ID 2843074e6e5f320ecae750cb3995b0ab4540dcad # Parent 5540ee8a12ce6e86f15f7cce616b231fb0fcaf4c Tests for stale responses from upstream that may be cached. The tests correspond

Re: [PATCH] Upstream: Cache stale responses if they may be revalidated.

2015-12-16 Thread Thorvaldur Thorvaldsson
n a wrong track here. Best regards, Thorvaldur On Wed, Dec 16, 2015 at 4:52 PM, Maxim Dounin wrote: > Hello! > > On Wed, Dec 16, 2015 at 03:37:27PM +0100, Thorvaldur Thorvaldsson wrote: > >> # HG changeset patch >> # User Thorvaldur Thorvaldsson >> # Date 1450190015 -

Re: [PATCH] Upstream: Cache stale responses if they may be revalidated.

2015-12-16 Thread Thorvaldur Thorvaldsson
# HG changeset patch # User Thorvaldur Thorvaldsson # Date 1450190015 -3600 # Tue Dec 15 15:33:35 2015 +0100 # Node ID b0d5d1f8fb0822973bf160934fcf40c3b5e87f02 # Parent def9c9c9ae05cfa7467b0ec96e76afa180c23dfb Upstream: Cache stale responses if they may be revalidated. Previously, the

Re: [PATCH] Tests for stale responses from upstream that may be cached.

2015-12-17 Thread Thorvaldur Thorvaldsson
Hi there, I mentioned in another thread that I'd add a test case for the most recent revision of the "cache stale from upstream" patch. I'll post it here in a moment. By the way, I'm sure there's a better way to set up the tests so I don't expect this patch to be accepted as-is. It's more about

Re: [PATCH] Tests for stale responses from upstream that may be cached.

2015-12-17 Thread Thorvaldur Thorvaldsson
# HG changeset patch # User Thorvaldur Thorvaldsson # Date 1450275691 -3600 # Wed Dec 16 15:21:31 2015 +0100 # Node ID 692075b59d386ffcbf1aff8e560488fd110d04f7 # Parent dba758c045edbe010de380176235bea6b700367e Tests for stale responses from upstream that may be cached. The tests correspond

Re: [PATCH] Upstream: Cache stale responses if they may be revalidated.

2015-12-18 Thread Thorvaldur Thorvaldsson
# HG changeset patch # User Thorvaldur Thorvaldsson # Date 1450486750 -3600 # Sat Dec 19 01:59:10 2015 +0100 # Node ID d5f8a24ee96d47f056949f3a103fd53a9dd56282 # Parent def9c9c9ae05cfa7467b0ec96e76afa180c23dfb Upstream: Cache response if max-age=0 and it may be revalidated. Previously, the

Re: [PATCH] Upstream: Cache stale responses if they may be revalidated.

2015-12-18 Thread Thorvaldur Thorvaldsson
Hello again, I'd just like to make one final revision of the patch. Two simplifications can be made without sacrificing my main objective, i.e., to make it possible for nginx to cache responses from upstream that must always be revalidated for authorization. The simplifications are: 1) Don't

Re: [patch] quic PTO counter fixes

2023-10-15 Thread Thorvaldur Thorvaldsson
Unsubscribe On Wed, 11 Oct 2023 at 13:59, Vladimir Homutov via nginx-devel < nginx-devel@nginx.org> wrote: > Hello, > > a couple of patches in the quic code: > > first patch improves a bit debugging, and the second patch contains > fixes for PTO counter calculation - see commit log for details. >

Re: [PATCH] Tests: stream_udp_proxy_requests adjusted

2024-07-16 Thread Thorvaldur Thorvaldsson
Unsubscribe. On Mon, Jul 15, 2024 at 12:02 PM Oksana Deeva wrote: > > # HG changeset patch > # User Oksana Deeva > # Date 1721044584 -10800 > # Mon Jul 15 14:56:24 2024 +0300 > # Node ID 50fc19b32628b1c5a2a49c127b013e15e4083dd6 > # Parent 0e9c1a8aa1d49e57b211e2c8ece94e00bf032ed7 > Tests: s

Re: [PATCH 0 of 7] Upstream: re-resolvable servers.

2024-07-19 Thread Thorvaldur Thorvaldsson
Unsubscribe On Thu, 18 Jul 2024 at 21:22, Aleksei Bavshin wrote: > See > https://mailman.nginx.org/pipermail/nginx-devel/2024-June/TSMKAHLFU3X4OBKLPRW5B2PXGBTUEHPU.html > > v3 changes: > > - Addressed comments from Roman > - Removed the patch that disables re-resolve on Windows > - Disabled r