You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "David Handermann (Jira)" <ji...@apache.org> on 2023/06/01 22:11:00 UTC
[jira] [Created] (NIFI-11629) Add Socket Write Timeout to InvokeHTTP
David Handermann created NIFI-11629:
---------------------------------------
Summary: Add Socket Write Timeout to InvokeHTTP
Key: NIFI-11629
URL: https://issues.apache.org/jira/browse/NIFI-11629
Project: Apache NiFi
Issue Type: Improvement
Components: Extensions
Reporter: David Handermann
Assignee: David Handermann
Fix For: 1.latest, 2.latest
The InvokeHTTP Processor relies on OkHttp to handle HTTP requests and responses. InvokeHTTP includes a {{Socket Connect Timeout}} property to control the timeout for initial connection attempts, and it includes a {{Socket Read Timeout}} property to control the timeout for reading response information from the remote HTTP server.
The OkHttp library also supports a [writeTimeout|https://square.github.io/okhttp/4.x/okhttp/okhttp3/-ok-http-client/-builder/write-timeout/] property to control the timeout for individual socket write operations. The default write timeout is 10 seconds, which is sufficient for many scenarios, but when sending large requests over a slow connection, 10 seconds may not be sufficient. Adding a new Socket Write Timeout property to InvokeHTTP enables support for these scenarios.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)