Github user olegz commented on the pull request:
https://github.com/apache/nifi/pull/176#issuecomment-172556905
There is also a compile warning in the catch clause preceding the place
where you made you changes
```
} catch (final IOException e) {
flowFile = session.penalize(flowFile);
session.transfer(flowFile, REL_FAILURE);
logger.error("Unable to communicate with
destination {} to determine whether or not it can accept "
+ "flowfiles/gzip; routing {} to failure
due to {}", new Object[]{url, flowFile, e});
context.yield();
return;
}
```
The warning states _*Resource leak: 'throttler' is not closed at this
location*_. Perhaps while you're at it you can fix that as well.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---