1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-09-29 03:17:53 -04:00

[curl] Try HTTP3

Does not work for me.
This commit is contained in:
Witold Filipczyk 2023-06-29 10:46:09 +02:00
parent 502d726580
commit fc6f1278eb

View File

@ -198,6 +198,7 @@ do_http(struct connection *conn)
set_connection_state(conn, connection_state(S_TRANS));
curl_easy_setopt(curl, CURLOPT_URL, u.source);
curl_easy_setopt(curl, CURLOPT_NOBODY, 0L);
curl_easy_setopt(curl, CURLOPT_HTTP_VERSION, (long)CURL_HTTP_VERSION_3);
if (http->post_buffer) {
curl_easy_setopt(curl, CURLOPT_POSTFIELDS, http->post_buffer);