[
https://issues.apache.org/jira/browse/HTTPCLIENT-1123?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13096673#comment-13096673
]
Oleg Kalnichevski commented on HTTPCLIENT-1123:
-----------------------------------------------
Looks good to me. However, I think it would be slightly cleaner to provide an
additional constructor to DefaultClientConnectionOperator and
PoolingClientConnectionManager that takes DnsOverrider as an optional
(nullable) parameter. I also think DnsResolver might be a better name for that
interface that DnsOverrider. Otherwise, all is good. Please go ahead and add
ASL headers and test cases. Please make sure to use spaces instead of tabs for
indentation.
Oleg
> Implement a way to override or resolve DNS entries defined in the OS
> --------------------------------------------------------------------
>
> Key: HTTPCLIENT-1123
> URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1123
> Project: HttpComponents HttpClient
> Issue Type: New Feature
> Components: HttpClient
> Reporter: Alin Vasile
> Priority: Minor
> Attachments: dns_overrider_poc.patch, dns_overrider_poc.patch
>
>
> When working with HttpClient in restrictive environments, where the user
> doesn't have the permissisions to edit the local /etc/hosts file or the DNS
> configuration, can be eased with an DNS Overrider capability.
> This can be useful with JMeter which can follow redirects automatically and
> resolve some of the redirected hosts against its configuration. Another
> example is a custom forward proxy, written in Java and based on httpclient,
> which can be deployed is such a restricted environment that would ease the
> development of various web solutions for some developers.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]