Uploaded image for project: 'HttpComponents HttpCore'
  1. HttpComponents HttpCore
  2. HTTPCORE-304

NHttpClient example improperly configures connection properties

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.2.2
    • Examples
    • None

    Description

      The NHttpClient.java example referenced from:

      http://hc.apache.org/httpcomponents-core-ga/examples.html

      uses an HttpParam object to set things like the TCP_NODELAY and other settings. However, with the NIO based core, those settings are not referenced. Those setting have to be set directly on the ConnectingIOReactor. (this COULD also be considered a bug in the ConnectingIOReactor, maybe it should accept an HttpParam object?)

      In anycase, the example should be updated to reflect configuration that will actually work.

      Attachments

        Activity

          People

            Unassigned Unassigned
            dkulp Daniel Kulp
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: