Skip to content

weird errors related to WINDOW_SIZE updates #121

@MangoIV

Description

@MangoIV

when updating from http2 4.1.4 -> 5.2.2 I started encountering occasional failures with this error message:

StreamErrorIsSent FlowControlError 1 "window update for stream 1 is overflow"

There's some weird things in the log where it tries to increase the upper bound of the window by 2^31-1.

I have tried trouble shooting it but I haven't had any luck reproducing it with a small example but it looks like maybe it's related to an endianness bug.

I'm at a bit of a loss here. I was looking at whether it might have been nginx modifying http2 frames but I'd be very surprised if that would be the case.

Do you have any ideas of where I could start trouble shooting?
What code actually picks which size to upgrade the window by?
What would happen if the window upper bound would actually reach maxBound @Int, is there any logic to reset the window size?

Thank you so much in advance for any pointers!

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