| Index: net/quic/quic_config.cc
|
| diff --git a/net/quic/quic_config.cc b/net/quic/quic_config.cc
|
| index b7f832d0815db482e69ef3f08f5298bbc8022760..038a91f4ac3115d8ade1fe45fb1321925e95c56e 100644
|
| --- a/net/quic/quic_config.cc
|
| +++ b/net/quic/quic_config.cc
|
| @@ -412,6 +412,7 @@ QuicErrorCode QuicFixedTagVector::ProcessPeerHello(
|
| *error_details = "Missing " + QuicUtils::TagToString(tag_);
|
| break;
|
| case QUIC_NO_ERROR:
|
| + DVLOG(1) << "Received Connection Option tags from receiver.";
|
| has_receive_values_ = true;
|
| for (size_t i = 0; i < received_tags_length; ++i) {
|
| receive_values_.push_back(received_tags[i]);
|
| @@ -470,6 +471,14 @@ QuicTagVector QuicConfig::ReceivedConnectionOptions() const {
|
| return connection_options_.GetReceivedValues();
|
| }
|
|
|
| +bool QuicConfig::HasSendConnectionOptions() const {
|
| + return connection_options_.HasSendValues();
|
| +}
|
| +
|
| +QuicTagVector QuicConfig::SendConnectionOptions() const {
|
| + return connection_options_.GetSendValues();
|
| +}
|
| +
|
| void QuicConfig::SetLossDetectionToSend(QuicTag loss_detection) {
|
| loss_detection_.SetSendValue(loss_detection);
|
| }
|
|
|