diff options
author | fleandro <3987005+flga@users.noreply.github.com> | 2022-09-07 21:13:35 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-07 21:13:35 +0100 |
commit | dd9813c65be3af8e222bda6e63f5eea9232c6eee (patch) | |
tree | 30357f52e5e46c85d274698778c72e9a6c89afba /modules/caddyhttp/fileserver | |
parent | 1c9c8f6a13f99817cb35a9b100287da81255be21 (diff) |
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>
Diffstat (limited to 'modules/caddyhttp/fileserver')
0 files changed, 0 insertions, 0 deletions