[Libwebsockets] HTTP persistent connection from libwebsockets. It's possible?

Андрей Морозов avmorosoff at gmail.com
Thu Feb 20 14:03:39 CET 2020


Hello!

Can I create new HTTP transactions (requests) without creating new
connection using the libwebsockets library (persistent HTTP connection)?

For example:

GET /index.html HTTP/1.0
Host: www.sample.com
Connection: Keep-Alive

GET /1.jpg HTTP/1.0
Host: www.sample.com
Connection: Keep-Alive

GET /1000.jpg HTTP/1.0
Host: www.sample.com
Connection: close
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://libwebsockets.org/pipermail/libwebsockets/attachments/20200220/cae9a9df/attachment.htm>


More information about the Libwebsockets mailing list