Skip to content

Lightpanda: the headless browser designed for AI and automation

update libcurl to 8.23.0

Karl Seguin51640f2f85c2
diff --git a/build.zig b/build.zig
index cce7e0c3d..dea1eb2a8 100644
--- a/build.zig
+++ b/build.zig
@@ -895,6 +895,7 @@ fn buildCurl(
.HAVE_CLOSESOCKET = is_windows,
.HAVE_DECL_FSEEKO = !is_windows,
.HAVE_EVENTFD = is_linux or is_freebsd or is_netbsd,
+ .HAVE_FCHMOD = !is_windows,
.HAVE_FCNTL = !is_windows,
.HAVE_FCNTL_O_NONBLOCK = !is_windows,
.HAVE_FNMATCH = !is_windows,
@@ -965,56 +966,55 @@ fn buildCurl(
},
.files = &.{
// You can include all files from lib, libcurl uses #ifdef-guards to exclude code for disabled functions
- "altsvc.c", "amigaos.c", "api.c", "bufq.c",
- "bufref.c", "cf-h1-proxy.c", "cf-h2-proxy.c", "cf-haproxy.c",
- "cf-https-connect.c", "cf-ip-happy.c", "cf-recvbuf.c", "cf-setup.c",
- "cf-socket.c", "cfilters.c", "conncache.c", "connect.c",
- "content_encoding.c", "cookie.c", "creds.c", "cshutdn.c",
- "curl_addrinfo.c", "curl_ed25519.c", "curl_endian.c", "curl_fnmatch.c",
- "curl_fopen.c", "curl_get_line.c", "curl_gethostname.c", "curl_gssapi.c",
- "curl_memrchr.c", "curl_ntlm_core.c", "curl_range.c", "curl_sasl.c",
- "curl_sha512_256.c", "curl_share.c", "curl_sspi.c", "curl_threads.c",
- "curl_trc.c", "curlx/base64.c", "curlx/basename.c", "curlx/dynbuf.c",
- "curlx/fopen.c", "curlx/inet_ntop.c", "curlx/inet_pton.c", "curlx/multibyte.c",
- "curlx/nonblock.c", "curlx/snprintf.c", "curlx/strcopy.c", "curlx/strdup.c",
- "curlx/strerr.c", "curlx/strparse.c", "curlx/timediff.c", "curlx/timeval.c",
- "curlx/version_win32.c", "curlx/wait.c", "curlx/warnless.c", "curlx/winapi.c",
- "cw-out.c", "cw-pause.c", "dict.c", "dllmain.c",
- "dynhds.c", "easy.c", "easygetopt.c", "easyoptions.c",
- "escape.c", "fake_addrinfo.c", "file.c", "fileinfo.c",
- "formdata.c", "ftp.c", "ftplistparser.c", "getenv.c",
- "getinfo.c", "gopher.c", "hash.c", "headers.c",
- "hmac.c", "hsts.c", "http.c", "http1.c",
- "http2.c", "http_aws_sigv4.c", "http_chunks.c", "http_digest.c",
- "http_httpsig.c", "http_negotiate.c", "http_ntlm.c", "http_proxy.c",
- "idn.c", "if2ip.c", "imap.c", "ldap.c",
- "llist.c", "macos.c", "md4.c", "md5.c",
- "memdebug.c", "mime.c", "mprintf.c", "mqtt.c",
- "multi.c", "multi_ev.c", "multi_ntfy.c", "netrc.c",
- "openldap.c", "parsedate.c", "peer.c", "pingpong.c",
- "pop3.c", "progress.c", "protocol.c", "proxy.c",
- "psl.c", "rand.c", "ratelimit.c", "request.c",
- "rtsp.c", "select.c", "sendf.c", "setopt.c",
- "sha256.c", "slist.c", "smb.c", "smtp.c",
- "socketpair.c", "socks.c", "socks_gssapi.c", "socks_sspi.c",
- "splay.c", "strcase.c", "strequal.c", "strerror.c",
- "system_win32.c", "telnet.c", "tftp.c", "thrdpool.c",
- "thrdqueue.c", "transfer.c", "uint-bset.c", "uint-hash.c",
- "uint-hashset.c", "uint-spbset.c", "uint-table.c", "url.c",
- "urlapi.c", "vauth/cleartext.c", "vauth/cram.c", "vauth/digest.c",
- "vauth/digest_sspi.c", "vauth/gsasl.c", "vauth/krb5_gssapi.c", "vauth/krb5_sspi.c",
- "vauth/ntlm.c", "vauth/ntlm_sspi.c", "vauth/oauth2.c", "vauth/spnego_gssapi.c",
- "vauth/spnego_sspi.c", "vauth/vauth.c", "vdns/asyn-ares.c", "vdns/asyn-base.c",
- "vdns/asyn-thrdd.c", "vdns/cf-dns.c", "vdns/dnscache.c", "vdns/doh.c",
- "vdns/hostip.c", "vdns/hostip4.c", "vdns/hostip6.c", "vdns/httpsrr.c",
- "version.c", "vquic/capsule.c", "vquic/cf-capsule.c", "vquic/cf-ngtcp2-cmn.c",
- "vquic/cf-ngtcp2-proxy.c", "vquic/cf-ngtcp2.c", "vquic/cf-quiche.c", "vquic/vquic-tls.c",
- "vquic/vquic.c", "vssh/libssh.c", "vssh/libssh2.c", "vssh/vssh.c",
- "vtls/apple.c", "vtls/cipher_suite.c", "vtls/gtls.c", "vtls/hostcheck.c",
- "vtls/keylog.c", "vtls/mbedtls.c", "vtls/openssl.c", "vtls/rustls.c",
- "vtls/schannel.c", "vtls/schannel_verify.c", "vtls/vtls.c", "vtls/vtls_config.c",
- "vtls/vtls_scache.c", "vtls/vtls_spack.c", "vtls/wolfssl.c", "vtls/x509asn1.c",
- "ws.c",
+ "altsvc.c", "amigaos.c", "api.c", "bufq.c",
+ "bufref.c", "cf-h1-proxy.c", "cf-h2-proxy.c", "cf-haproxy.c",
+ "cf-https-connect.c", "cfilters.c", "cf-ip-happy.c", "cf-recvbuf.c",
+ "cf-setup.c", "cf-socket.c", "conncache.c", "connect.c",
+ "content_encoding.c", "cookie.c", "creds.c", "cshutdn.c",
+ "curl_addrinfo.c", "curl_ed25519.c", "curl_endian.c", "curl_fnmatch.c",
+ "curl_fopen.c", "curl_gethostname.c", "curl_get_line.c", "curl_gssapi.c",
+ "curl_memrchr.c", "curl_ntlm_core.c", "curl_range.c", "curl_sasl.c",
+ "curl_sha512_256.c", "curl_share.c", "curl_sspi.c", "curl_threads.c",
+ "curl_trc.c", "curlx/base64.c", "curlx/basename.c", "curlx/dynbuf.c",
+ "curlx/inet_ntop.c", "curlx/inet_pton.c", "curlx/multibyte.c", "curlx/nonblock.c",
+ "curlx/snprintf.c", "curlx/strcopy.c", "curlx/strdup.c", "curlx/strerr.c",
+ "curlx/strparse.c", "curlx/timediff.c", "curlx/timeval.c", "curlx/version_win32.c",
+ "curlx/wait.c", "curlx/warnless.c", "curlx/win32-fopen.c", "curlx/winapi.c",
+ "cw-out.c", "cw-pause.c", "dict.c", "dllmain.c",
+ "dynhds.c", "easy.c", "easygetopt.c", "easyoptions.c",
+ "escape.c", "fake_addrinfo.c", "file.c", "fileinfo.c",
+ "formdata.c", "ftp.c", "ftplistparser.c", "getenv.c",
+ "getinfo.c", "gopher.c", "hash.c", "headers.c",
+ "hmac.c", "hsts.c", "http1.c", "http2.c",
+ "http_aws_sigv4.c", "http.c", "http_chunks.c", "http_digest.c",
+ "http_httpsig.c", "http_negotiate.c", "http_ntlm.c", "http_proxy.c",
+ "idn.c", "if2ip.c", "imap.c", "ldap.c",
+ "llist.c", "macos.c", "md4.c", "md5.c",
+ "memdebug.c", "mime.c", "mprintf.c", "mqtt.c",
+ "multi.c", "multi_ev.c", "multi_ntfy.c", "netrc.c",
+ "openldap.c", "parsedate.c", "peer.c", "pingpong.c",
+ "pop3.c", "progress.c", "protocol.c", "proxy.c",
+ "psl.c", "ptrarray.c", "rand.c", "ratelimit.c",
+ "request.c", "rtsp.c", "select.c", "sendf.c",
+ "setopt.c", "sha256.c", "slist.c", "smtp.c",
+ "socketpair.c", "socks.c", "socks_gssapi.c", "socks_sspi.c",
+ "splay.c", "strcase.c", "strequal.c", "strerror.c",
+ "telnet.c", "tftp.c", "thrdpool.c", "thrdqueue.c",
+ "transfer.c", "u32_ptrset.c", "u8_strset.c", "uint-bset.c",
+ "uint-spbset.c", "uint-table.c", "urlapi.c", "url.c",
+ "vauth/cleartext.c", "vauth/cram.c", "vauth/digest.c", "vauth/digest_sspi.c",
+ "vauth/gsasl.c", "vauth/krb5_gssapi.c", "vauth/krb5_sspi.c", "vauth/ntlm.c",
+ "vauth/ntlm_sspi.c", "vauth/oauth2.c", "vauth/spnego_gssapi.c", "vauth/spnego_sspi.c",
+ "vauth/vauth.c", "vdns/asyn-ares.c", "vdns/asyn-base.c", "vdns/asyn-thrdd.c",
+ "vdns/cf-dns.c", "vdns/dnscache.c", "vdns/doh.c", "vdns/hostip4.c",
+ "vdns/hostip6.c", "vdns/hostip.c", "vdns/httpsrr.c", "version.c",
+ "vquic/capsule.c", "vquic/cf-capsule.c", "vquic/cf-ngtcp2.c", "vquic/cf-ngtcp2-cmn.c",
+ "vquic/cf-ngtcp2-proxy.c", "vquic/cf-quiche.c", "vquic/vquic.c", "vquic/vquic-tls.c",
+ "vssh/libssh2.c", "vssh/libssh.c", "vssh/vssh.c", "vtls/apple.c",
+ "vtls/cipher_suite.c", "vtls/gtls.c", "vtls/hostcheck.c", "vtls/keylog.c",
+ "vtls/mbedtls.c", "vtls/openssl.c", "vtls/rustls.c", "vtls/schannel.c",
+ "vtls/schannel_verify.c", "vtls/vtls.c", "vtls/vtls_config.c", "vtls/vtls_scache.c",
+ "vtls/vtls_spack.c", "vtls/wolfssl.c", "vtls/x509asn1.c", "ws.c",
},
});
diff --git a/build.zig.zon b/build.zig.zon
index 79156eab8..032253c35 100644
--- a/build.zig.zon
+++ b/build.zig.zon
@@ -32,8 +32,8 @@
},
// .@"boringssl-zig" = .{ .path = "../boringssl-zig" },
.curl = .{
- .url = "https://github.com/curl/curl/releases/download/curl-8_22_0/curl-8.22.0.tar.gz",
- .hash = "N-V-__8AALJXUwHr71AwttzhEqqYTvFb_jz0EQ5Ou3OWpHBM",
+ .url = "https://github.com/curl/curl/releases/download/curl-8_23_0/curl-8.23.0.tar.gz",
+ .hash = "N-V-__8AAMjlVwH79yAHsK65VUcPuhOO6BWgpLDvvnlWPLly",
},
.sqlite3 = .{
.url = "https://sqlite.org/2026/sqlite-amalgamation-3530200.zip",