Skip to content

Commit 2c0decb

Browse files
committed
Linting
1 parent 3d992dd commit 2c0decb

File tree

1 file changed

+1
-1
lines changed
  • coderd/coderdtest/oidctest

1 file changed

+1
-1
lines changed

coderd/coderdtest/oidctest/idp.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ func (f *FakeIDP) realServer(t testing.TB) *httptest.Server {
318318
ctx, cancel := context.WithCancel(context.Background())
319319
srv := &httptest.Server{
320320
Listener: l,
321-
Config: &http.Server{Handler: f.handler},
321+
Config: &http.Server{Handler: f.handler, ReadHeaderTimeout: time.Second * 5},
322322
}
323323

324324
srv.Config.BaseContext = func(_ net.Listener) context.Context {

0 commit comments

Comments
 (0)