Browse Source

http: Fix empty responses

Sigh... this is what I get for writing code when I'm tired and sick.

See 8be1f0ea66 (r36764627)
master
Matthew Holt 5 years ago
parent
commit
fe5a531c58
No known key found for this signature in database GPG Key ID: 2A349DD577D586A5
  1. 2
      modules/caddyhttp/caddyhttp.go

2
modules/caddyhttp/caddyhttp.go

@ -172,7 +172,7 @@ func (app *App) Provision(ctx caddy.Context) error {
}
// pre-compile the handler chain, and be sure to wrap it in our
// route handler so that important security checks are done, etc.
srv.primaryHandlerChain = srv.Routes.Compile()
primaryRoute = srv.Routes.Compile()
}
srv.primaryHandlerChain = srv.wrapPrimaryRoute(primaryRoute)

Loading…
Cancel
Save