In module-client/src/main/java/org/apache/http/conn/ssl/SSLSocketFactory.java
The connectSocket( method has:
SSLSocket sslock = (SSLSocket)
((sock != null) ? sock : createSocket());
...
sock.connect(new InetSocketAddress(host, port), connTimeout);
// Line 292
sslock.setSoTimeout(soTimeout);
...
Looks very much like line 292 should be
sslock.connect(new InetSocketAddress(host, port),
connTimeout); // Line 292
instead.
[Also sslock might be easier to understand if it were named sslsock]
[Findbugs reported that sock could be null at 292]
S///
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]