Commit 54a83a15 authored by rch@chromium.org's avatar rch@chromium.org

Don't count ERR_IO_PENDING as a QUIC write error code.

Review URL: https://chromiumcodereview.appspot.com/23530042

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@221514 0039d316-1c4b-4281-b951-d872f2087c98
parent ae6defdf
...@@ -126,7 +126,9 @@ int QuicConnectionHelper::WritePacketToWire( ...@@ -126,7 +126,9 @@ int QuicConnectionHelper::WritePacketToWire(
if (rv >= 0) { if (rv >= 0) {
*error = 0; *error = 0;
} else { } else {
if (rv != ERR_IO_PENDING) {
UMA_HISTOGRAM_SPARSE_SLOWLY("Net.QuicSession.WriteError", -rv); UMA_HISTOGRAM_SPARSE_SLOWLY("Net.QuicSession.WriteError", -rv);
}
*error = rv; *error = rv;
rv = -1; rv = -1;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment