adamdebreceni commented on a change in pull request #1233:
URL: https://github.com/apache/nifi-minifi-cpp/pull/1233#discussion_r780974144
##########
File path: extensions/http-curl/client/HTTPClient.cpp
##########
@@ -62,6 +76,10 @@ HTTPClient::~HTTPClient() {
curl_easy_cleanup(http_session_);
http_session_ = nullptr;
}
+ if (form_ != nullptr) {
+ curl_mime_free(form_);
Review comment:
deleted copy constructor/assignment
##########
File path: extensions/http-curl/protocols/RESTSender.h
##########
@@ -52,7 +52,7 @@ class RESTSender : public RESTProtocol, public C2Protocol {
void initialize(core::controller::ControllerServiceProvider* controller,
const std::shared_ptr<Configure> &configure) override;
protected:
- virtual const C2Payload sendPayload(const std::string url, const Direction
direction, const C2Payload &payload, const std::string outputConfig);
+ const C2Payload sendPayload(const std::string url, const Direction
direction, const C2Payload &payload, std::optional<std::string> data);
Review comment:
removed
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]