Skip to content

HTTP2 loopback server WaitForCancellationAsync should validate error code sent #58235

Closed

Description

@geoffkizer

See here:

} while (frame.Type != FrameType.RstStream);

This code should also validate that the client sent the CANCEL error code in the RST_STREAM frame.

RFC reference: https://httpwg.org/specs/rfc7540.html#ErrorCodes

Activity

  1. ghost added
    untriaged
    on Aug 27, 2021
  2. added
    test-bug
    and removed
    untriaged
    on Sep 14, 2021
  3. added this to the 7.0.0 milestone on Sep 14, 2021
  4. added
    help wanted
    on Sep 14, 2021
  5. karelz commented on Sep 14, 2021

    @karelz
    Member

    Triage: The one line should just check the error code as well, should be simple.

  6. pedrobsaila commented on Sep 19, 2021

    @pedrobsaila
    Contributor

    Hi folks.
    I made a PR #59313 for this issue.

  7. ghost added
    in-pr
    on Sep 30, 2021
  8. ghost removed
    in-pr
    on Nov 2, 2021
  9. ghost locked as resolved and limited conversation to collaborators on Dec 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-System.Net.Httphelp wantedtest-bug

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions