Skip to content

Raise h11 and h2 exceptions in debug mode #168

Description

@pquentin

While porting the urllib3 test suite to use Hypercorn, my initial progress was very slow because I could not figure why Hypercorn was sometimes closing the connection. Turns out that this is the default behavior when h11 or h2 raise an exception, but that makes debugging much more difficult. I'm now using the following patch: urllib3@d1719f8 which helps a lot.

Would you be open to make this the default behavior when using debug mode?

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