• bnc's avatar
    Fix flow control enforcement condition. · 2fc6a455
    bnc authored
    The receiving window as known and obeyed by the peer is
    |unacked_recv_window_bytes_| less than |recv_window_size_|, this should be
    reflected in the check in DecreaseRecvWindowSize().  Otherwise
    |DCHECK_GE(recv_window_size_, unacked_recv_window_bytes_)| might fail in
    IncreaseRecvWindowSize().
    
    This CL fixes that in both SpdySession and SpdyStream.
    
    BUG=478836
    
    Review URL: https://codereview.chromium.org/1051213006
    
    Cr-Commit-Position: refs/heads/master@{#327285}
    2fc6a455
spdy_stream.cc 30.1 KB