Skip to content

net/http: access to written data after ResponseWriter.Write returns #58446

Closed
@neild

Description

@neild

The HTTP/2 ResponseWriter can access the contents of the slice passed to Write after Write returns.

  • When closing a stream while a write is in progress.
  • When shutting down the server while a write is in progress.

This is a violation of the io.Writer contract, and responsible for a number of recent net/http flakes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    FrozenDueToAgeNeedsFixThe path to resolution is known, but the work has not been done.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions