maxLifetime impl. WIP, waiting for uSockets bump
This commit is contained in:
@@ -332,6 +332,9 @@ public:
|
||||
httpContextData->upgradedWebSocket = webSocket;
|
||||
}
|
||||
|
||||
/* Arm maxLifetime timeout */
|
||||
us_socket_long_timeout(SSL, (us_socket_t *) webSocket, webSocketContextData->maxLifetime);
|
||||
|
||||
/* Arm idleTimeout */
|
||||
us_socket_timeout(SSL, (us_socket_t *) webSocket, webSocketContextData->idleTimeoutComponents.first);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user