Update maxLifetime comment

This commit is contained in:
uNetworkingAB
2022-12-27 19:39:16 +01:00
committed by GitHub
parent 66ec193fd0
commit 16126902c2
+1 -1
View File
@@ -233,7 +233,7 @@ public:
bool resetIdleTimeoutOnSend = false; bool resetIdleTimeoutOnSend = false;
/* A good default, esp. for newcomers */ /* A good default, esp. for newcomers */
bool sendPingsAutomatically = true; bool sendPingsAutomatically = true;
/* Maximum socket lifetime in seconds before forced closure (defaults to disabled) */ /* Maximum socket lifetime in minutes before forced closure (defaults to disabled) */
unsigned short maxLifetime = 0; unsigned short maxLifetime = 0;
MoveOnlyFunction<void(HttpResponse<SSL> *, HttpRequest *, struct us_socket_context_t *)> upgrade = nullptr; MoveOnlyFunction<void(HttpResponse<SSL> *, HttpRequest *, struct us_socket_context_t *)> upgrade = nullptr;
MoveOnlyFunction<void(WebSocket<SSL, true, UserData> *)> open = nullptr; MoveOnlyFunction<void(WebSocket<SSL, true, UserData> *)> open = nullptr;