mirror of https://github.com/apache/nifi.git
NIFI-10206: Restored flushBuffer() call in HandleHttpResponse to avoid HTTP 404
This closes #6186 Signed-off-by: David Handermann <exceptionfactory@apache.org>
This commit is contained in:
parent
46bb7d153d
commit
1685204cc1
|
@ -188,6 +188,7 @@ public class HandleHttpResponse extends AbstractProcessor {
|
|||
|
||||
try {
|
||||
session.exportTo(flowFile, response.getOutputStream());
|
||||
response.flushBuffer();
|
||||
} catch (final ProcessException e) {
|
||||
getLogger().error("Failed to respond to HTTP request for {} due to {}", new Object[]{flowFile, e});
|
||||
try {
|
||||
|
|
Loading…
Reference in New Issue