nifi-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [nifi-minifi-cpp] arpadboda commented on a change in pull request #615: MINIFICPP-963 - Zero byte (no content) flow files cannot be received …
Date Mon, 02 Sep 2019 14:13:05 GMT
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

Mime
View raw message