Re: [httpclient]-timeout-> i found a small but important bug.

2002-11-08 Thread Ortwin Glück
Noam, You misunderstood the meaning of the setTimeout() method. This sets the SO_TIMEOUT property of a socket, which is the maximum time that must pass between data packets sent through this socket. If no traffic occurs on the socket for this duration the socket automatically disconnects. This

[httpclient]-timeout-> i found a small but important bug.

2002-11-07 Thread Noam Berg
Hello, I need to use http connections with timeouts, since it is not part of the release i downloaded 7th Nov 2002 sources, but using HttpClient.setTimeout didnt help. i checked out the code and find out that when you create the sockets using host+port it immediately connects so setting the timeo