hi everyone:<br> <br> I have found a little bug at method ngx_event_expire_timers of the file "src/event/ngx_event_timer.c "<br> <br> <br> 84 for ( ;; ) {<br> 85 <br> 86 ngx_mutex_lock(ngx_event_timer_mutex);<br>
87 <br> 88 root = ngx_event_timer_rbtree.root;<br> 89 <br> 90 if (root == sentinel) {<br> 91 return;<br> 92 }<br> <br> [...]<br> }<br>
<br> The above code should add "ngx_mutex_unlock(ngx_event_timer_mutex);" at 90 line,<br> Because the ngx_event_timer_mutex has locked at begin , but returned without unlock , is it right? <br>