apiserver/pkg/server/filters
Ben Luddy 302a5c27a6 Ensure timeout test handlers don't complete before timing out.
TestTimeoutRequestHeaders and TestTimeoutWithLogging are designed to
catch data races on request headers and include an HTTP handler that
triggers timeout then repeatedly mutates request headers. Sometimes,
the request header mutation loop could complete before the timeout
filter observed the timeout, resulting in a test failure. The mutation
loop now runs until the test ends.

Kubernetes-commit: e5a15c87e9d83ee19ba93aa356dfbb7b33a013c8
2023-06-07 12:48:33 -04:00
..
OWNERS Check in OWNERS modified by update-yamlfmt.sh 2021-12-09 21:31:26 -05:00
content_type.go add a content-type filter to apiserver filters to autoset nosniff 2019-01-04 14:06:46 -08:00
content_type_test.go add a content-type filter to apiserver filters to autoset nosniff 2019-01-04 14:06:46 -08:00
cors.go apiserver: refactor cors filter 2022-11-03 09:29:47 -04:00
cors_test.go apiserver: CVE-2022-1996, validate cors-allowed-origins server option 2023-01-20 13:54:02 -05:00
doc.go move genericapiserver/server/filters to apiserver 2017-01-27 14:15:18 -05:00
goaway.go fix S1008 simplify bool returns 2020-06-26 10:39:16 -05:00
goaway_test.go remove unused variable responseBodySize 2021-11-16 22:49:22 +01:00
hsts.go Fix HSTS Missing From HTTPS Server(Nessus Scanner) 2020-11-12 16:10:58 +08:00
longrunning.go Do not time-out profiler requests. 2018-01-02 14:42:01 +01:00
maxinflight.go Refactor APF handler in preparation for dynamic retryAfter 2023-04-18 20:34:25 +02:00
maxinflight_test.go Generate and format files 2022-07-19 20:54:13 -04:00
priority-and-fairness.go APF: Dynamically compute retry-after based on history 2023-04-20 10:18:48 +02:00
priority-and-fairness_test.go APF: Dynamically compute retry-after based on history 2023-04-20 10:18:48 +02:00
timeout.go do not print status stack in case of timeout from timeout handler 2022-09-10 10:13:11 +00:00
timeout_test.go Ensure timeout test handlers don't complete before timing out. 2023-06-07 12:48:33 -04:00
waitgroup.go apiserver: refactor WithWaitGroup handler 2023-01-10 15:55:19 -05:00
watch_termination.go apiserver: terminate watch with a rate limiter during shutdown 2023-01-13 18:04:13 -05:00
watch_termination_test.go apiserver: terminate watch with a rate limiter during shutdown 2023-01-13 18:04:13 -05:00
with_retry_after.go Revert "Merge pull request #104281 from tkashem/not-ready-429" 2021-08-31 10:10:46 -04:00
with_retry_after_test.go Revert "Merge pull request #104281 from tkashem/not-ready-429" 2021-08-31 10:10:46 -04:00
wrap.go logging: fix names of keys 2023-01-16 15:04:01 +01:00