Browse files

ssl: Restore the server default timeout_lapse once SSL negotiation is…

… done

The timeout_lapse was replaced by the SSL negotiation timeout during the
accept. We need to restore it to the proper value once the SSL stuff is
over with.

Signed-off-by: Sylvain Munaut <>
  • Loading branch information...
1 parent afdda14 commit 881bedd66fb11bde6a6a5065bb7748aa42ba640a @smunaut smunaut committed with davidjb Jun 15, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 cherokee/thread.c
@@ -814,6 +814,8 @@ process_active_connections (cherokee_thread_t *thd)
/* Set mode and update timeout
conn_set_mode (thd, conn, socket_reading);
+ conn->timeout_lapse = srv->timeout;
cherokee_connection_update_timeout (conn);
conn->phase = phase_reading_header;

0 comments on commit 881bedd

Please sign in to comment.