Skip to content

Commit

Permalink
server: remove ws_ping_pong_interval on lws > 4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
tsl0922 committed Jul 25, 2020
1 parent a841738 commit 5902726
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server.c
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 5902726

Please sign in to comment.