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

Unified Diff: webrtc/p2p/base/dtlstransportchannel.h

Issue 1912323002: Cache a ClientHello received before the DTLS handshake has started. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 8 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 | webrtc/p2p/base/dtlstransportchannel.cc » ('j') | webrtc/p2p/base/dtlstransportchannel.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/p2p/base/dtlstransportchannel.h
diff --git a/webrtc/p2p/base/dtlstransportchannel.h b/webrtc/p2p/base/dtlstransportchannel.h
index b6c3cfd2510fba04b20e62c340d0c0fe79d4c59c..e898800b7c5cd30e85cb496dc2bb92de62128855 100644
--- a/webrtc/p2p/base/dtlstransportchannel.h
+++ b/webrtc/p2p/base/dtlstransportchannel.h
@@ -236,6 +236,11 @@ class DtlsTransportChannelWrapper : public TransportChannelImpl {
rtc::Buffer remote_fingerprint_value_;
std::string remote_fingerprint_algorithm_;
+ // Cached DTLS packet that was received before we started the DTLS handshake.
+ // This could happen if a DTLS hello was received before the transport channel
+ // became writable, or before a remote fingerprint was received.
+ rtc::Buffer cached_dtls_packet_;
juberti2 2016/04/25 20:40:19 Might want to call this cached_client_hello_, if w
Taylor Brandstetter 2016/04/26 22:55:58 Done.
+
RTC_DISALLOW_COPY_AND_ASSIGN(DtlsTransportChannelWrapper);
};
« no previous file with comments | « no previous file | webrtc/p2p/base/dtlstransportchannel.cc » ('j') | webrtc/p2p/base/dtlstransportchannel.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698