This is an automated email from the ASF dual-hosted git repository.

maskit pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git


The following commit(s) were added to refs/heads/master by this push:
     new e05cae1  Fix QUIC build
e05cae1 is described below

commit e05cae1ad680f0f2b04e9d12e1d94afa612a03c3
Author: Masakazu Kitajo <mas...@apache.org>
AuthorDate: Fri Aug 16 09:55:38 2019 +0900

    Fix QUIC build
    
    PR #5077 broke QUIC build
---
 src/traffic_quic/traffic_quic.cc | 38 ++++++++++++++++++++++----------------
 1 file changed, 22 insertions(+), 16 deletions(-)

diff --git a/src/traffic_quic/traffic_quic.cc b/src/traffic_quic/traffic_quic.cc
index a03c29a..1c290eb 100644
--- a/src/traffic_quic/traffic_quic.cc
+++ b/src/traffic_quic/traffic_quic.cc
@@ -182,13 +182,6 @@ Log::trace_out(sockaddr const *, unsigned short, char 
const *, ...)
 
 #include "InkAPIInternal.h"
 
-int
-APIHook::invoke(int, void *)
-{
-  ink_assert(false);
-  return 0;
-}
-
 APIHook *
 APIHook::next() const
 {
@@ -196,13 +189,6 @@ APIHook::next() const
   return nullptr;
 }
 
-APIHook *
-APIHooks::get() const
-{
-  ink_assert(false);
-  return nullptr;
-}
-
 void
 APIHooks::clear()
 {
@@ -215,10 +201,30 @@ APIHooks::append(INKContInternal *)
   ink_abort("do not call stub");
 }
 
+int
+APIHook::invoke(int, void *) const
+{
+  ink_assert(false);
+  return 0;
+}
+
+APIHook *
+APIHooks::head() const
+{
+  return nullptr;
+}
+
+HttpHookState::HttpHookState() {}
+
 void
-APIHooks::prepend(INKContInternal *)
+HttpHookState::init(TSHttpHookID id, HttpAPIHooks const *global, HttpAPIHooks 
const *ssn, HttpAPIHooks const *txn)
 {
-  ink_abort("do not call stub");
+}
+
+APIHook const *
+HttpHookState::getNext()
+{
+  return nullptr;
 }
 
 void

Reply via email to