Lines 418-427
Link Here
|
418 |
*/ |
418 |
*/ |
419 |
protected void checkConfig() throws IOException { |
419 |
protected void checkConfig() throws IOException { |
420 |
// Create an unbound server socket |
420 |
// Create an unbound server socket |
421 |
ServerSocket socket = |
421 |
ServerSocket socket; |
422 |
JdkCompat.getJdkCompat().getUnboundSocket(sslProxy); |
422 |
try { |
|
|
423 |
socket = JdkCompat.getJdkCompat().getUnboundSocket(sslProxy); |
424 |
} catch (IOException ex) { |
425 |
// Bug 50744 - some old JDKs do not implement unbound sockets |
426 |
if (log.isDebugEnabled()) { |
427 |
log.debug(sm.getString("jsse.ssl_conf_unbound_socket"), ex); |
428 |
} |
429 |
return; |
430 |
} |
423 |
if (socket == null) { |
431 |
if (socket == null) { |
424 |
// Can create unbound sockets (1.3 JVM) - can't test the connection |
432 |
// Can't create unbound sockets (1.3 JVM) - can't test the connection |
|
|
433 |
if (log.isDebugEnabled()) { |
434 |
log.debug(sm.getString("jsse.ssl_conf_unbound_socket")); |
435 |
} |
425 |
return; |
436 |
return; |
426 |
} |
437 |
} |
427 |
initServerSocket(socket); |
438 |
initServerSocket(socket); |