caddy/modules
Y.Horie 8d3a1b8bcb
caddyauth: Use singleflight for basic auth (#5344)
* caddyauth: Add singleflight for basic auth

* Fixes #5338
* it occurred the thunder herd problem like this https://medium.com/@mhrlife/avoid-duplicate-requests-while-filling-cache-98c687879f59

* Update modules/caddyhttp/caddyauth/basicauth.go

Fix comment

Co-authored-by: Francis Lavoie <lavofr@gmail.com>

---------

Co-authored-by: Francis Lavoie <lavofr@gmail.com>
Co-authored-by: Matt Holt <mholt@users.noreply.github.com>
2023-02-06 18:29:03 +00:00
..
caddyevents events: Make event data exported 2022-09-19 16:20:58 -06:00
caddyhttp caddyauth: Use singleflight for basic auth (#5344) 2023-02-06 18:29:03 +00:00
caddypki acme_server: Configurable default lifetime for issued certificates (#5232) 2022-12-06 00:12:26 -07:00
caddytls caddytls: Debug log for ask endpoint 2023-01-30 09:30:53 -07:00
filestorage httpcaddyfile: Minor fixes to parsing storage options 2020-05-01 09:34:32 -06:00
logging reverseproxy: Mask the WS close message when we're the client (#5199) 2022-11-14 09:38:02 -07:00
metrics core: Variadic Context.Logger(); soft deprecation 2022-09-16 16:55:36 -06:00
standard events: Implement event system (#4912) 2022-08-31 15:01:30 -06:00