1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-16 00:00:07 +01:00
libwebsockets/minimal-examples/http-client
Andy Green 4b089788bc tls: mbedtls-3
Adapt mbedtls support for compatibility with v3, while maintaining
compatibility with v2.

Notice v3 has removed the ability to encrypt with pubkey and
decrypt with privkey.  Openssl still has it, atm with v3 these
fall back to encrypt with privkey and decrypt with pubkey.

> The RSA module no longer supports private-key operations with the
> public key or vice versa. As a consequence, RSA operation functions
> no longer have a mode parameter. If you were calling RSA operations
> with the normal mode (public key for verification or encryption,
> private key for signature or decryption), remove the
> MBEDTLS_MODE_PUBLIC or MBEDTLS_MODE_PRIVATE argument. If you were
> calling RSA operations with the wrong mode, which rarely makes sense
>from a security perspective, this is no longer supported.
2021-07-13 13:22:50 +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 tls: mbedtls-3 2021-07-13 13:22:50 +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