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

Unified Diff: net/quic/core/quic_crypto_server_stream.h

Issue 2797523002: Prevent multiple simultaneous calls to GetProof (Closed)
Patch Set: Change to use MockClock Created 3 years, 9 months 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/core/quic_crypto_server_stream.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/core/quic_crypto_server_stream.h
diff --git a/net/quic/core/quic_crypto_server_stream.h b/net/quic/core/quic_crypto_server_stream.h
index 893fbe976f9829c88198f1c5c1367934c450d876..4701be7a25a80bcd200bde897c892259e373059f 100644
--- a/net/quic/core/quic_crypto_server_stream.h
+++ b/net/quic/core/quic_crypto_server_stream.h
@@ -221,12 +221,6 @@ class QUIC_EXPORT_PRIVATE QuicCryptoServerStream
// server config update messages.
std::string chlo_hash_;
- // Pointer to the active callback that will receive the result of
- // the client hello validation request and forward it to
- // FinishProcessingHandshakeMessage for processing. nullptr if no
- // handshake message is being validated.
- ValidateCallback* validate_client_hello_cb_;
-
// Pointer to the helper for this crypto stream. Must outlive this stream.
Helper* helper_;
@@ -269,9 +263,16 @@ class QUIC_EXPORT_PRIVATE QuicCryptoServerStream
// Size of the packet containing the most recently received CHLO.
QuicByteCount chlo_packet_size_;
+ // Pointer to the active callback that will receive the result of the client
+ // hello validation request and forward it to FinishProcessingHandshakeMessage
+ // for processing. nullptr if no handshake message is being validated. Note
+ // that this field is mutually exclusive with process_client_hello_cb_.
+ ValidateCallback* validate_client_hello_cb_;
+
// Pointer to the active callback which will receive the results of
// ProcessClientHello and forward it to
- // FinishProcessingHandshakeMessageAfterProcessClientHello.
+ // FinishProcessingHandshakeMessageAfterProcessClientHello. Note that this
+ // field is mutually exclusive with validate_client_hello_cb_.
ProcessClientHelloCallback* process_client_hello_cb_;
DISALLOW_COPY_AND_ASSIGN(QuicCryptoServerStream);
« no previous file with comments | « no previous file | net/quic/core/quic_crypto_server_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698