golang / golang/go

net/http: TestOptions/h1 failures

Open
#69,002 25 comments 1 reaction 0 assignees View on GitHub
NeedsInvestigation
Dominant language
Go
Stars
139k
Forks
19.4k
PR merge metrics
PR metrics pending

Description

```
#!watchflakes
default <- pkg == "net/http" && test == "TestOptions/h1"
```

Issue created automatically to collect these failures.

Example ([log](https://ci.chromium.org/b/8738971195910692529)):

=== RUN TestOptions/h1
=== PAUSE TestOptions/h1
=== CONT TestOptions/h1
serve_test.go:3682: Get "http://127.0.0.1:53667/second": net/http: HTTP/1.x transport connection broken: http: CloseIdleConnections called
--- FAIL: TestOptions/h1 (0.03s)

— [watchflakes](https://go.dev/wiki/Watchflakes)

Contributor guide

Open the contributing guide

Research direction

Start with the net/http TestOptions/h1 test and the failure at serve_test.go:3682. Reproduce the watchflakes failure, then trace the interaction with CloseIdleConnections; done means the intermittent HTTP/1.x transport failure no longer occurs and the test passes reliably.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.