Commit 1fb6d31c authored by Wandenberg Peixoto's avatar Wandenberg Peixoto

removing conditional use of ngx_time_update function, versions 0.7.x are no...

removing conditional use of ngx_time_update function, versions 0.7.x are no longer supported, since version 0.2.5
parent a8de3720
......@@ -27,6 +27,6 @@
#define NGX_HTTP_PUSH_STREAM_MODULE_VERSION_H_
static const ngx_str_t NGX_HTTP_PUSH_STREAM_TAG = ngx_string("0.3.2");
static const ngx_str_t NGX_HTTP_PUSH_STREAM_COMMIT = ngx_string("395dad0853cde872b656f79580f4bc884d9fcec5");
static const ngx_str_t NGX_HTTP_PUSH_STREAM_COMMIT = ngx_string("eef068c739c9fc70a0c985c878d6cd81096e5056");
#endif /* NGX_HTTP_PUSH_STREAM_MODULE_VERSION_H_ */
......@@ -978,11 +978,7 @@ ngx_http_push_stream_timer_reset(ngx_msec_t timer_interval, ngx_event_t *timer_e
{
if (!ngx_exiting && (timer_interval != NGX_CONF_UNSET_MSEC)) {
if (timer_event->timedout) {
#if defined nginx_version && nginx_version >= 7066
ngx_time_update();
#else
ngx_time_update(0, 0);
#endif
ngx_time_update();
}
ngx_add_timer(timer_event, timer_interval);
}
......
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