On 14 June 2016 at 09:46, Oleg Kalnichevski <ol...@apache.org> wrote:
> On Mon, 2016-06-13 at 14:22 -0700, Gary Gregory wrote:
>> On Mon, Jun 13, 2016 at 10:16 AM, Oleg Kalnichevski <ol...@apache.org>
>> wrote:
>
> ...
>
>> > Gary
>> > Could you please add this line prior to the assert (See patch attached)
>> > and send me the stack trace?
>>
>> ---
>> > cause.printStackTrace();
>> >
>>
>> Here you go:
>>
>> java.lang.IllegalStateException
>> at
>> org.apache.http.nio.client.integration.TestHttpAsyncPrematureTermination$7.responseReceived(TestHttpAsyncPrematureTermination.java:273)
>> at
>> org.apache.http.impl.nio.client.MainClientExec.responseReceived(MainClientExec.java:315)
>> at
>
> Thanks, Gary
>
> As bizarre as it may sound it looks like 'stuff.invalid' hostname does
> resolve to a valid address on your system.

That used to be the case with OpenDNS.

Unfortunately there still are some other DNS providers which
incorrectly return IP addresses for the .invalid TLD.
Such behaviour is not RFC-compliant.

> I tweaked the test case to use '0.0.0.0' instead of '.invalid' hostname
> to simulate refused connection exception.

> Could you please try building and running the tests of the latest
> snapshot?
>
> Oleg
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@hc.apache.org
> For additional commands, e-mail: dev-h...@hc.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@hc.apache.org
For additional commands, e-mail: dev-h...@hc.apache.org

Reply via email to