|
6d97d8d87b
|
caddyhttp: Address some Go 1.20 features (#6252)
Co-authored-by: Francis Lavoie <lavofr@gmail.com>
|
2024-04-24 00:05:57 +00:00 |
|
|
1c9ea0113d
|
caddyhttp: Impl ResponseWriter.Unwrap() , prep for Go 1.20's ResponseController (#5509)
* feat: add support for ResponseWriter.Unwrap()
* cherry-pick Francis' code
|
2023-04-26 19:44:01 -04:00 |
|
|
dd9813c65b
|
caddyhttp: ensure ResponseWriterWrapper and ResponseRecorder use ReadFrom if the underlying response writer implements it. (#5022)
Doing so allows for splice/sendfile optimizations when available.
Fixes #4731
Co-authored-by: flga <flga@users.noreply.github.com>
Co-authored-by: Matthew Holt <mholt@users.noreply.github.com>
|
2022-09-07 21:13:35 +01:00 |
|