Commit 7d0662f1 authored by Sergey Lyubka's avatar Sergey Lyubka

Make WEBSOCKET_PING_INTERVAL_SECONDS overridable from the command line

parent e3751d29
...@@ -134,7 +134,10 @@ struct linked_list_link { struct linked_list_link *prev, *next; }; ...@@ -134,7 +134,10 @@ struct linked_list_link { struct linked_list_link *prev, *next; };
#define MAX_CGI_ENVIR_VARS 64 #define MAX_CGI_ENVIR_VARS 64
#define ENV_EXPORT_TO_CGI "MONGOOSE_CGI" #define ENV_EXPORT_TO_CGI "MONGOOSE_CGI"
#define PASSWORDS_FILE_NAME ".htpasswd" #define PASSWORDS_FILE_NAME ".htpasswd"
#ifndef WEBSOCKET_PING_INTERVAL_SECONDS
#define WEBSOCKET_PING_INTERVAL_SECONDS 5 #define WEBSOCKET_PING_INTERVAL_SECONDS 5
#endif
// Extra HTTP headers to send in every static file reply // Extra HTTP headers to send in every static file reply
#if !defined(EXTRA_HTTP_HEADERS) #if !defined(EXTRA_HTTP_HEADERS)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment