Hello gurus!

I'm having problems with a very long Connection-timeout (about 3
minutes!) time when trying to send a http-query to a non existing
server. I've tried to set the setSoTimeout() method on the HttpClient
instance and setConnectionManagerTimeout() on the
MultiThreadedHttpConnectionManager used by the HttpClient. But, no
success...

How do I set the maximum amount of time to wait for a connection to a
non-existing host?

I'm using HttpClient v.3.0 on a Bea WLS 8.14 running on jrockit JVM.

Any suggestions on how I can abort the connection after a few
seconds/failed attempts to produce connection?

Thanks!

// Peter Wenngren

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to