Add timeout to SSL connection attempt to prevent hanging threads
- Set socket non-blocking during SSL handshake - Use select with 5-second timeout for SSL_connect - Fallback to plain TCP if SSL fails for 'web' services
Showing
Please
register
or
sign in
to comment