mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
I think resetting the timeout isn't necessary when closing.
The session is going to be discarded anyway, so no need to reset its timeout.
This commit is contained in:
parent
e63a482e13
commit
516a0e5900
1 changed files with 0 additions and 1 deletions
|
@ -279,7 +279,6 @@ leave:
|
|||
wsi->u.http.ah = NULL;
|
||||
|
||||
if (n) {
|
||||
libwebsocket_set_timeout(wsi, NO_PENDING_TIMEOUT, 0);
|
||||
lwsl_info("LWS_CALLBACK_HTTP closing\n");
|
||||
goto bail; /* struct ah ptr already nuked */
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue