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

Unified Diff: net/quic/crypto/crypto_framer.h

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 | « no previous file | net/quic/crypto/crypto_framer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/crypto/crypto_framer.h
diff --git a/net/quic/crypto/crypto_framer.h b/net/quic/crypto/crypto_framer.h
index 64137a20d26dc9bcfc97748be08dba40ad0763b1..ce2f13a55607dcdafec873cad1dec690f455aac7 100644
--- a/net/quic/crypto/crypto_framer.h
+++ b/net/quic/crypto/crypto_framer.h
@@ -55,6 +55,7 @@ class NET_EXPORT_PRIVATE CryptoFramer {
}
QuicErrorCode error() const { return error_; }
+ const std::string& error_detail() const { return error_detail_; }
// Processes input data, which must be delivered in order. Returns
// false if there was an error, and true otherwise.
@@ -99,6 +100,8 @@ class NET_EXPORT_PRIVATE CryptoFramer {
CryptoFramerState state_;
// The message currently being parsed.
CryptoHandshakeMessage message_;
+ // The issue which caused |error_|
+ std::string error_detail_;
// Number of entires in the message currently being parsed.
uint16 num_entries_;
// tags_and_lengths_ contains the tags that are currently being parsed and
« no previous file with comments | « no previous file | net/quic/crypto/crypto_framer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698