Uploaded image for project: 'HttpComponents HttpClient'
  1. HttpComponents HttpClient
  2. HTTPCLIENT-2109

Incorrect documentation for RequestConfig.Builder.setConnectionKeepAlive

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 5.0.1
    • 5.0.2
    • HttpClient (classic)
    • None
    • Windows 10 Professional

    Description

      I believe the documentation (or implementation) for:

      RequestConfig.Builder#setConnectionKeepAlive

      Is incorrect. The documentation states that the default value for this option is one minute. However, it seems to default to

      DEFAULT_CONN_KEEP_ALIVE

      which is set to three minutes.

      Attachments

        Activity

          People

            Unassigned Unassigned
            StanB123 StanB123
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 1h
                1h