Jetty
  1. Jetty
  2. JETTY-431

HttpClient should support a socket timeout

    Details

    • Type: Improvement Improvement
    • Status: Resolved Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.1.6
    • Component/s: None
    • Labels:
      None
    • Patch Submitted:
      Yes
    • Number of attachments :
      1

      Description

      There is not currently a socket timeout being set in the HttpClient.startConnection() method but it can easily be added to the SocketChannel instance that is used there. I'm attaching a patch to add this functionality that was created against version .

        Activity

        Hide
        Greg Wilkins added a comment -

        Hey Bruce!

        Applied.

        What are you using the client for? as this is early days for the client, I'm very interested in feedback.

        Show
        Greg Wilkins added a comment - Hey Bruce! Applied. What are you using the client for? as this is early days for the client, I'm very interested in feedback.
        Hide
        Bruce Snyder added a comment -

        We use it in ServiceMix in the servicemix-http component .

        Show
        Bruce Snyder added a comment - We use it in ServiceMix in the servicemix-http component .

          People

          • Assignee:
            Greg Wilkins
            Reporter:
            Bruce Snyder
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: