(snake) add an option to disable answering pongs as response to pings, to test cobra client behavior with hanged connections

This commit is contained in:
Benjamin Sergeant
2020-01-31 16:55:54 -08:00
parent f994a41845
commit 5f6c54bb90
6 changed files with 23 additions and 3 deletions

View File

@ -142,7 +142,8 @@ namespace ix
const std::string& redisPassword,
bool verbose,
const std::string& appsConfigPath,
const ix::SocketTLSOptions& tlsOptions);
const ix::SocketTLSOptions& tlsOptions,
bool disablePong);
int ws_httpd_main(int port,
const std::string& hostname,