]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - src/tests/stub_HttpHeader.cc
Log PROXY protocol v2 TLVs; fix PROXY protocol parsing bugs (#342)
[thirdparty/squid.git] / src / tests / stub_HttpHeader.cc
index f85c466da37b6c079eff804f193caca366e7178f..e898fa8e04334839a4ccca49be4cabfe7fa7027a 100644 (file)
@@ -50,8 +50,8 @@ String HttpHeader::getById(Http::HdrType) const STUB_RETVAL(String())
 bool HttpHeader::getByIdIfPresent(Http::HdrType, String *) const STUB_RETVAL(false)
 bool HttpHeader::hasNamed(const SBuf &, String *) const STUB_RETVAL(false)
 bool HttpHeader::hasNamed(const char *, unsigned int, String *) const STUB_RETVAL(false)
-String HttpHeader::getByNameListMember(const char *, const char *, const char) const STUB_RETVAL(String())
-String HttpHeader::getListMember(Http::HdrType, const char *, const char) const STUB_RETVAL(String())
+SBuf HttpHeader::getByNameListMember(const char *, const char *, const char) const STUB_RETVAL(SBuf())
+SBuf HttpHeader::getListMember(Http::HdrType, const char *, const char) const STUB_RETVAL(SBuf())
 int HttpHeader::has(Http::HdrType) const STUB_RETVAL(0)
 void HttpHeader::addVia(const AnyP::ProtocolVersion &, const HttpHeader *) STUB
 void HttpHeader::putInt(Http::HdrType, int) STUB