• Martin Blix Grydeland's avatar
    Implement handling of padding bytes in received data frames · bfdfa6a5
    Martin Blix Grydeland authored
    This was found lacking in our H2 implementation. Previously we would have
    included any padding bytes in the request body. Possibly it would have
    caused errors if there also was a C-L present, or more likely just corrupt
    request bodies.
    
    If the client sends nothing but padding bytes and ends up consuming the
    entire stream window with no actual request bytes buffered, the request
    thread side of things would not send any stream window updates. Handle
    this corner case by sending a window update from the session thread.
    bfdfa6a5
t02020.vtc 1.38 KB