Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-11142

Connection Timeout agent is overidding a higher timeout from HttpClientBuilder

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Connection Timeout Agent 1.0.2
    • Extensions
    • None

    Description

      Other than using RequestConfig to set socket timeout, it may be set at default socket config of httpclient builder

      https://github.com/zzphamvanthanhzz/httpclient-4.5.2-java/blob/master/httpclient/src/main/java/org/apache/http/impl/client/HttpClientBuilder.java#L353

      the connection tiemout agent ignores the timeout from default socket config of httpclientbuilder, and this is a problem with default socket timeout in httpclientbuilder is higer, this override should atleast be documented, if not fixed.

      Attachments

        Activity

          People

            rombert Robert Munteanu
            amalhotr Ankush Malhotra
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: