This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Pre-req: | |
https://serversforhackers.com/c/curl-with-http2-support | |
Code:libcurl-client-app.c | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
/* curl stuff */ | |
#include <curl/curl.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://serversforhackers.com/c/curl-with-http2-support | |
https://askubuntu.com/questions/884899/how-do-i-install-curl-with-http2-support | |
parameters used: | |
--http1.1 Use HTTP 1.1 │··············· | |
--http2 Use HTTP 2 | |
--key <key> Private key file name │··············· | |
--key-type <type> Private key file type (DER/PEM/ENG) | |
-E, --cert <certificate[:password]> Client certificate file and password | |
--tlsv1.2 Use TLSv1.2 |
NewerOlder