mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-16 00:00:07 +01:00
![]() 1) Remove the whole ah rxbuf and put things on to the wsi buflist This eliminates the whole detachability thing based on ah rxbuf state... ah can always be detached. 2) Remove h2 scratch and put it on the wsi buflist 3) Remove preamble_rx and use the wsi buflist This was used in the case adopted sockets had already been read. Basically there are now only three forced service scenarios - something in buflist (and not in state LRS_DEFERRING_ACTION) - tls layer has buffered rx - extension has buffered rx This is a net removal of around 400 lines of special-casing. |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
minimal-http-client-multi.c | ||
README.md | ||
selftest.sh | ||
warmcat.com.cer |
lws minimal http client multi
build
$ cmake . && make
usage
The application goes to https://warmcat.com and receives the page data same as minimal http client.
However it does it for 8 client connections concurrently.
Commandline Options
Option | Meaning |
---|---|
-s | Stagger the connections by 100ms, the last by 1s |
-p | Use http/1.1 pipelining or h2 simultaneous streams |
--h1 | Force http/1 only |
-l | Connect to server on https://localhost:7681 instead of https://warmcat.com:443 |