1
0
Fork 0
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:
Craig McQueen 2014-02-20 10:28:35 +11:00
parent e63a482e13
commit 516a0e5900

View file

@ -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 */
}