author | Marc Fournier <marc.fournier@camptocamp.com> | |
Sun, 15 Nov 2015 10:49:06 +0000 (11:49 +0100) | ||
committer | Marc Fournier <marc.fournier@camptocamp.com> | |
Sun, 15 Nov 2015 10:58:19 +0000 (11:58 +0100) | ||
commit | 50b1910527d68190c2d23dfc42759c917bcd3b1a | |
tree | 588efcdc436fcf6b55a2c3d878a4e34281de542f | tree | snapshot |
parent | de6a0cf70cf56af705d63bdc02e9c9d0dfb14b21 | commit | diff |
apache: parse whole response, not only the first 16 lines
mod_status recently started reporting more statistics. According to
http://www.apache.org/dist/httpd/CHANGES_2.4 `mod_proxy, mod_ssl,
mod_cache_socache, mod_socache_*: Support machine readable server-status
produced when using the "?auto" query string.` for version 2.4.13
onwards.
As we can't assume everything we need will be included in the first 16
lines of output anymore, we now simply scan through the whole output.
mod_status recently started reporting more statistics. According to
http://www.apache.org/dist/httpd/CHANGES_2.4 `mod_proxy, mod_ssl,
mod_cache_socache, mod_socache_*: Support machine readable server-status
produced when using the "?auto" query string.` for version 2.4.13
onwards.
As we can't assume everything we need will be included in the first 16
lines of output anymore, we now simply scan through the whole output.
src/apache.c | diff | blob | history |