You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Roland Weber (JIRA)" <ji...@apache.org> on 2006/12/27 17:00:24 UTC

[jira] Created: (HTTPCLIENT-618) remove target host from HostConfiguration

remove target host from HostConfiguration
-----------------------------------------

                 Key: HTTPCLIENT-618
                 URL: http://issues.apache.org/jira/browse/HTTPCLIENT-618
             Project: HttpComponents HttpClient
          Issue Type: Improvement
          Components: HttpConn
    Affects Versions: 4.0 Alpha 1
            Reporter: Roland Weber
            Priority: Minor


Remove the target host attribute from the HostConfiguration class. This will allow one HostConfiguration object to be used for different targets.
The problem is that currently MultiThreadedHttpConnectionManager uses HostConfiguration objects as cache keys, which needs to be changed.

This is a followup to HTTPCLIENT-615.

cheers,
  Roland


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: httpcomponents-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpcomponents-dev-help@jakarta.apache.org


[jira] Updated: (HTTPCLIENT-618) remove target host from HostConfiguration

Posted by "Oleg Kalnichevski (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HTTPCLIENT-618?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Oleg Kalnichevski updated HTTPCLIENT-618:
-----------------------------------------

    Fix Version/s:     (was: 4.0 Alpha 1)
                   4.0 Alpha 2

> remove target host from HostConfiguration
> -----------------------------------------
>
>                 Key: HTTPCLIENT-618
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-618
>             Project: HttpComponents HttpClient
>          Issue Type: Improvement
>          Components: HttpConn
>            Reporter: Roland Weber
>            Priority: Minor
>             Fix For: 4.0 Alpha 2
>
>
> Remove the target host attribute from the HostConfiguration class. This will allow one HostConfiguration object to be used for different targets.
> The problem is that currently MultiThreadedHttpConnectionManager uses HostConfiguration objects as cache keys, which needs to be changed.
> This is a followup to HTTPCLIENT-615.
> cheers,
>   Roland

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: httpcomponents-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpcomponents-dev-help@jakarta.apache.org


[jira] Updated: (HTTPCLIENT-618) remove target host from HostConfiguration

Posted by "Oleg Kalnichevski (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HTTPCLIENT-618?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Oleg Kalnichevski updated HTTPCLIENT-618:
-----------------------------------------

        Fix Version/s: 4.0 Alpha 1
    Affects Version/s:     (was: 4.0 Alpha 1)

> remove target host from HostConfiguration
> -----------------------------------------
>
>                 Key: HTTPCLIENT-618
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-618
>             Project: HttpComponents HttpClient
>          Issue Type: Improvement
>          Components: HttpConn
>            Reporter: Roland Weber
>            Priority: Minor
>             Fix For: 4.0 Alpha 1
>
>
> Remove the target host attribute from the HostConfiguration class. This will allow one HostConfiguration object to be used for different targets.
> The problem is that currently MultiThreadedHttpConnectionManager uses HostConfiguration objects as cache keys, which needs to be changed.
> This is a followup to HTTPCLIENT-615.
> cheers,
>   Roland

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: httpcomponents-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpcomponents-dev-help@jakarta.apache.org


[jira] Updated: (HTTPCLIENT-618) Eliminate class HostConfiguration

Posted by "Roland Weber (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HTTPCLIENT-618?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Roland Weber updated HTTPCLIENT-618:
------------------------------------

    Assignee: Roland Weber
     Summary: Eliminate class HostConfiguration  (was: remove target host from HostConfiguration)

The HostConfiguration class can be replaced by the HttpRoute class completely.
External routing information, such as selecting a proxy or local interface for a target, is better addressed by encapsulating the logic in an interface. If something like the HostConfiguration class w/o target host is needed, it can be re-introduced with the same or a better name.


> Eliminate class HostConfiguration
> ---------------------------------
>
>                 Key: HTTPCLIENT-618
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-618
>             Project: HttpComponents HttpClient
>          Issue Type: Improvement
>          Components: HttpConn
>            Reporter: Roland Weber
>            Assignee: Roland Weber
>            Priority: Minor
>             Fix For: 4.0 Alpha 2
>
>
> Remove the target host attribute from the HostConfiguration class. This will allow one HostConfiguration object to be used for different targets.
> The problem is that currently MultiThreadedHttpConnectionManager uses HostConfiguration objects as cache keys, which needs to be changed.
> This is a followup to HTTPCLIENT-615.
> cheers,
>   Roland

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: httpcomponents-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpcomponents-dev-help@jakarta.apache.org


[jira] Closed: (HTTPCLIENT-618) Eliminate class HostConfiguration

Posted by "Roland Weber (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HTTPCLIENT-618?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Roland Weber closed HTTPCLIENT-618.
-----------------------------------

    Resolution: Fixed

HostConfiguration is gone. The biggest problem turned out to be not ThreadSafeClientConnManager, but the parameters with their route/hostconfig-based map of maximum connections allowed. I'll create another issue for revising these parameters.

cheers,
  Roland


> Eliminate class HostConfiguration
> ---------------------------------
>
>                 Key: HTTPCLIENT-618
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-618
>             Project: HttpComponents HttpClient
>          Issue Type: Improvement
>          Components: HttpConn
>            Reporter: Roland Weber
>            Assignee: Roland Weber
>            Priority: Minor
>             Fix For: 4.0 Alpha 2
>
>
> Remove the target host attribute from the HostConfiguration class. This will allow one HostConfiguration object to be used for different targets.
> The problem is that currently MultiThreadedHttpConnectionManager uses HostConfiguration objects as cache keys, which needs to be changed.
> This is a followup to HTTPCLIENT-615.
> cheers,
>   Roland

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: httpcomponents-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpcomponents-dev-help@jakarta.apache.org