Skip to content

net/http: use of closed network connection #4914

Closed
@niemeyer

Description

@niemeyer
An http.Client fails to download files with this error:

    use of closed network connection

Debugging the issue shows that indeed the net/http package is sending a RST packet while
the remote side is still delivering data, so apparently the connection is being locally
closed.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions