Bug 288123 - ftp/curl: Add HTTP/3 Support (preliminary diff)
Summary: ftp/curl: Add HTTP/3 Support (preliminary diff)
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Po-Chuan Hsieh
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-07-09 18:48 UTC by Ken
Modified: 2026-04-08 05:14 UTC (History)
6 users (show)

See Also:
bugzilla: maintainer-feedback? (sunpoet)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ken 2025-07-09 18:48:41 UTC
Here is a fully working preliminary diff for adding HTTP/3 support to ftp/curl:

https://forums.freebsd.org/threads/adding-http-3-support-to-ftp-curl.98451/#post-707925

To work correctly, it requires OpenSSL 3.5+.

If you could update the port with this, it would be greatly appreciated.
Comment 1 Dave 2025-08-01 04:59:23 UTC
I would also like to see HTTP/3 support added. The linked forum thread also mentions that maybe a new port would work better than modifying the existing one.

Any takers?

HTTP/3 support was added to cURL on Linux in July 2024, not sure why it's taking so long to get updated on this platform.
Comment 2 Paavo-Einari Kaipila 2025-08-04 19:48:16 UTC
Ken, ask the person on the forum to submit the patch. It should be submitted by the person who wrote it.
Comment 3 Ken 2025-08-05 01:17:25 UTC
The person on the forum was only trying to help me get it installed. I don't think they have any interest whatsoever in getting involved in this.

I'm simply referencing the information from the forum so the port maintainer can update the port himself. It's only a few edits, so it shouldn't be that difficult or require a patch.
Comment 4 Paavo-Einari Kaipila 2025-08-05 10:19:17 UTC
Based on a quick look at that patch, I believe it would be fairly easy to make a merge-able version of it. However, I can't just copy-paste a template from a forum, make changes to it and then submit it as my own. If the author just submits it here first, I can make a revised version of it. I don't have an account on that forum and I'm not going to make one just for sake of sending one message.

Seems like the maintainer doesn't have interest in the topic, but I believe this can be done regardless. It'll just take a little longer.
Comment 5 rainer 2025-08-06 07:16:22 UTC
(In reply to Dave from comment #1)

I looked and the curl shipped with Ubuntu24 does not support http3 either.

Nor does the one from macOS 14. 

Personally, I would be interested in the opinion of the curl-port maintainer - but it looks like he's very busy (he seems to be the most prolific contributor to ports), so I can understand if he doesn't want to get involved in yet another flavor of one of his ports just now.

A http3-enabled curl would also help in creating an icinga-check.