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: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=947f6ae835eb7233e57847a745fac1e911991467;p=pdns 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 2e2b609cb..d9e7a1972 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 915155f8a..145123b9f 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); }; //