Skip to content

net/http: flaky "connection reset by peer" on macOS Sierra #17651

@rsc

Description

@rsc

all.bash on Sierra at master:

--- FAIL: TestTransportDiscardsUnneededConns (0.14s)
    clientserver_test.go:979: Get: Get https://127.0.0.1:59047: read tcp 127.0.0.1:59050->127.0.0.1:59047: read: connection reset by peer
FAIL
FAIL    net/http    10.072s

I saw this on the Go 1.6 branch too. Haven't dug into it to find out what it means, whether it's Sierra or a race in the test. Just happens once in a while.

/cc @bradfitz

Metadata

Metadata

Assignees

No one assigned

    Labels

    FrozenDueToAgeNeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.TestingAn issue that has been verified to require only test changes, not just a test failure.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions