diff options
author | Y.Horie <u5.horie@gmail.com> | 2023-02-07 03:29:03 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-06 18:29:03 +0000 |
commit | 8d3a1b8bcbc36930ca3ad0a6b38604ceaa697ecb (patch) | |
tree | 667145696d028e6893dc3d88a56a778a27e3366a /modules/caddyhttp/encode/gzip | |
parent | ac83b7e218e3c3eb4ef26922196759434b130786 (diff) |
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>
Diffstat (limited to 'modules/caddyhttp/encode/gzip')
0 files changed, 0 insertions, 0 deletions