mirror of
https://github.com/caddyserver/caddy.git
synced 2026-06-30 13:53:03 +00:00
If we do not use a pointer here, the startup function that opens the log file stores the log file in a copy of the handler, not the same instance of the handler, causing panics during requests, which is bad, especially when the response is gzipped: the next recover() is beyond the gzip handler, so the browser downloads a gz file instead. |
||
|---|---|---|
| .. | ||
| basicauth | ||
| browse | ||
| errors | ||
| extensions | ||
| fastcgi | ||
| gzip | ||
| headers | ||
| log | ||
| markdown | ||
| proxy | ||
| redirect | ||
| rewrite | ||
| templates | ||
| websockets | ||
| commands.go | ||
| middleware.go | ||
| path.go | ||
| recorder.go | ||
| replacer.go | ||