arpadboda commented on a change in pull request #615: MINIFICPP-963 - Zero byte
(no content) flow files cannot be received …
URL: https://github.com/apache/nifi-minifi-cpp/pull/615#discussion_r319975139
##########
File path: libminifi/src/sitetosite/SiteToSiteClient.cpp
##########
@@ -499,6 +505,9 @@ int16_t SiteToSiteClient::send(std::string transactionID,
DataPacket *packet, co
return -1;
}
packet->_size += len;
+ } else if (flowFile && !flowfile_has_content) {
+ uint64_t len = 0;
Review comment:
Ouch! Fair point, especially considering the fact that I need the same
default value here :)
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services