Skip to content

webdav/frontend: update rate limiter to respond with Retry-After header#8131

Merged
mksahakyan merged 1 commit into
11.2from
add-retry-after-header-11.2
Jun 30, 2026
Merged

webdav/frontend: update rate limiter to respond with Retry-After header#8131
mksahakyan merged 1 commit into
11.2from
add-retry-after-header-11.2

Conversation

@kofemann

Copy link
Copy Markdown
Member

Motivation:
The rfc6585 suggest that server MAY include Retry-After header, which is used by FTS. So, let's be a good citizen and do so.

Modification:
Update RateLimitedHandlerList to provide Retry-After header. For blocked clients an initial blocking time and blocking duration is used. For general rate limiting a random value between 1 and client idle window is used.

Result:
FTS friendly behaviour

Issue: #8102
Acked-by: Lennart Sack
Target: master, 11.2
Require-book: no
Require-notes: yes
(cherry picked from commit 5ff074d)

Motivation:
The rfc6585 suggest that server MAY include Retry-After header, which is
used by FTS. So, let's be a good citizen and do so.

Modification:
Update RateLimitedHandlerList to provide Retry-After header. For blocked
clients an initial blocking time and blocking duration is used. For
general rate limiting a random value between 1 and client idle window is
used.

Result:
FTS friendly behaviour

Issue: #8102
Acked-by: Lennart Sack
Target: master, 11.2
Require-book: no
Require-notes: yes
(cherry picked from commit 5ff074d)
Signed-off-by: Tigran Mkrtchyan <tigran.mkrtchyan@desy.de>
@mksahakyan mksahakyan merged commit 6a21c71 into 11.2 Jun 30, 2026
1 of 3 checks passed
@mksahakyan mksahakyan deleted the add-retry-after-header-11.2 branch June 30, 2026 09:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants