mirror of
https://github.com/lwthiker/curl-impersonate.git
synced 2026-10-10 19:36:32 +00:00
Add full support for TLS certificate compression
This commit adds: * Support for configuring the TLS certificate compression algorithms the client is willing to receive via the CURLOPT_SSL_CERT_COMPRESSION option or the '--cert-compression' command line flag. * Support for decompressing zlib-compressed certificates in addition to brotli. Previously brotli decompression only was available and it was hardcoded into the binary.
This commit is contained in:
@@ -22,4 +22,5 @@ dir=`echo "$0" | sed 's%/[^/]*$%%'`
|
||||
-H 'Accept-Language: en-US,en;q=0.9' \
|
||||
--http2 --false-start --compressed \
|
||||
--tlsv1.2 --no-npn --alps \
|
||||
--cert-compression brotli \
|
||||
$@
|
||||
|
||||
Reference in New Issue
Block a user