Skip to content

net/http: connection leak on panic #4050

Closed
@anacrolix

Description

@anacrolix
Connections are not closed if panic(nil) occurs during net.http.(*conn).serve().

http://code.google.com/p/go/source/browse/src/pkg/net/http/server.go#596

Specifically this occurs in user code during handler.ServeHTTP().

http://code.google.com/p/go/source/browse/src/pkg/net/http/server.go#681

Metadata

Metadata

Assignees

No one assigned

    Labels

    FrozenDueToAgeSuggestedIssues that may be good for new contributors looking for work to do.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions