Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Always receiving REFUSED_STREAM when sending PUSH_PROMISE #7

@JonathanHenson

Description

@JonathanHenson

Example:

-> HEADERS(1)
- END_STREAM
+ END_HEADERS
:method: POST
:scheme: https
:authority: localhost:8443
:path: /
content-type: application/json
content-length: 58

Stream: RemainingSendFlowControlWindowIsEnough(58): 65535 > 58 = true
-> DATA(1)
+ END_STREAM
{58 bytes}

<- PUSH_PROMISE(1)
+ END_HEADERS
Promised Stream Id: 2
:authority: localhost:8443
:path: /

-> RST_STREAM(2)
Error code: REFUSED_STREAM

<- HEADERS(2)
- END_STREAM
+ END_HEADERS
:status: 400

<- DATA(2)
+ END_STREAM
{73 bytes}

Any thoughts on what's going on here?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions