diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-10-20 15:04:53 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-10-20 15:04:53 +0100 |
commit | afc786bb1ca868077219b133d7611b71957b0b44 (patch) | |
tree | f432983c2f8abbeba1b4f93ef5f9eb10b70d4e24 /utils/rspamd_http_server.c | |
parent | db0d6a70be9f0a69165a7bab0757b0978af74231 (diff) | |
download | rspamd-afc786bb1ca868077219b133d7611b71957b0b44.tar.gz rspamd-afc786bb1ca868077219b133d7611b71957b0b44.zip |
Implement benchmark.
Diffstat (limited to 'utils/rspamd_http_server.c')
-rw-r--r-- | utils/rspamd_http_server.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/utils/rspamd_http_server.c b/utils/rspamd_http_server.c index c5cb16a24..71d74ee7d 100644 --- a/utils/rspamd_http_server.c +++ b/utils/rspamd_http_server.c @@ -47,6 +47,8 @@ static struct timeval io_tv = { .tv_usec = 0 }; + + static GOptionEntry entries[] = { {"port", 'p', 0, G_OPTION_ARG_INT, &port, "Port number (default: 43000)", NULL}, @@ -245,7 +247,7 @@ main (int argc, gchar **argv) rspamd_init_libs (); context = g_option_context_new ( - "rspamd_http_server - test server for benchmarks"); + "rspamd-http-server - test server for benchmarks"); g_option_context_set_summary (context, "Summary:\n Rspamd test HTTP server " RVERSION |