We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3d992dd commit 2c0decbCopy full SHA for 2c0decb
coderd/coderdtest/oidctest/idp.go
@@ -318,7 +318,7 @@ func (f *FakeIDP) realServer(t testing.TB) *httptest.Server {
318
ctx, cancel := context.WithCancel(context.Background())
319
srv := &httptest.Server{
320
Listener: l,
321
- Config: &http.Server{Handler: f.handler},
+ Config: &http.Server{Handler: f.handler, ReadHeaderTimeout: time.Second * 5},
322
}
323
324
srv.Config.BaseContext = func(_ net.Listener) context.Context {
0 commit comments