cherokee at googlecode
Jun 14, 2012, 9:05 AM
Post #7 of 12
Comment #6 on issue 1307 by 246...@gmail.com: timeout setting doesn't work
Re: Issue 1307 in cherokee: timeout setting doesn't work
[In reply to]
AFAICT the timeout is _not_ respected on SSL.
If you look in thread.c , the accept_new_connection() functions:
- Inside get_new_connection call you get the server timeout taken
- Then a bit later, if the connection is SSL, it replaces it by the
cryptor's timeout_handshake which is 15sec by default. (To allow set the
SSL handshake timeout I'd guess).
- The server timeout is never restored once the SSL handshake is down, so
the timeout is fixed to 15 sec ...
What you can do is set a timeout on the 'rule' and this will replace the
conn timeout once the request is parsed and dispatched.
Cherokee-dev mailing list
Cherokee-dev [at] lists