From c1b636acee2502bcd22350b803d59abbd9531da2 Mon Sep 17 00:00:00 2001 From: amass <168062547@qq.com> Date: Sat, 30 Dec 2023 00:08:02 +0800 Subject: [PATCH] update http proxy lib. --- HttpProxy/TemplateSegmentRule.cpp | 2 +- HttpProxy/TemplateSegmentRule.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/HttpProxy/TemplateSegmentRule.cpp b/HttpProxy/TemplateSegmentRule.cpp index aface74..ff94027 100644 --- a/HttpProxy/TemplateSegmentRule.cpp +++ b/HttpProxy/TemplateSegmentRule.cpp @@ -7,7 +7,7 @@ #include #include -boost::urls::result TemplateSegmentRule::parse(const char *&iterator, +boost::system::result TemplateSegmentRule::parse(const char *&iterator, const char *end) const noexcept { TemplateSegmentRule::value_type ret; bool isTemplate = false; diff --git a/HttpProxy/TemplateSegmentRule.h b/HttpProxy/TemplateSegmentRule.h index c51c51b..10c347a 100644 --- a/HttpProxy/TemplateSegmentRule.h +++ b/HttpProxy/TemplateSegmentRule.h @@ -48,7 +48,7 @@ private: class TemplateSegmentRule { public: using value_type = TemplateSegment; - boost::urls::result parse(char const *&iterator, char const *end) const noexcept; + boost::system::result parse(char const *&iterator, char const *end) const noexcept; }; constexpr auto templateSegmentRule = TemplateSegmentRule{};