Skip to content

Commit

Permalink
Fix QUIC build
Browse files Browse the repository at this point in the history
PR apache#5077 broke QUIC build
  • Loading branch information
maskit committed Aug 16, 2019
1 parent 03ff337 commit 1483a25
Showing 1 changed file with 22 additions and 16 deletions.
38 changes: 22 additions & 16 deletions src/traffic_quic/traffic_quic.cc
Expand Up @@ -182,27 +182,13 @@ 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
{
ink_assert(false);
return nullptr;
}

APIHook *
APIHooks::get() const
{
ink_assert(false);
return nullptr;
}

void
APIHooks::clear()
{
Expand All @@ -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
Expand Down

0 comments on commit 1483a25

Please sign in to comment.