Skip to content

Instantly share code, notes, and snippets.

View deshmukhrajvardhan's full-sized avatar
🦊

Rajvardhan S Deshmukh (he/him) deshmukhrajvardhan

🦊
  • San Jose
View GitHub Profile
@deshmukhrajvardhan
deshmukhrajvardhan / gist:3714c07c4216395c02a165d128c1bedd
Last active August 6, 2018 16:25
Application to use HTTP2 multiplexing with libcurl
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>
@deshmukhrajvardhan
deshmukhrajvardhan / report
Created May 10, 2018 14:07
curl with http2 and http1 (https)
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