summaryrefslogtreecommitdiff
path: root/modules/caddyhttp/fileserver
diff options
context:
space:
mode:
authorfleandro <3987005+flga@users.noreply.github.com>2022-09-07 21:13:35 +0100
committerGitHub <noreply@github.com>2022-09-07 21:13:35 +0100
commitdd9813c65be3af8e222bda6e63f5eea9232c6eee (patch)
tree30357f52e5e46c85d274698778c72e9a6c89afba /modules/caddyhttp/fileserver
parent1c9c8f6a13f99817cb35a9b100287da81255be21 (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