Skip to content

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

Open
kofemann wants to merge 1 commit into
11.2from
add-retry-after-header-11.2
Open

webdav/frontend: update rate limiter to respond with Retry-After header#8131
kofemann wants to merge 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>
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.

1 participant