mirror of
https://github.com/caddyserver/caddy.git
synced 2025-05-31 04:05:46 -04:00
http: Fix empty responses
Sigh... this is what I get for writing code when I'm tired and sick.
See 8be1f0ea66 (r36764627)
This commit is contained in:
parent
8c0c1a7b88
commit
fe5a531c58
@ -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
|
// pre-compile the handler chain, and be sure to wrap it in our
|
||||||
// route handler so that important security checks are done, etc.
|
// route handler so that important security checks are done, etc.
|
||||||
srv.primaryHandlerChain = srv.Routes.Compile()
|
primaryRoute = srv.Routes.Compile()
|
||||||
}
|
}
|
||||||
srv.primaryHandlerChain = srv.wrapPrimaryRoute(primaryRoute)
|
srv.primaryHandlerChain = srv.wrapPrimaryRoute(primaryRoute)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user