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 2019/02/01 00:29:58 UTC
[trafficserver] branch quic-latest updated: Fix compile warnings
This is an automated email from the ASF dual-hosted git repository.
maskit pushed a commit to branch quic-latest
in repository https://gitbox.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/quic-latest by this push:
new aa62240 Fix compile warnings
aa62240 is described below
commit aa6224028eff21f9bcb3f148060bef0d1a74009f
Author: Masakazu Kitajo <ma...@apache.org>
AuthorDate: Fri Feb 1 09:29:16 2019 +0900
Fix compile warnings
---
proxy/http3/Http3App.cc | 2 +-
proxy/http3/Http3ClientSession.cc | 4 ++--
proxy/http3/QPACK.cc | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/proxy/http3/Http3App.cc b/proxy/http3/Http3App.cc
index 257f3ad..3af0f84 100644
--- a/proxy/http3/Http3App.cc
+++ b/proxy/http3/Http3App.cc
@@ -136,7 +136,7 @@ Http3App::create_uni_stream(QUICStreamId &new_stream_id, Http3StreamType type)
this->_local_uni_stream_map.insert(std::make_pair(new_stream_id, type));
- Debug("http3", "[%llu] %s stream is created", new_stream_id, Http3DebugNames::stream_type(type));
+ Debug("http3", "[%" PRIu64 "] %s stream is created", new_stream_id, Http3DebugNames::stream_type(type));
} else {
Debug("http3", "Could not creat %s stream", Http3DebugNames::stream_type(type));
}
diff --git a/proxy/http3/Http3ClientSession.cc b/proxy/http3/Http3ClientSession.cc
index 317a24c..2d81533 100644
--- a/proxy/http3/Http3ClientSession.cc
+++ b/proxy/http3/Http3ClientSession.cc
@@ -25,8 +25,8 @@
Http3ClientSession::Http3ClientSession(NetVConnection *vc) : _client_vc(vc)
{
- this->_local_qpack = new QPACK(static_cast<QUICNetVConnection *>(vc));
- this->_remote_qpack = new QPACK(static_cast<QUICNetVConnection *>(vc));
+ this->_local_qpack = new QPACK(static_cast<QUICNetVConnection *>(vc), 0, 0);
+ this->_remote_qpack = new QPACK(static_cast<QUICNetVConnection *>(vc), 0, 0);
}
Http3ClientSession::~Http3ClientSession()
diff --git a/proxy/http3/QPACK.cc b/proxy/http3/QPACK.cc
index e1603c8..8193dcb 100644
--- a/proxy/http3/QPACK.cc
+++ b/proxy/http3/QPACK.cc
@@ -898,7 +898,7 @@ QPACK::_decode(EThread *ethread, Continuation *cont, uint64_t stream_id, const u
bool
QPACK::_add_to_blocked_list(DecodeRequest *decode_request)
{
- if (this->_blocked_list.count() >= SETTINGS_QPACK_BLOCKED_STREAMS) {
+ if (this->_blocked_list.count() >= this->_max_blocking_streams) {
return false;
}