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/09/11 06:09:53 UTC
[trafficserver] 01/02: Update mock class for QUIC
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
commit 7c089c1906827eae2b331267e48380098922456c
Author: Masakazu Kitajo <ma...@apache.org>
AuthorDate: Tue Sep 11 15:08:53 2018 +0900
Update mock class for QUIC
---
iocore/net/quic/Mock.h | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/iocore/net/quic/Mock.h b/iocore/net/quic/Mock.h
index dff1afa..9c7efeb 100644
--- a/iocore/net/quic/Mock.h
+++ b/iocore/net/quic/Mock.h
@@ -615,6 +615,28 @@ public:
{
return;
}
+
+ std::shared_ptr<const QUICTransportParameters>
+ local_transport_parameters() override
+ {
+ return nullptr;
+ }
+
+ std::shared_ptr<const QUICTransportParameters>
+ remote_transport_parameters() override
+ {
+ return nullptr;
+ }
+
+ void
+ set_local_transport_parameters(std::shared_ptr<const QUICTransportParameters> tp) override
+ {
+ }
+
+ void
+ set_remote_transport_parameters(std::shared_ptr<const QUICTransportParameters> tp) override
+ {
+ }
};
class MockContinuation : public Continuation