mirror of
https://github.com/tsl0922/ttyd.git
synced 2025-12-24 04:34:19 +01:00
server: remove ws_ping_pong_interval on lws > 4.0
https://github.com/warmcat/libwebsockets/issues/1915
This commit is contained in:
@@ -449,7 +449,7 @@ int main(int argc, char **argv) {
|
||||
LWS_LIBRARY_VERSION);
|
||||
info.server_string = server_hdr;
|
||||
#endif
|
||||
#if LWS_LIBRARY_VERSION_NUMBER >= 2001000
|
||||
#if LWS_LIBRARY_VERSION_NUMBER >= 2001000 && LWS_LIBRARY_VERSION_NUMBER < 4000000
|
||||
info.ws_ping_pong_interval = 5;
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user