hanicz opened a new pull request, #1308: URL: https://github.com/apache/knox/pull/1308
…ing writeOutboundResponse [KNOX-3381](https://issues.apache.org/jira/browse/KNOX-3381) - HADispatch retries on IOException during writeOutboundResponse ## What changes were proposed in this pull request? Failover dispatches wrapped both the backend call and the response-copy in one try, so an `IOException` while streaming an already-received response to the client (e.g. a parse/rewrite error) triggered a failover — replaying a request the backend had already served. Split the two phases so only backend-connection failures fail over; response-copy errors now propagate. Applied to `ConfigurableHADispatch` and the `Atlas/NiFi `HA dispatches, plus a new test. ## How was this patch tested? Unit tests, tested locally with custom REST endpoints ## Integration Tests N/A ## UI changes N/A -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
