You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by ma...@apache.org on 2018/03/16 02:03:03 UTC
[trafficserver] 03/03: clang-format
This is an automated email from the ASF dual-hosted git repository.
masaori pushed a commit to branch quic-latest
in repository https://gitbox.apache.org/repos/asf/trafficserver.git
commit 147b19b16d760e692df7e5b267f6324f390478ef
Author: Masaori Koshiba <ma...@apache.org>
AuthorDate: Fri Mar 16 11:00:03 2018 +0900
clang-format
---
iocore/net/quic/QUICHandshake.cc | 4 ++--
iocore/net/quic/QUICHandshake.h | 2 +-
iocore/net/quic/QUICTLS.cc | 4 ++--
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/iocore/net/quic/QUICHandshake.cc b/iocore/net/quic/QUICHandshake.cc
index 4276715..42b79f1 100644
--- a/iocore/net/quic/QUICHandshake.cc
+++ b/iocore/net/quic/QUICHandshake.cc
@@ -162,7 +162,6 @@ QUICHandshake::is_stateless_retry_enabled() const
return this->_stateless_retry;
}
-
QUICHandshakeProtocol *
QUICHandshake::protocol()
{
@@ -403,7 +402,8 @@ QUICHandshake::state_closed(int event, void *data)
}
QUICHandshakeMsgType
-QUICHandshake::msg_type() const {
+QUICHandshake::msg_type() const
+{
if (this->_hs_protocol) {
return this->_hs_protocol->msg_type();
} else {
diff --git a/iocore/net/quic/QUICHandshake.h b/iocore/net/quic/QUICHandshake.h
index d53171f..6ddae16 100644
--- a/iocore/net/quic/QUICHandshake.h
+++ b/iocore/net/quic/QUICHandshake.h
@@ -97,7 +97,7 @@ private:
std::shared_ptr<QUICTransportParameters> _remote_transport_parameters = nullptr;
QUICVersionNegotiator *_version_negotiator = nullptr;
- NetVConnectionContext_t _netvc_context = NET_VCONNECTION_UNSET;
+ NetVConnectionContext_t _netvc_context = NET_VCONNECTION_UNSET;
QUICStatelessResetToken _reset_token;
bool _stateless_retry = false;
diff --git a/iocore/net/quic/QUICTLS.cc b/iocore/net/quic/QUICTLS.cc
index 50b2e73..46ac529 100644
--- a/iocore/net/quic/QUICTLS.cc
+++ b/iocore/net/quic/QUICTLS.cc
@@ -108,12 +108,12 @@ QUICTLS::handshake(uint8_t *out, size_t &out_len, size_t max_out_len, const uint
ret = SSL_stateless(this->_ssl);
if (ret > 0) {
this->_stateless = false;
- this->_msg_type = QUICHandshakeMsgType::SH;
+ this->_msg_type = QUICHandshakeMsgType::SH;
} else if (ret == 0) {
this->_msg_type = QUICHandshakeMsgType::HRR;
}
} else {
- ret = SSL_accept(this->_ssl);
+ ret = SSL_accept(this->_ssl);
this->_msg_type = QUICHandshakeMsgType::SH;
}
} else {
--
To stop receiving notification emails like this one, please contact
masaori@apache.org.