Issue Details (XML | Word | Printable)

Key: HTTPCORE-14
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Unassigned
Reporter: Oleg Kalnichevski
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
HttpComponents HttpCore

Consider decoupling HttpHost and Scheme and moving Scheme, SocketFactory and SecureSocketFactory to HttpConn

Created: 27/Sep/06 06:30 PM   Updated: 11/Nov/07 07:22 PM
Return to search
Component/s: HttpCore
Affects Version/s: None
Fix Version/s: 4.0-alpha3

Time Tracking:
Not Specified

File Attachments:
  Size
Text File Licensed for inclusion in ASF works 20060929-httphost.patch 2006-09-29 12:03 PM Oleg Kalnichevski 21 kB

Resolution Date: 29/Sep/06 08:24 PM


 Description  « Hide
SocketFactory interface in HttpCore implies a blocking process of opening a new socket. Moreover, there is no way to interrupt the process of opening a connection due to limitations of Java 1.3 API.

I suggest the SocketFactory and SecureSocketFactory interfaces and the Scheme class dependent on those interfaces be moved to HttpConn and the HttpHost class be decoupled from Scheme.

(This is going to be the last controversial bit I wanted to propose and once this issue is resolved I can safely declare I am done with HttpCore)

Oleg

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
No work has yet been logged on this issue.