Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
aports
Manage
Activity
Members
Labels
Plan
Issues
1.2k
Issue boards
Milestones
Code
Merge requests
659
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
alpine
aports
Merge requests
!67898
community/coeurl: upgrade to 0.3.1
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
community/coeurl: upgrade to 0.3.1
Aerdan/aports:upgrade/coeurl-0.3.1
into
master
Overview
0
Commits
1
Pipelines
2
Changes
4
Merged
Síle Ekaterin Liszka
requested to merge
Aerdan/aports:upgrade/coeurl-0.3.1
into
master
7 months ago
Overview
0
Commits
1
Pipelines
2
Changes
4
Expand
👍
0
👎
0
Merge request reports
Compare
master
version 1
2bf401e1
7 months ago
master (base)
and
latest version
latest version
10ea8938
1 commit,
7 months ago
version 1
2bf401e1
1 commit,
7 months ago
4 files
+
4
−
95
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
4
Search (e.g. *.vue) (Ctrl+P)
community/coeurl/0001-curl-7.85.00-deprecation-for-CURLOPT_PROTOCOLS.patch deleted
100644 → 0
+
0
−
28
Options
From d926893007c353fbc149d8538a5762ca8384273a Mon Sep 17 00:00:00 2001
From: Sateallia <mail@satealliasdomain.net>
Date: Sun, 9 Apr 2023 03:00:00 +0000
Subject: [PATCH] curl 7.85.00 deprecation for CURLOPT_PROTOCOLS
---
lib/request.cpp | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/lib/request.cpp b/lib/request.cpp
index ed3dfd3..917f2f9 100644
--- a/lib/request.cpp
+++ b/lib/request.cpp
@@ -124,7 +124,11 @@
Request::Request(Client *client, Method m, std::string url__) : url_(std::move(u
curl_easy_setopt(this->easy, CURLOPT_NOPROGRESS, 1L);
curl_easy_setopt(this->easy, CURLOPT_XFERINFOFUNCTION, prog_cb);
curl_easy_setopt(this->easy, CURLOPT_XFERINFODATA, this);
+ #if CURL_AT_LEAST_VERSION(7, 85, 0)
+ curl_easy_setopt(this->easy, CURLOPT_PROTOCOLS_STR, "HTTPS,HTTP");
+ #else
curl_easy_setopt(this->easy, CURLOPT_PROTOCOLS, CURLPROTO_HTTP | CURLPROTO_HTTPS);
+ #endif
// enable altsvc support, which allows us to switch to http3
curl_easy_setopt(this->easy, CURLOPT_ALTSVC_CTRL, CURLALTSVC_H1|CURLALTSVC_H2|CURLALTSVC_H3);
--
2.42.0
Loading