Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion plugins/header_rewrite/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ target_link_libraries(header_rewrite_parser PUBLIC libswoc::libswoc)

target_link_libraries(
header_rewrite
PRIVATE PCRE::PCRE
PRIVATE OpenSSL::Crypto PCRE::PCRE
PUBLIC libswoc::libswoc
)

Expand Down
3 changes: 1 addition & 2 deletions plugins/header_rewrite/header_rewrite.cc
Original file line number Diff line number Diff line change
Expand Up @@ -507,10 +507,9 @@ TSRemapNewInstance(int argc, char *argv[], void **ih, char * /* errbuf ATS_UNUSE
}

Dbg(pi_dbg_ctl, "Remap geo db %s", geoDBpath.c_str());
std::call_once(initHRWLibs, [&geoDBpath]() { initHRWLibraries(geoDBpath); });
}

std::call_once(initHRWLibs, [&geoDBpath]() { initHRWLibraries(geoDBpath); });

RulesConfig *conf = new RulesConfig;

for (int i = optind; i < argc; ++i) {
Expand Down