Skip to content

x/net/http2: if (*ClientConn).encodeHeaders returns an error, roundTrip doesn't clean up streams map, etc #48652

@bradfitz

Description

@bradfitz

If you send try to RoundTrip a bogus request that trips up (*ClientConn).encodeHeaders, the (*ClientConn).roundTrip function returns without cleaning up the cc.streams map, etc.

/cc @neild

Metadata

Metadata

Assignees

No one assigned

    Labels

    NeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions