Skip to content
This repository was archived by the owner on Jan 13, 2021. It is now read-only.
This repository was archived by the owner on Jan 13, 2021. It is now read-only.

Too many RST_STREAM frames #149

@Lukasa

Description

@Lukasa

Weirdly, when communicating with http2bin.org, hyper seems to be RST_STREAMing every single stream:

py.test -vvv --capture=no test_release.py::TestHyperActuallyWorks::test_hitting_http2bin_org
============================= test session starts =============================
platform win32 -- Python 2.7.10 -- py-1.4.28 -- pytest-2.7.1 -- C:\Users\cb2\Documents\hyper\.tox\py27\Scripts\python.exe
rootdir: C:\Users\cb2\Documents\hyper, inifile:
plugins: cov, xdist
collected 4 items

test_release.py::TestHyperActuallyWorks::test_hitting_http2bin_org INFO:hyper.http20.connection:Sending frame SettingsFrame on stream 0
INFO:hyper.http20.connection:Received frame SettingsFrame on stream 0
INFO:hyper.http20.connection:Sending frame SettingsFrame on stream 0
INFO:hyper.http20.connection:Sending frame HeadersFrame on stream 1
INFO:hyper.http20.connection:Received frame SettingsFrame on stream 0
INFO:hyper.http20.connection:Received frame HeadersFrame on stream 1
INFO:hyper.http20.connection:Received frame DataFrame on stream 1
INFO:hyper.http20.connection:Sending frame RstStreamFrame on stream 1
INFO:hyper.http20.connection:Sending frame HeadersFrame on stream 3
INFO:hyper.http20.connection:Received frame HeadersFrame on stream 3
INFO:hyper.http20.connection:Received frame DataFrame on stream 3
INFO:hyper.http20.connection:Sending frame RstStreamFrame on stream 3
INFO:hyper.http20.connection:Sending frame HeadersFrame on stream 5
INFO:hyper.http20.connection:Received frame HeadersFrame on stream 5
INFO:hyper.http20.connection:Received frame DataFrame on stream 5
INFO:hyper.http20.connection:Sending frame RstStreamFrame on stream 5
INFO:hyper.http20.connection:Sending frame HeadersFrame on stream 7
INFO:hyper.http20.connection:Received frame HeadersFrame on stream 7
INFO:hyper.http20.connection:Received frame DataFrame on stream 7
INFO:hyper.http20.connection:Sending frame RstStreamFrame on stream 7
INFO:hyper.http20.connection:Sending frame HeadersFrame on stream 9
INFO:hyper.http20.connection:Received frame HeadersFrame on stream 9
INFO:hyper.http20.connection:Received frame DataFrame on stream 9
INFO:hyper.http20.connection:Sending frame RstStreamFrame on stream 9
INFO:hyper.http20.connection:Sending frame SettingsFrame on stream 0
INFO:hyper.http20.connection:Received frame SettingsFrame on stream 0
INFO:hyper.http20.connection:Sending frame SettingsFrame on stream 0
INFO:hyper.http20.connection:Sending frame HeadersFrame on stream 1
INFO:hyper.http20.connection:Received frame SettingsFrame on stream 0
INFO:hyper.http20.connection:Received frame HeadersFrame on stream 1
INFO:hyper.http20.connection:Received frame DataFrame on stream 1
INFO:hyper.http20.connection:Sending frame RstStreamFrame on stream 1
INFO:hyper.http20.connection:Sending frame HeadersFrame on stream 3
INFO:hyper.http20.connection:Received frame HeadersFrame on stream 3
INFO:hyper.http20.connection:Received frame DataFrame on stream 3
INFO:hyper.http20.connection:Sending frame RstStreamFrame on stream 3
INFO:hyper.http20.connection:Sending frame HeadersFrame on stream 5
INFO:hyper.http20.connection:Received frame HeadersFrame on stream 5
INFO:hyper.http20.connection:Received frame DataFrame on stream 5
INFO:hyper.http20.connection:Sending frame RstStreamFrame on stream 5
INFO:hyper.http20.connection:Sending frame HeadersFrame on stream 7
INFO:hyper.http20.connection:Received frame HeadersFrame on stream 7
INFO:hyper.http20.connection:Received frame DataFrame on stream 7
INFO:hyper.http20.connection:Sending frame RstStreamFrame on stream 7
INFO:hyper.http20.connection:Sending frame HeadersFrame on stream 9
INFO:hyper.http20.connection:Received frame HeadersFrame on stream 9
INFO:hyper.http20.connection:Received frame DataFrame on stream 9
INFO:hyper.http20.connection:Sending frame RstStreamFrame on stream 9
PASSED

========================== 1 passed in 4.64 seconds ===========================

That can't be right.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions