jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Jetty
  • JETTY-431

HttpClient should support a socket timeout

  • Log In
  • Views
    • XML
    • Word
    • Printable

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

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 .

  • Options
    • Sort By Name
    • Sort By Date
    • Ascending
    • Descending
    • Download All

Attachments

  1. File
    HttpClient.java.diff
    18/Sep/07 11:20 AM
    1 kB
    Bruce Snyder

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Greg Wilkins added a comment - 22/Sep/07 7:30 PM

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 - 22/Sep/07 7:30 PM 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
Permalink
Bruce Snyder added a comment - 23/Sep/07 10:52 PM

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

Show
Bruce Snyder added a comment - 23/Sep/07 10:52 PM We use it in ServiceMix in the servicemix-http component .

People

  • Assignee:
    Greg Wilkins
    Reporter:
    Bruce Snyder
Vote (0)
Watch (0)

Dates

  • Created:
    18/Sep/07 11:20 AM
    Updated:
    05/Apr/08 10:34 PM
    Resolved:
    05/Apr/08 10:34 PM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.