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 bae99f63a3 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-07 08:49:36 +01:00
..
minimal-http-client minimal: htt-client: send user agent and accept 2021-06-24 06:33:37 +01:00
minimal-http-client-attach solaris: pthread is not a ptr 2021-03-08 20:44:10 +00:00
minimal-http-client-captive-portal type comparisons: fixes 2021-01-05 10:56:38 +00:00
minimal-http-client-certinfo use ctime_r instead of ctime if possible 2021-03-25 10:08:38 +00:00
minimal-http-client-custom-headers LE-root-cert-update 2021-01-13 04:32:13 +00:00
minimal-http-client-h2-rxflow ctest: adapt background script 2021-01-26 07:48:10 +00:00
minimal-http-client-hugeurl sai-resource 2021-02-24 08:56:27 +00:00
minimal-http-client-multi tls: add option to serialize ssl handshake 2021-07-07 08:49:36 +01:00
minimal-http-client-post ctest: mbedtls: disable spawned server valgrind 2021-02-03 08:49:59 +00: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