Skip to content

Commit

Permalink
QUIC - IsDataReady returns false if there is an outstanding write is
Browse files Browse the repository at this point in the history
pending.

BUG=362800
R=wtc@chromium.org, rch@chromium.org

Review URL: https://codereview.chromium.org/196343017

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@257298 0039d316-1c4b-4281-b951-d872f2087c98
  • Loading branch information
rtenneti@chromium.org committed Mar 15, 2014
1 parent 3a746ec commit 9fc4b43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/http/disk_cache_based_quic_server_info.cc
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ int DiskCacheBasedQuicServerInfo::WaitForDataReady(
}

bool DiskCacheBasedQuicServerInfo::IsDataReady() {
return ready_;
return ready_ && state_ == NONE;
}

void DiskCacheBasedQuicServerInfo::Persist() {
Expand Down

0 comments on commit 9fc4b43

Please sign in to comment.