aboutsummaryrefslogtreecommitdiffstats
path: root/src/output/httpd_internal.h
diff options
context:
space:
mode:
authorViliam Mateicka <viliam.mateicka@gmail.com>2009-10-29 22:38:18 +0100
committerViliam Mateicka <viliam.mateicka@gmail.com>2009-10-29 22:38:18 +0100
commitbb5acc939fccd27c5ac47173905dcdf84f88a722 (patch)
treecde754299f868f651cfe8dafaa3fbddebb32f53f /src/output/httpd_internal.h
parentbde3d1433997af8cc430f4b9d38e5bde97d3b760 (diff)
downloadmpd-bb5acc939fccd27c5ac47173905dcdf84f88a722.tar.gz
mpd-bb5acc939fccd27c5ac47173905dcdf84f88a722.tar.xz
mpd-bb5acc939fccd27c5ac47173905dcdf84f88a722.zip
httpd: add config option to limit number of clients
Diffstat (limited to 'src/output/httpd_internal.h')
-rw-r--r--src/output/httpd_internal.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/output/httpd_internal.h b/src/output/httpd_internal.h
index 2257e27a2..83e9498c6 100644
--- a/src/output/httpd_internal.h
+++ b/src/output/httpd_internal.h
@@ -97,6 +97,12 @@ struct httpd_output {
* function.
*/
char buffer[32768];
+
+ /**
+ * The maximum and current number of clients connected
+ * at the same time.
+ */
+ guint clients_max, clients_cnt;
};
/**