mirror of
https://github.com/caddyserver/caddy.git
synced 2026-10-08 23:18:24 +00:00
reverseproxy: Add buffer_requests option to reverse_proxy directive (#3710)
This commit is contained in:
parent
24f34780b6
commit
4cd7ae35b3
2 changed files with 8 additions and 0 deletions
|
|
@ -467,6 +467,12 @@ func (h *Handler) UnmarshalCaddyfile(d *caddyfile.Dispenser) error {
|
|||
h.FlushInterval = caddy.Duration(dur)
|
||||
}
|
||||
|
||||
case "buffer_requests":
|
||||
if d.NextArg() {
|
||||
return d.ArgErr()
|
||||
}
|
||||
h.BufferRequests = true
|
||||
|
||||
case "header_up":
|
||||
if h.Headers == nil {
|
||||
h.Headers = new(headers.Handler)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue