Commit 85b56d0b authored by Wandenberg Peixoto's avatar Wandenberg Peixoto

intervals assigned with time zero will be considered as not assigned

parent 47096d27
......@@ -318,6 +318,14 @@ ngx_http_push_stream_merge_loc_conf(ngx_conf_t *cf, void *parent, void *child)
return NGX_CONF_ERROR;
}
if (conf->ping_message_interval == 0) {
conf->ping_message_interval = NGX_CONF_UNSET_MSEC;
}
if (conf->subscriber_disconnect_interval == 0) {
conf->subscriber_disconnect_interval = NGX_CONF_UNSET_MSEC;
}
return NGX_CONF_OK;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment