From: Remi Gacogne Date: Wed, 19 Jul 2017 13:32:31 +0000 (+0200) Subject: Update YaHTTP to 93e75d1412d7dafab54f68b7efb9a4e30fd8b9fe X-Git-Tag: dnsdist-1.2.0~54^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F5542%2Fhead;p=thirdparty%2Fpdns.git Update YaHTTP to 93e75d1412d7dafab54f68b7efb9a4e30fd8b9fe Fix a warning reported by Coverity. --- diff --git a/ext/yahttp/yahttp/reqresp.hpp b/ext/yahttp/yahttp/reqresp.hpp index 2e2b609cb5..d9e7a19728 100644 --- a/ext/yahttp/yahttp/reqresp.hpp +++ b/ext/yahttp/yahttp/reqresp.hpp @@ -132,6 +132,7 @@ protected: #ifdef HAVE_CPP_FUNC_PTR this->renderer = rhs.renderer; #endif + this->is_multipart = rhs.is_multipart; }; HTTPBase& operator=(const HTTPBase& rhs) { this->url = rhs.url; this->kind = rhs.kind; @@ -144,6 +145,7 @@ protected: #ifdef HAVE_CPP_FUNC_PTR this->renderer = rhs.renderer; #endif + this->is_multipart = rhs.is_multipart; return *this; }; public: diff --git a/ext/yahttp/yahttp/router.hpp b/ext/yahttp/yahttp/router.hpp index 915155f8a6..145123b9fa 100644 --- a/ext/yahttp/yahttp/router.hpp +++ b/ext/yahttp/yahttp/router.hpp @@ -65,6 +65,7 @@ If method is left empty, it will match any method. Name is also optional, but ne static std::pair URLFor(const std::string &name, const strstr_map_t& arguments) { return router.urlFor(name,arguments); }; //