Mantis - Resin
Viewing Issue Advanced Details
4280 major always 11-02-10 13:14 02-22-11 10:47
nicolai  
ferg  
high  
closed 4.0.9  
fixed  
none    
none 4.0.16  
0004280: Resin Pro with openssl does not timeout connections
Install resin pro with open ssl.

Tested on Solaris 10, with 64-bit openssl and 64 bit java.

From a client do:

$ openssl s_client -connect <server>:8443

You'll see the SSL negotiation, then wait for 20+ minutes. Resin won't timeout and close the connection.

Now try:

$ openssl s_client -connect <server>:8443
<Negotiation>
GET / HTTP/1.1

Don't enter the rest of the request. Wait for 20+ minutes. Resin won't timeout and close the connection.

Now try:

$ openssl s_client -connect <server>:8443
<Negotiation>
GET / HTTP/1.1
Host: <server>

You'll see the response, now wait for the configured timeout. Resin will timeout the connection and close it.



Notes
(0005073)
ferg   
02-18-11 19:10   
Note: this issue is specific to solaris because solaris does not implement the SO_RCVTIMEOUT socket option.