Fix flow control enforcement condition.
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}
Showing
Please register or sign in to comment