[
https://issues.apache.org/jira/browse/NIFI-3517?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15991499#comment-15991499
]
Michael Moser commented on NIFI-3517:
-------------------------------------
This PR also applies cleanly to the 0.x branch, and I verified it there with
Java 7 build and contrib check. I'm going to +1 it there and merge to 0.x.
> If HandleHttpResponse cannot write response, remove entry from HttpContextMap
> -----------------------------------------------------------------------------
>
> Key: NIFI-3517
> URL: https://issues.apache.org/jira/browse/NIFI-3517
> Project: Apache NiFi
> Issue Type: Bug
> Components: Extensions
> Affects Versions: 0.7.1, 1.1.1
> Reporter: Mark Payne
> Assignee: Joe Skora
> Fix For: 1.2.0
>
>
> Currently, if HandleHttpResponse cannot write to the OutputStream, it catches
> the general Exception and routes to 'failure' without removing the entry from
> the map. If clients often timeout, though, we will fail to write to the
> OutputStreams and then leave the entry in the map, preventing new connections.
> If a ProcessException is caught when calling ProcessSession.exportTo, we
> should remove the entry from the map before routing to failure.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)