这是indexloc提供的服务,不要输入任何密码
Skip to content

test 5.1.2. is incorrect #139

@robaho

Description

@robaho

Reviewing the test code, the code states "set the window size to 0 to prevent the stream from being closed" here

but the rfc states, "Frames with zero length with the END_STREAM flag set (that is, an empty DATA frame) MAY be sent if there is no available space in either flow-control window."

in section 6.9.1

So, if the response to the request contains no data, then this test will fail, because the server can process the request and close the stream, reducing the number of streams in use - so the test will never fail as the maximum will never be exceeded - it will hang.

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