diff options
| author | Valentin Bartenev <vbart@nginx.com> | 2013-03-15 20:00:49 +0000 |
|---|---|---|
| committer | Valentin Bartenev <vbart@nginx.com> | 2013-03-15 20:00:49 +0000 |
| commit | bac0cb3bbd507400c9dbac03eacbb6c6937efccd (patch) | |
| tree | a985eda8c56309251862e7236dbe4aeaa54df581 /src/event/ngx_event.h | |
| parent | 23e692b58df18e47f5c8080ce8812ed574d7c4a2 (diff) | |
| download | nginx-bac0cb3bbd507400c9dbac03eacbb6c6937efccd.tar.gz nginx-bac0cb3bbd507400c9dbac03eacbb6c6937efccd.tar.bz2 | |
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.
Diffstat (limited to 'src/event/ngx_event.h')
| -rw-r--r-- | src/event/ngx_event.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/event/ngx_event.h b/src/event/ngx_event.h index 2096da234..93c457c7b 100644 --- a/src/event/ngx_event.h +++ b/src/event/ngx_event.h @@ -511,6 +511,7 @@ extern ngx_atomic_t *ngx_stat_requests; extern ngx_atomic_t *ngx_stat_active; extern ngx_atomic_t *ngx_stat_reading; extern ngx_atomic_t *ngx_stat_writing; +extern ngx_atomic_t *ngx_stat_waiting; #endif |
