Thanks Oleg!
But I am confused; how can a single HttpClient instance work for many hosts
(e.g., http://abc.com, and https://xyz.com:3331) when it seems to have a
single instance of HostConfiguration?
olegk wrote:
On Fri, 2009-01-23 at 11:45 -0800, joeweder wrote:
I have a application that
PercyChris @ Hotmail wrote:
Dear,
I am using the HTTP Client 3.1 with JAVA JDK 1.6
I am connecting to an Apache (redundant) server using HTTPS.
All works fine until I kill the Apache server.
The program is made to switch to the second server when it detects a problem
with the first.
joeweder wrote:
Thanks Oleg!
But I am confused; how can a single HttpClient instance work for many hosts
(e.g., http://abc.com, and https://xyz.com:3331) when it seems to have a
single instance of HostConfiguration?
HttpClient 3.x API is awful. This is the reason I have been urging
people
It does not. The hostconfiguration object is switched, multiple are
configured and are round robbed when an IOexception is detected.
-Original Message-
From: joeweder [mailto:joewe...@gmail.com]
Sent: maandag 26 januari 2009 15:22
To: httpclient-users@hc.apache.org
Subject: Re: Proper
PercyChris @ Hotmail wrote:
It does not. The hostconfiguration object is switched, multiple are
configured and are round robbed when an IOexception is detected.
Sorry. I do not understand.
Oleg
-Original Message-
From: joeweder [mailto:joewe...@gmail.com]
Sent: maandag 26
-Original Message-
From: Oleg Kalnichevski [mailto:ol...@apache.org]
Sent: maandag 26 januari 2009 20:05
To: HttpClient User Discussion
Subject: Re: java.net.SocketTimeoutException: Read timed out after an
IOException of type java.net.ConnectException Connection refused
PercyChris @
Hi,
every once in a while my httpclient gets a no wrapped connectino
error:
E/869 ( 1028): No wrapped connection.
W/System.err( 1028): java.lang.IllegalStateException: No wrapped
connection.
W/System.err( 1028):at
PercyChris @ Hotmail wrote:
Well That Java object (hostconfiguration) from which the new http client is
build is of course also recreated with the parameters (host address etc.) of
the new host. So the new HTTP client created has points to a different host
You are not listening.
HTTP client
On Mon, 2009-01-26 at 22:16 +0100, Oleg Kalnichevski wrote:
This is likely to be a bug in the version of HttpClient shipped with
Android. There has been quite a few changes since ALPHA5 (the release, I
believe, Android's version is based on), so the problem may well have
been fixed