Skip to content
This repository has been archived by the owner. It is now read-only.

Commit

Permalink
Override timeouts on HTTP fetches.
Browse files Browse the repository at this point in the history
Resolves #1 from GitHub.
  • Loading branch information
iay committed Dec 9, 2014
1 parent 4455455 commit 511f732
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions mdx/common-beans.xml
Original file line number Diff line number Diff line change
Expand Up @@ -836,10 +836,22 @@
httpClientBuilder
Factory for the httpClient bean below.
Sets the option to ignore validation of a server's TLS credentials.
Sets socket and connection timeouts explicitly (to 100s) to
override the tight defaults in java-support, see:
https://github.com/ukf/ukf-meta/issues/1
https://issues.shibboleth.net/jira/browse/JSPT-48
These options can be removed once the underlying issue has been resolved.
-->
<bean id="httpClientBuilder"
class="net.shibboleth.utilities.java.support.httpclient.HttpClientBuilder"
p:connectionDisregardSslCertificate="true"
p:socketTimeout="100000"
p:connectionTimeout="100000"
/>

<!--
Expand Down

0 comments on commit 511f732

Please sign in to comment.