Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1913)

Unified Diff: net/quic/quic_crypto_stream.cc

Issue 1548783002: Adding details to most quic connection close calls. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@110540464
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/quic/quic_crypto_server_stream_test.cc ('k') | net/quic/quic_crypto_stream_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_crypto_stream.cc
diff --git a/net/quic/quic_crypto_stream.cc b/net/quic/quic_crypto_stream.cc
index 84bdf8cf3739bd6529d14907ad0c395e1c392242..7f7b97314edcb4655b5660ac6248b36a5ff4c750 100644
--- a/net/quic/quic_crypto_stream.cc
+++ b/net/quic/quic_crypto_stream.cc
@@ -52,7 +52,8 @@ void QuicCryptoStream::OnDataAvailable() {
}
StringPiece data(static_cast<char*>(iov.iov_base), iov.iov_len);
if (!crypto_framer_.ProcessInput(data)) {
- CloseConnection(crypto_framer_.error());
+ CloseConnectionWithDetails(crypto_framer_.error(),
+ crypto_framer_.error_detail());
return;
}
sequencer()->MarkConsumed(iov.iov_len);
« no previous file with comments | « net/quic/quic_crypto_server_stream_test.cc ('k') | net/quic/quic_crypto_stream_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698