[java-identity-provider] branch main updated: Add in new HttpClient requestTimeout param to client wiring.

Brent Putman putmanb at georgetown.edu
Fri Dec 6 04:46:01 UTC 2024


This is an automated email from the git hooks/post-receive script.

putmanb pushed a commit to branch main
in repository java-identity-provider.

View the commit online:
http://git.shibboleth.net/view/?p=java-identity-provider.git;a=commit;h=53677e3c67179d9046441ca6545a72e1a6a0110f

The following commit(s) were added to refs/heads/main by this push:
     new 53677e3c6 Add in new HttpClient requestTimeout param to client wiring.
53677e3c6 is described below

commit 53677e3c67179d9046441ca6545a72e1a6a0110f
Author: Brent Putman <putmanb at georgetown.edu>
AuthorDate: Thu Dec 5 23:45:06 2024 -0500

    Add in new HttpClient requestTimeout param to client wiring.
---
 .../src/main/resources/net/shibboleth/idp/conf/http-client.xml          | 2 ++
 .../main/resources/net/shibboleth/idp/module/conf/services.properties   | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/idp-conf-impl/src/main/resources/net/shibboleth/idp/conf/http-client.xml b/idp-conf-impl/src/main/resources/net/shibboleth/idp/conf/http-client.xml
index 6e282cedb..de3790439 100644
--- a/idp-conf-impl/src/main/resources/net/shibboleth/idp/conf/http-client.xml
+++ b/idp-conf-impl/src/main/resources/net/shibboleth/idp/conf/http-client.xml
@@ -58,6 +58,8 @@
         p:connectionRequestTimeout="%{idp.httpclient.connectionRequestTimeout:PT1M}"
         p:socketTimeout="%{idp.httpclient.socketTimeout:PT1M}" 
         p:responseTimeout="%{idp.httpclient.responseTimeout:PT1M}" 
+        p:requestTimeout="%{idp.httpclient.requestTimeout:null}" 
+        p:requestTimeoutCorePoolSize="%{idp.httpclient.requestTimeoutCorePoolSize:20}" 
         p:maxConnectionsTotal="%{idp.httpclient.maxConnectionsTotal:100}"
         p:maxConnectionsPerRoute="%{idp.httpclient.maxConnectionsPerRoute:100}" />
 
diff --git a/idp-conf-impl/src/main/resources/net/shibboleth/idp/module/conf/services.properties b/idp-conf-impl/src/main/resources/net/shibboleth/idp/module/conf/services.properties
index 5f4ac0823..744acab4f 100644
--- a/idp-conf-impl/src/main/resources/net/shibboleth/idp/module/conf/services.properties
+++ b/idp-conf-impl/src/main/resources/net/shibboleth/idp/module/conf/services.properties
@@ -69,5 +69,7 @@ idp.service.managedBean.checkInterval = PT15M
 #idp.httpclient.connectionTimeout = PT1M
 #idp.httpclient.socketTimeout = PT1M
 #idp.httpclient.responseTimeout = PT1M
+#idp.httpclient.requestTimeout = null
+#idp.httpclient.requestTimeoutCorePoolSize = 20
 #idp.httpclient.maxConnectionsTotal = 100
 #idp.httpclient.maxConnectionsPerRoute = 100

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list