Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-3517

If HandleHttpResponse cannot write response, remove entry from HttpContextMap

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.7.1, 1.1.1
    • 0.8.0, 1.2.0, 0.7.3
    • Extensions
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              jskora Joe Skora
              markap14 Mark Payne
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: