[
https://issues.apache.org/jira/browse/NIFI-3517?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15991508#comment-15991508
]
ASF subversion and git services commented on NIFI-3517:
-------------------------------------------------------
Commit ceec0ecfd75d1c5387f98278b11278e497ca8428 in nifi's branch refs/heads/0.x
from [~jskora]
[ https://git-wip-us.apache.org/repos/asf?p=nifi.git;h=ceec0ec ]
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: Mike Moser <[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
> 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)