Fix HostRegexp and Query muxers
This commit is contained in:
parent
77e1ce2877
commit
a887794313
7 changed files with 246 additions and 6 deletions
|
@ -523,6 +523,8 @@ func createHTTPServer(ctx context.Context, ln net.Listener, configuration *stati
|
|||
return nil, err
|
||||
}
|
||||
|
||||
handler = http.AllowQuerySemicolons(handler)
|
||||
|
||||
if withH2c {
|
||||
handler = h2c.NewHandler(handler, &http2.Server{})
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue