]> git.kaiwu.me - nginx.git/commit
Status: introduced the "ngx_stat_waiting" counter.
authorValentin Bartenev <vbart@nginx.com>
Fri, 15 Mar 2013 20:00:49 +0000 (20:00 +0000)
committerValentin Bartenev <vbart@nginx.com>
Fri, 15 Mar 2013 20:00:49 +0000 (20:00 +0000)
commitbac0cb3bbd507400c9dbac03eacbb6c6937efccd
treea985eda8c56309251862e7236dbe4aeaa54df581
parent23e692b58df18e47f5c8080ce8812ed574d7c4a2
Status: introduced the "ngx_stat_waiting" counter.

And corresponding variable $connections_waiting was added.

Previously, waiting connections were counted as the difference between
active connections and the sum of reading and writing connections.
That made it impossible to count more than one request in one connection
as reading or writing (as is the case for SPDY).

Also, we no longer count connections in handshake state as waiting.
src/core/ngx_connection.c
src/event/ngx_event.c
src/event/ngx_event.h
src/http/modules/ngx_http_stub_status_module.c