Hi !
Lets hope that this is right place to mail these issues, Im not familiar
with bugzilla so I�ll send this to here !
Apologies to everyone if this is not..
Changing read timeout ()wont affect after successful method execution using
same connection..
This seems to be a bug in HttpClient class method
executeMethod(HostConfiguration ...)..
The problematic section seems to be if section checking if connection is
open
method.setStrictMode(strictMode);
if (!connection.isOpen()) {
connection.setConnectionTimeout(connectionTimeout);
--> connection.setSoTimeout(soTimeout);
connection.open();
if (connection.isProxied() && connection.isSecure()) {
method = new ConnectMethod(method);
}
}
Problem can be solved by moving the line out of if section
method.setStrictMode(strictMode);
connection.setSoTimeout(soTimeout);
if (!connection.isOpen()) {
connection.setConnectionTimeout(connectionTimeout);
connection.open();
if (connection.isProxied() && connection.isSecure()) {
method = new ConnectMethod(method);
}
}
- Teemu
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]