[Libwebsockets] HTTP keep alive timeout set to 31sec

Xi Chen leon6827chix at gmail.com
Tue Feb 12 22:05:51 CET 2019

Hi Andy,

     /* let the network wsi live a bit longer if subs are active...

      * our frame may take a long time to chew through */

     if (!wsi->ws_over_h2_count)

         lws_set_timeout(wsi, PENDING_TIMEOUT_HTTP_KEEPALIVE_IDLE, 31);

What is the logic behind this? Any reason using the fixed value 31?

Im seeing a timeout due to this.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://libwebsockets.org/pipermail/libwebsockets/attachments/20190212/0a57d6be/attachment.html>

More information about the Libwebsockets mailing list