Re: The abort operation is close the socket

2008-03-24 Thread Oleg Kalnichevski
On Thu, 2008-03-20 at 10:49 +0800, hjw wrote: Hi,all: I find HttpMethod#abort() will close socket, but I only want to interrupt the IO operation which is using the network. My case is that some important message must post at once when data I get from the same site is match some

Re: Handling proxies and modifying request header fields

2008-03-24 Thread Oleg Kalnichevski
On Thu, 2008-03-20 at 10:31 +0530, Biju P wrote: Hi, I am writing an Applet. The applet must be accessed by users from different domains and networks which are controlled by proxies and firewalls. My concerns are, i) The applet should be able to send requests to external websites thru

Re: Getting the response time for multithreaded client

2008-03-24 Thread Oleg Kalnichevski
On Thu, 2008-03-20 at 18:19 +0100, Uwe Kubosch wrote: Hi all! We are using the Commons HttpClient in a multithreaded application, and frequently there are more threads trying to use the client than the limit set by setMaxConnectionsPerHost. In this situation we still need to log the

Re: httpclient proxy problem

2008-03-24 Thread Oleg Kalnichevski
On Thu, 2008-03-20 at 20:38 +0200, Mehmet Kuzu wrote: Hİ , I have a problem about getting response behind proxy which requires authentication using apache httpclient . Proxy server is squid and it uses ntlm protocol. I am new to httpclient API and i may miss something. Thanks very

Re: Apache HttpClient - Using custom socket factory for failover support

2008-03-24 Thread Oleg Kalnichevski
On Thu, 2008-03-20 at 22:05 -0700, Ankur Shah wrote: I am using httpclient to connect to a remote server. Now for each primary server there's also a backup failover server that i must talk to if connection attempts with the primary server fails. To achieve this what i'd ideally like to do is

httpclient3 takes 3 minutes to catch IOException, why so long?

2008-03-24 Thread ever friend
Greeting... I use httpclient3 to communicate with a web server application. when I test an error handling, it takes 3 minutes to catch the IOException (I manually unplug the internet connection). I assumed it takes couple ms to catch IOException since only one line of