Skip to content

net/http: verify and test that Request.Cancel interrupts bodies too #13159

@bradfitz

Description

@bradfitz

Verify that the Transport (both http1 and http2) interrupts a body read if Request.Cancel becomes readable.

Motivation was from https://go-review.googlesource.com/#/c/16101/5..7/kubernetes/client.go

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions