You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by ex...@apache.org on 2025/10/15 15:54:42 UTC

(nifi) branch main updated: NIFI-15094 Fixed StandardWebClientServiceProvider setting Write Timeout (#10420)

This is an automated email from the ASF dual-hosted git repository.

exceptionfactory pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/nifi.git


The following commit(s) were added to refs/heads/main by this push:
     new df2b5645f5 NIFI-15094 Fixed StandardWebClientServiceProvider setting Write Timeout (#10420)
df2b5645f5 is described below

commit df2b5645f58a585a6c7a9d473684f57d82cfd3ba
Author: boguszj <47...@users.noreply.github.com>
AuthorDate: Wed Oct 15 17:54:37 2025 +0200

    NIFI-15094 Fixed StandardWebClientServiceProvider setting Write Timeout (#10420)
    
    Signed-off-by: David Handermann <ex...@apache.org>
---
 .../web/client/provider/service/StandardWebClientServiceProvider.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/nifi-extension-bundles/nifi-standard-services/nifi-web-client-provider-bundle/nifi-web-client-provider-service/src/main/java/org/apache/nifi/web/client/provider/service/StandardWebClientServiceProvider.java b/nifi-extension-bundles/nifi-standard-services/nifi-web-client-provider-bundle/nifi-web-client-provider-service/src/main/java/org/apache/nifi/web/client/provider/service/StandardWebClientServiceProvider.java
index ae039ea218..85dd3cd506 100644
--- a/nifi-extension-bundles/nifi-standard-services/nifi-web-client-provider-bundle/nifi-web-client-provider-service/src/main/java/org/apache/nifi/web/client/provider/service/StandardWebClientServiceProvider.java
+++ b/nifi-extension-bundles/nifi-standard-services/nifi-web-client-provider-bundle/nifi-web-client-provider-service/src/main/java/org/apache/nifi/web/client/provider/service/StandardWebClientServiceProvider.java
@@ -136,7 +136,7 @@ public class StandardWebClientServiceProvider extends AbstractControllerService
         standardWebClientService.setReadTimeout(readTimeout);
 
         final Duration writeTimeout = getDuration(context, WRITE_TIMEOUT);
-        standardWebClientService.setReadTimeout(writeTimeout);
+        standardWebClientService.setWriteTimeout(writeTimeout);
 
         final String redirectHandlingStrategy = context.getProperty(REDIRECT_HANDLING_STRATEGY).getValue();
         final RedirectHandling redirectHandling = RedirectHandling.valueOf(redirectHandlingStrategy);