Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

rule_list: Update the timeout when setting per-rule timeout_lapse

It's required or the new timeout_lapse might not be taken into
account since the connection expiration time that's in conn->timeout
has been computed with the previous timeout_lapse

Signed-off-by: Sylvain Munaut <>
  • Loading branch information...
1 parent 881bedd commit 2510045726009f61cb8cfb969c0cf5a4ad2b03b7 @smunaut smunaut committed with davidjb
Showing with 1 addition and 0 deletions.
  1. +1 −0  cherokee/rule_list.c
1  cherokee/rule_list.c
@@ -78,6 +78,7 @@ update_connection (cherokee_connection_t *conn,
if (! NULLI_IS_NULL(ret_config->timeout_lapse)) {
conn->timeout_lapse = ret_config->timeout_lapse;
conn->timeout_header = ret_config->timeout_header;
+ cherokee_connection_update_timeout (conn);

0 comments on commit 2510045

Please sign in to comment.
Something went wrong with that request. Please try again.