You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by GitBox <gi...@apache.org> on 2019/09/02 14:13:05 UTC

[GitHub] [nifi-minifi-cpp] arpadboda commented on a change in pull request #615: MINIFICPP-963 - Zero byte (no content) flow files cannot be received …

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:
users@infra.apache.org


With regards,
Apache Git Services