Github user pvillard31 commented on the issue:
https://github.com/apache/nifi/pull/2159
+1, build with contrib-check OK, merging to master, thanks @bbende !
Confirmed that connection is correctly closed in case of error and
confirmed the port is logged at debug level.---
