[
https://issues.apache.org/jira/browse/NIFI-3517?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15901167#comment-15901167
]
ASF subversion and git services commented on NIFI-3517:
-------------------------------------------------------
Commit 90ff275bb9d792c97dc1c1ece3262a36b79bf623 in nifi's branch
refs/heads/master from [~jskora]
[ https://git-wip-us.apache.org/repos/asf?p=nifi.git;h=90ff275 ]
NIFI-3517 If HandleHttpResponse cannot write response remove entry from
HttpContextMap.
* Add test for failure not clear context map.
* Add handler to remove context map entry if ProcessException occurs during
while exporting response.
Signed-off-by: Pierre Villard <[email protected]>
This closes #1567.
> 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
>
> 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)