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

Side by Side Diff: webrtc/p2p/base/dtlstransportchannel.cc

Issue 1548733002: Change DTLS default from 1.0 to 1.2 for webrtc. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc@master
Patch Set: disable tests which fail under msan build. See webrtc bug 5381 Created 4 years, 11 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 unified diff | Download patch
« no previous file with comments | « webrtc/p2p/base/dtlstransport.h ('k') | webrtc/p2p/base/dtlstransportchannel_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2011 The WebRTC Project Authors. All rights reserved. 2 * Copyright 2011 The WebRTC Project Authors. All rights reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 90
91 DtlsTransportChannelWrapper::DtlsTransportChannelWrapper( 91 DtlsTransportChannelWrapper::DtlsTransportChannelWrapper(
92 Transport* transport, 92 Transport* transport,
93 TransportChannelImpl* channel) 93 TransportChannelImpl* channel)
94 : TransportChannelImpl(channel->transport_name(), channel->component()), 94 : TransportChannelImpl(channel->transport_name(), channel->component()),
95 transport_(transport), 95 transport_(transport),
96 worker_thread_(rtc::Thread::Current()), 96 worker_thread_(rtc::Thread::Current()),
97 channel_(channel), 97 channel_(channel),
98 downward_(NULL), 98 downward_(NULL),
99 ssl_role_(rtc::SSL_CLIENT), 99 ssl_role_(rtc::SSL_CLIENT),
100 ssl_max_version_(rtc::SSL_PROTOCOL_DTLS_10) { 100 ssl_max_version_(rtc::SSL_PROTOCOL_DTLS_12) {
101 channel_->SignalWritableState.connect(this, 101 channel_->SignalWritableState.connect(this,
102 &DtlsTransportChannelWrapper::OnWritableState); 102 &DtlsTransportChannelWrapper::OnWritableState);
103 channel_->SignalReadPacket.connect(this, 103 channel_->SignalReadPacket.connect(this,
104 &DtlsTransportChannelWrapper::OnReadPacket); 104 &DtlsTransportChannelWrapper::OnReadPacket);
105 channel_->SignalSentPacket.connect( 105 channel_->SignalSentPacket.connect(
106 this, &DtlsTransportChannelWrapper::OnSentPacket); 106 this, &DtlsTransportChannelWrapper::OnSentPacket);
107 channel_->SignalReadyToSend.connect(this, 107 channel_->SignalReadyToSend.connect(this,
108 &DtlsTransportChannelWrapper::OnReadyToSend); 108 &DtlsTransportChannelWrapper::OnReadyToSend);
109 channel_->SignalGatheringState.connect( 109 channel_->SignalGatheringState.connect(
110 this, &DtlsTransportChannelWrapper::OnGatheringState); 110 this, &DtlsTransportChannelWrapper::OnGatheringState);
(...skipping 519 matching lines...) Expand 10 before | Expand all | Expand 10 after
630 630
631 void DtlsTransportChannelWrapper::Reconnect() { 631 void DtlsTransportChannelWrapper::Reconnect() {
632 set_dtls_state(DTLS_TRANSPORT_NEW); 632 set_dtls_state(DTLS_TRANSPORT_NEW);
633 set_writable(false); 633 set_writable(false);
634 if (channel_->writable()) { 634 if (channel_->writable()) {
635 OnWritableState(channel_); 635 OnWritableState(channel_);
636 } 636 }
637 } 637 }
638 638
639 } // namespace cricket 639 } // namespace cricket
OLDNEW
« no previous file with comments | « webrtc/p2p/base/dtlstransport.h ('k') | webrtc/p2p/base/dtlstransportchannel_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698