1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-23 00:00:06 +01:00
libwebsockets/minimal-examples/http-client
Bing Zhao c604b9cb21 tls: add option to serialize ssl handshake
This is useful for memory constrained systems such as esp32
to improve heap usage minfree/watermark.

On esp32 with simultaneous_ssl_restriction = 2 (MQTT+H1),
Without this change, sys heap minfree ranges from 59k to 71k
  in 100 iterations, average 66.5k.
With this change, sys heap minfree ranges from 64k to 71k
  in 100 interations, average 68.7k
2021-07-08 06:22:47 +01:00
..
minimal-http-client Wextra 2021-07-04 10:29:54 +01:00
minimal-http-client-attach Wextra 2021-07-04 10:29:54 +01:00
minimal-http-client-captive-portal Wextra 2021-07-04 10:29:54 +01:00
minimal-http-client-certinfo Wextra 2021-07-04 10:29:54 +01:00
minimal-http-client-custom-headers Wextra 2021-07-04 10:29:54 +01:00
minimal-http-client-h2-rxflow Wextra 2021-07-04 10:29:54 +01:00
minimal-http-client-hugeurl Wextra 2021-07-04 10:29:54 +01:00
minimal-http-client-jit-trust Wextra 2021-07-04 10:29:54 +01:00
minimal-http-client-multi tls: add option to serialize ssl handshake 2021-07-08 06:22:47 +01:00
minimal-http-client-post Wextra 2021-07-04 10:29:54 +01:00
README.md minimal-http-client-custom-headers 2019-03-12 11:57:43 +08:00

name demonstrates
minimal-http-client-certinfo Shows how to gain detailed information on the peer certificate
minimal-http-client-custom-headers Shows how to send and receive custom headers (h1 only)
minimal-http-client-hugeurl Sends a > 2.5KB URL to warmcat.com
minimal-http-client-multi Connects to and reads https://warmcat.com, 8 times concurrently
minimal-http-client-post POSTs a form containing an uploaded file and a form variable, and captures the response
minimal-http-client Connects to and reads https://warmcat.com