add buffer-size configuration to the other routers

This commit is contained in:
Unbit
2014-01-03 17:24:40 +01:00
parent 18972d95a8
commit b3bba48d1a
3 changed files with 4 additions and 0 deletions
+1
View File
@@ -57,6 +57,7 @@ struct uwsgi_option http_options[] = {
{"http-uid", required_argument, 0, "drop http router privileges to the specified uid", uwsgi_opt_uid, &uhttp.cr.uid, 0 },
{"http-gid", required_argument, 0, "drop http router privileges to the specified gid", uwsgi_opt_gid, &uhttp.cr.gid, 0 },
{"http-resubscribe", required_argument, 0, "forward subscriptions to the specified subscription server", uwsgi_opt_add_string_list, &uhttp.cr.resubscribe, 0},
{"http-buffer-size", required_argument, 0, "set internal buffer size (default: page size)", uwsgi_opt_set_64bit, &uhttp.cr.buffer_size, 0},
{0, 0, 0, 0, 0, 0, 0},
};
+2
View File
@@ -56,6 +56,8 @@ static struct uwsgi_option rawrouter_options[] = {
{"rawrouter-xclient", no_argument, 0, "use the xclient protocol to pass the client addres", uwsgi_opt_true, &urr.xclient, 0},
{"rawrouter-buffer-size", required_argument, 0, "set internal buffer size (default: page size)", uwsgi_opt_set_64bit, &urr.cr.buffer_size, 0},
{0, 0, 0, 0, 0, 0, 0},
};
+1
View File
@@ -155,6 +155,7 @@ static struct uwsgi_option sslrouter_options[] = {
#ifdef SSL_CTRL_SET_TLSEXT_HOSTNAME
{"sslrouter-sni", no_argument, 0, "use SNI to route requests", uwsgi_opt_true, &usr.sni, 0},
#endif
{"sslrouter-buffer-size", required_argument, 0, "set internal buffer size (default: page size)", uwsgi_opt_set_64bit, &usr.cr.buffer_size, 0},
{0, 0, 0, 0, 0, 0, 0},
};