• Home
Name Date Size #Lines LOC

..--

CMakeLists.txtD03-May-20242.1 KiB8170

README.mdD03-May-2024856 3023

minimal-http-client-multi.cD03-May-202412.7 KiB472304

selftest.shD03-May-20242.4 KiB6743

warmcat.com.cerD03-May-20243.5 KiB5958

README.md

1# lws minimal http client multi
2
3## build
4
5```
6 $ cmake . && make
7```
8
9## usage
10
11The application goes to https://warmcat.com and receives the page data
12same as minimal http client.
13
14However it does it for 8 client connections concurrently.
15
16## Commandline Options
17
18Option|Meaning
19---|---
20-s|Stagger the connections by 100ms, the last by 1s
21-p|Use http/1.1 pipelining or h2 simultaneous streams
22--h1|Force http/1 only
23-l|Connect to server on https://localhost:7681 instead of https://warmcat.com:443
24-n|Read numbered files like /1.png, /2.png etc.  Default is just read /
25--uv|Use libuv event loop if lws built for it
26--event|Use libevent event loop if lws built for it
27--ev|Use libev event loop if lws built for it
28--post|POST to the server rather than GET
29-c<n>|Create n connections (n can be 1 .. 8)
30--path <path>|Force the URL path (should start with /)