2016-04-06 15:20:18 +08:00
|
|
|
_ _ ____ _
|
|
|
|
___| | | | _ \| |
|
|
|
|
/ __| | | | |_) | |
|
|
|
|
| (__| |_| | _ <| |___
|
|
|
|
\___|\___/|_| \_\_____|
|
|
|
|
|
|
|
|
Known Bugs
|
|
|
|
|
|
|
|
These are problems and bugs known to exist at the time of this release. Feel
|
2021-12-09 19:03:35 +08:00
|
|
|
free to join in and help us correct one or more of these. Also be sure to
|
2016-04-06 15:20:18 +08:00
|
|
|
check the changelog of the current development status, as one or more of these
|
2021-12-09 19:03:35 +08:00
|
|
|
problems may have been fixed or changed somewhat since this was written.
|
2016-04-06 15:20:18 +08:00
|
|
|
|
|
|
|
1. HTTP
|
2023-07-31 14:45:33 +08:00
|
|
|
1.2 hyper is slow
|
2016-04-06 15:20:18 +08:00
|
|
|
1.5 Expect-100 meets 417
|
|
|
|
|
|
|
|
2. TLS
|
2024-02-28 00:50:25 +08:00
|
|
|
2.1 IMAPS connection fails with rustls error
|
2020-09-23 14:50:52 +08:00
|
|
|
2.3 Unable to use PKCS12 certificate with Secure Transport
|
2024-06-13 21:40:39 +08:00
|
|
|
2.4 Secure Transport does not import PKCS#12 client certificates without a password
|
2018-04-30 16:26:26 +08:00
|
|
|
2.5 Client cert handling with Issuer DN differs between backends
|
2019-03-07 20:14:51 +08:00
|
|
|
2.7 Client cert (MTLS) issues with Schannel
|
2020-08-18 15:24:38 +08:00
|
|
|
2.11 Schannel TLS 1.2 handshake bug in old Windows versions
|
2022-08-13 06:27:57 +08:00
|
|
|
2.13 CURLOPT_CERTINFO results in CURLE_OUT_OF_MEMORY with Schannel
|
2016-04-06 15:20:18 +08:00
|
|
|
|
|
|
|
3. Email protocols
|
|
|
|
3.1 IMAP SEARCH ALL truncated response
|
|
|
|
3.2 No disconnect command
|
2020-01-15 06:22:38 +08:00
|
|
|
3.3 POP3 expects "CRLF.CRLF" eob for some single-line responses
|
|
|
|
3.4 AUTH PLAIN for SMTP is not working on all servers
|
2023-07-31 14:47:22 +08:00
|
|
|
3.5 APOP authentication fails on POP3
|
2024-03-08 00:40:29 +08:00
|
|
|
3.6 POP3 issue when reading small chunks
|
2016-04-06 15:20:18 +08:00
|
|
|
|
|
|
|
4. Command line
|
2024-06-27 22:37:25 +08:00
|
|
|
4.1 -T /dev/stdin may upload with an incorrect content length
|
|
|
|
4.2 -T - always uploads chunked
|
2016-04-06 15:20:18 +08:00
|
|
|
|
|
|
|
5. Build and portability issues
|
2020-05-15 22:58:45 +08:00
|
|
|
5.1 OS400 port requires deprecated IBM library
|
2016-04-06 15:20:18 +08:00
|
|
|
5.2 curl-config --libs contains private details
|
2023-07-23 23:00:29 +08:00
|
|
|
5.3 building for old macOS fails with gcc
|
2021-10-31 23:34:44 +08:00
|
|
|
5.5 cannot handle Unicode arguments in non-Unicode builds on Windows
|
2023-07-31 14:55:26 +08:00
|
|
|
5.6 cygwin: make install installs curl-config.1 twice
|
2020-03-05 21:27:14 +08:00
|
|
|
5.11 configure --with-gssapi with Heimdal is ignored on macOS
|
2023-04-14 00:15:31 +08:00
|
|
|
5.12 flaky CI builds
|
2022-08-10 15:23:25 +08:00
|
|
|
5.13 long paths are not fully supported on Windows
|
2022-08-13 15:47:12 +08:00
|
|
|
5.14 Windows Unicode builds use homedir in current locale
|
2024-02-07 00:39:04 +08:00
|
|
|
5.15 Unicode on Windows
|
2016-04-06 15:20:18 +08:00
|
|
|
|
|
|
|
6. Authentication
|
|
|
|
6.1 NTLM authentication and unicode
|
|
|
|
6.2 MIT Kerberos for Windows build
|
|
|
|
6.3 NTLM in system context uses wrong name
|
2021-10-31 23:34:44 +08:00
|
|
|
6.5 NTLM does not support password with § character
|
2018-11-09 23:50:39 +08:00
|
|
|
6.6 libcurl can fail to try alternatives with --proxy-any
|
2021-10-31 23:34:44 +08:00
|
|
|
6.7 Do not clear digest for single realm
|
2020-12-14 14:08:15 +08:00
|
|
|
6.9 SHA-256 digest not supported in Windows SSPI builds
|
2020-12-26 00:16:19 +08:00
|
|
|
6.10 curl never completes Negotiate over HTTP
|
2021-06-16 20:29:11 +08:00
|
|
|
6.11 Negotiate on Windows fails
|
2021-10-31 23:34:44 +08:00
|
|
|
6.12 cannot use Secure Transport with Crypto Token Kit
|
2022-08-08 22:45:51 +08:00
|
|
|
6.13 Negotiate against Hadoop HDFS
|
2016-04-06 15:20:18 +08:00
|
|
|
|
|
|
|
7. FTP
|
2024-06-13 21:40:39 +08:00
|
|
|
7.1 FTP upload fails if remembered directory is deleted
|
2024-02-28 00:46:19 +08:00
|
|
|
7.2 Implicit FTPS upload timeout
|
2016-04-06 15:20:18 +08:00
|
|
|
7.3 FTP with NOBODY and FAILONERROR
|
|
|
|
7.4 FTP with ACCT
|
2022-08-13 06:32:12 +08:00
|
|
|
7.12 FTPS directory listing hangs on Windows with Schannel
|
2016-04-06 15:20:18 +08:00
|
|
|
|
|
|
|
9. SFTP and SCP
|
2021-10-31 23:34:44 +08:00
|
|
|
9.1 SFTP does not do CURLOPT_POSTQUOTE correct
|
|
|
|
9.2 wolfssh: publickey auth does not work
|
2020-12-21 05:49:36 +08:00
|
|
|
9.3 Remote recursive folder creation with SFTP
|
2022-08-13 06:25:31 +08:00
|
|
|
9.4 libssh blocking and infinite loop problem
|
2023-07-28 05:43:28 +08:00
|
|
|
9.5 cygwin: "WARNING: UNPROTECTED PRIVATE KEY FILE!"
|
2016-04-06 15:20:18 +08:00
|
|
|
|
|
|
|
10. SOCKS
|
|
|
|
10.3 FTPS over SOCKS
|
|
|
|
|
2016-04-08 19:21:52 +08:00
|
|
|
11. Internals
|
2024-05-09 17:24:07 +08:00
|
|
|
11.1 gssapi library name + version is missing in curl_version_info()
|
2016-04-08 19:23:28 +08:00
|
|
|
11.2 error buffer not set if connection to multiple addresses fails
|
2024-06-19 18:02:40 +08:00
|
|
|
11.3 TFTP tests fail on OpenBSD
|
2017-08-18 22:04:55 +08:00
|
|
|
11.4 HTTP test server 'connection-monitor' problems
|
2018-04-30 16:17:10 +08:00
|
|
|
11.5 Connection information when using TCP Fast Open
|
2024-06-27 22:37:25 +08:00
|
|
|
11.6 test cases sometimes timeout
|
2016-04-08 19:21:52 +08:00
|
|
|
|
2020-11-18 23:43:56 +08:00
|
|
|
12. LDAP
|
2016-04-08 22:49:49 +08:00
|
|
|
12.1 OpenLDAP hangs after returning results
|
2019-10-13 04:45:13 +08:00
|
|
|
12.2 LDAP on Windows does authentication wrong?
|
2021-10-31 23:34:44 +08:00
|
|
|
12.3 LDAP on Windows does not work
|
2023-08-15 20:21:15 +08:00
|
|
|
12.4 LDAPS requests to ActiveDirectory server hang
|
2016-04-08 22:49:49 +08:00
|
|
|
|
2016-10-16 17:53:54 +08:00
|
|
|
13. TCP/IP
|
2022-01-02 00:59:56 +08:00
|
|
|
13.2 Trying local ports fails on Windows
|
2016-04-25 17:20:23 +08:00
|
|
|
|
2020-11-18 23:43:56 +08:00
|
|
|
15. CMake
|
2023-07-31 14:51:32 +08:00
|
|
|
15.1 cmake outputs: no version information available
|
2020-11-18 23:43:56 +08:00
|
|
|
15.2 support build with GnuTLS
|
|
|
|
15.3 unusable tool_hugehelp.c with MinGW
|
2020-11-18 23:49:29 +08:00
|
|
|
15.6 uses -lpthread instead of Threads::Threads
|
2020-11-18 23:50:41 +08:00
|
|
|
15.7 generated .pc file contains strange entries
|
2021-01-28 16:27:41 +08:00
|
|
|
15.11 ExternalProject_Add does not set CURL_CA_PATH
|
2021-08-16 15:40:32 +08:00
|
|
|
15.13 CMake build with MIT Kerberos does not work
|
2020-11-18 23:43:56 +08:00
|
|
|
|
2023-08-07 05:04:57 +08:00
|
|
|
16. aws-sigv4
|
2023-08-22 23:40:39 +08:00
|
|
|
16.1 aws-sigv4 does not sign requests with * correctly
|
2024-06-03 16:02:33 +08:00
|
|
|
16.2 aws-sigv4 does not handle multipart/form-data correctly
|
2024-06-03 16:04:50 +08:00
|
|
|
16.3 aws-sigv4 has problems with particular URLs
|
2023-08-07 05:38:28 +08:00
|
|
|
16.6 aws-sigv4 does not behave well with AWS VPC Lattice
|
2021-01-28 15:24:13 +08:00
|
|
|
|
2021-05-03 23:22:52 +08:00
|
|
|
17. HTTP/2
|
2024-02-28 00:44:55 +08:00
|
|
|
17.1 HTTP/2 prior knowledge over proxy
|
2021-05-03 23:22:52 +08:00
|
|
|
17.2 HTTP/2 frames while in the connection pool kill reuse
|
2021-05-03 23:27:35 +08:00
|
|
|
17.3 ENHANCE_YOUR_CALM causes infinite retries
|
2024-06-15 05:56:37 +08:00
|
|
|
17.4 HTTP/2 + TLS spends a lot of time in recv
|
2016-04-06 15:20:18 +08:00
|
|
|
|
2021-05-03 23:22:52 +08:00
|
|
|
18. HTTP/3
|
2023-04-14 00:15:31 +08:00
|
|
|
18.1 connection migration does not work
|
2024-06-03 16:10:47 +08:00
|
|
|
18.2 quiche: QUIC connection is draining
|
2021-02-14 05:42:58 +08:00
|
|
|
|
2023-12-28 06:15:09 +08:00
|
|
|
19. RTSP
|
|
|
|
19.1 Some methods do not support response bodies
|
|
|
|
|
2021-05-03 23:22:52 +08:00
|
|
|
==============================================================================
|
2021-02-14 05:42:58 +08:00
|
|
|
|
2021-05-03 23:22:52 +08:00
|
|
|
1. HTTP
|
2021-02-14 05:42:58 +08:00
|
|
|
|
2023-07-31 14:45:33 +08:00
|
|
|
1.2 hyper is slow
|
|
|
|
|
|
|
|
When curl is built to use hyper for HTTP, it is unnecessary slow.
|
|
|
|
|
|
|
|
https://github.com/curl/curl/issues/11203
|
|
|
|
|
2016-04-06 15:20:18 +08:00
|
|
|
1.5 Expect-100 meets 417
|
|
|
|
|
|
|
|
If an upload using Expect: 100-continue receives an HTTP 417 response, it
|
2021-12-09 19:03:35 +08:00
|
|
|
ought to be automatically resent without the Expect:. A workaround is for
|
2016-04-06 15:20:18 +08:00
|
|
|
the client application to redo the transfer after disabling Expect:.
|
2020-11-04 21:02:01 +08:00
|
|
|
https://curl.se/mail/archive-2008-02/0043.html
|
2016-04-06 15:20:18 +08:00
|
|
|
|
|
|
|
2. TLS
|
|
|
|
|
2024-02-28 00:50:25 +08:00
|
|
|
2.1 IMAPS connection fails with rustls error
|
|
|
|
|
|
|
|
https://github.com/curl/curl/issues/10457
|
|
|
|
|
2020-09-23 14:50:52 +08:00
|
|
|
2.3 Unable to use PKCS12 certificate with Secure Transport
|
|
|
|
|
|
|
|
See https://github.com/curl/curl/issues/5403
|
|
|
|
|
2024-06-13 21:40:39 +08:00
|
|
|
2.4 Secure Transport does not import PKCS#12 client certificates without a password
|
2017-03-07 08:13:03 +08:00
|
|
|
|
|
|
|
libcurl calls SecPKCS12Import with the PKCS#12 client certificate, but that
|
|
|
|
function rejects certificates that do not have a password.
|
|
|
|
https://github.com/curl/curl/issues/1308
|
|
|
|
|
2018-04-30 16:26:26 +08:00
|
|
|
2.5 Client cert handling with Issuer DN differs between backends
|
|
|
|
|
2021-10-31 23:34:44 +08:00
|
|
|
When the specified client certificate does not match any of the
|
2018-04-30 16:26:26 +08:00
|
|
|
server-specified DNs, the OpenSSL and GnuTLS backends behave differently.
|
|
|
|
The github discussion may contain a solution.
|
|
|
|
|
|
|
|
See https://github.com/curl/curl/issues/1411
|
2016-05-17 17:13:48 +08:00
|
|
|
|
2019-03-07 20:14:51 +08:00
|
|
|
2.7 Client cert (MTLS) issues with Schannel
|
|
|
|
|
|
|
|
See https://github.com/curl/curl/issues/3145
|
|
|
|
|
2020-08-18 15:24:38 +08:00
|
|
|
2.11 Schannel TLS 1.2 handshake bug in old Windows versions
|
|
|
|
|
|
|
|
In old versions of Windows such as 7 and 8.1 the Schannel TLS 1.2 handshake
|
|
|
|
implementation likely has a bug that can rarely cause the key exchange to
|
|
|
|
fail, resulting in error SEC_E_BUFFER_TOO_SMALL or SEC_E_MESSAGE_ALTERED.
|
|
|
|
|
|
|
|
https://github.com/curl/curl/issues/5488
|
|
|
|
|
2022-08-13 06:27:57 +08:00
|
|
|
2.13 CURLOPT_CERTINFO results in CURLE_OUT_OF_MEMORY with Schannel
|
|
|
|
|
|
|
|
https://github.com/curl/curl/issues/8741
|
|
|
|
|
2016-04-06 15:20:18 +08:00
|
|
|
3. Email protocols
|
|
|
|
|
|
|
|
3.1 IMAP SEARCH ALL truncated response
|
|
|
|
|
|
|
|
IMAP "SEARCH ALL" truncates output on large boxes. "A quick search of the
|
|
|
|
code reveals that pingpong.c contains some truncation code, at line 408, when
|
|
|
|
it deems the server response to be too large truncating it to 40 characters"
|
2020-11-04 21:02:01 +08:00
|
|
|
https://curl.se/bug/view.cgi?id=1366
|
2016-04-06 15:20:18 +08:00
|
|
|
|
|
|
|
3.2 No disconnect command
|
|
|
|
|
|
|
|
The disconnect commands (LOGOUT and QUIT) may not be sent by IMAP, POP3 and
|
|
|
|
SMTP if a failure occurs during the authentication phase of a connection.
|
|
|
|
|
2020-01-15 06:22:38 +08:00
|
|
|
3.3 POP3 expects "CRLF.CRLF" eob for some single-line responses
|
2016-06-28 14:24:16 +08:00
|
|
|
|
|
|
|
You have to tell libcurl not to expect a body, when dealing with one line
|
|
|
|
response commands. Please see the POP3 examples and test cases which show
|
2020-11-04 21:02:01 +08:00
|
|
|
this for the NOOP and DELE commands. https://curl.se/bug/?i=740
|
2016-06-28 14:24:16 +08:00
|
|
|
|
2020-01-15 06:22:38 +08:00
|
|
|
3.4 AUTH PLAIN for SMTP is not working on all servers
|
2020-01-09 23:19:34 +08:00
|
|
|
|
2021-10-31 23:34:44 +08:00
|
|
|
Specifying "--login-options AUTH=PLAIN" on the command line does not seem to
|
2020-01-09 23:19:34 +08:00
|
|
|
work correctly.
|
|
|
|
|
|
|
|
See https://github.com/curl/curl/issues/4080
|
2016-04-06 15:20:18 +08:00
|
|
|
|
2023-07-31 14:47:22 +08:00
|
|
|
3.5 APOP authentication fails on POP3
|
|
|
|
|
|
|
|
See https://github.com/curl/curl/issues/10073
|
|
|
|
|
2024-03-08 00:40:29 +08:00
|
|
|
3.6 POP3 issue when reading small chunks
|
|
|
|
|
|
|
|
CURL_DBG_SOCK_RMAX=4 ./runtests.pl -v 982
|
|
|
|
|
|
|
|
See https://github.com/curl/curl/issues/12063
|
|
|
|
|
2016-04-06 15:20:18 +08:00
|
|
|
4. Command line
|
|
|
|
|
2024-06-27 22:37:25 +08:00
|
|
|
4.1 -T /dev/stdin may upload with an incorrect content length
|
|
|
|
|
|
|
|
-T stats the path to figure out its size in bytes to use it as Content-Length
|
|
|
|
if it is a regular file.
|
|
|
|
|
|
|
|
The problem with that is that, on BSDs and some other UNIXes (not Linux),
|
|
|
|
open(path) may not give you a file descriptor with a 0 offset from the start
|
|
|
|
of the file.
|
|
|
|
|
|
|
|
See https://github.com/curl/curl/issues/12177
|
|
|
|
|
|
|
|
4.2 -T - always uploads chunked
|
|
|
|
|
|
|
|
When the `<` shell operator is used. curl should realise that stdin is a
|
|
|
|
regular file in this case, and that it can do a non-chunked upload, like it
|
|
|
|
would do if you used -T file.
|
|
|
|
|
|
|
|
See https://github.com/curl/curl/issues/12171
|
|
|
|
|
2016-04-06 15:20:18 +08:00
|
|
|
5. Build and portability issues
|
|
|
|
|
2020-05-15 22:58:45 +08:00
|
|
|
5.1 OS400 port requires deprecated IBM library
|
|
|
|
|
|
|
|
curl for OS400 requires QADRT to build, which provides ASCII wrappers for
|
|
|
|
libc/POSIX functions in the ILE, but IBM no longer supports or even offers
|
|
|
|
this library to download.
|
|
|
|
|
|
|
|
See https://github.com/curl/curl/issues/5176
|
|
|
|
|
2016-04-06 15:20:18 +08:00
|
|
|
5.2 curl-config --libs contains private details
|
|
|
|
|
2024-06-13 21:40:39 +08:00
|
|
|
"curl-config --libs" include details set in LDFLAGS when configure is run
|
|
|
|
that might be needed only for building libcurl. Further, curl-config --cflags
|
|
|
|
suffers from the same effects with CFLAGS/CPPFLAGS.
|
2016-04-06 15:20:18 +08:00
|
|
|
|
2023-07-23 23:00:29 +08:00
|
|
|
5.3 building for old macOS fails with gcc
|
|
|
|
|
|
|
|
Building curl for certain old macOS versions fails when gcc is used. We
|
|
|
|
command using clang in those cases.
|
|
|
|
|
|
|
|
See https://github.com/curl/curl/issues/11441
|
|
|
|
|
2021-10-31 23:34:44 +08:00
|
|
|
5.5 cannot handle Unicode arguments in non-Unicode builds on Windows
|
2016-04-06 15:20:18 +08:00
|
|
|
|
2021-10-31 23:34:44 +08:00
|
|
|
If a URL or filename cannot be encoded using the user's current codepage then
|
2016-04-06 15:20:18 +08:00
|
|
|
it can only be encoded properly in the Unicode character set. Windows uses
|
|
|
|
UTF-16 encoding for Unicode and stores it in wide characters, however curl
|
2020-01-03 06:07:34 +08:00
|
|
|
and libcurl are not equipped for that at the moment except when built with
|
2024-06-13 21:40:39 +08:00
|
|
|
_UNICODE and UNICODE defined. Except for Cygwin, Windows cannot use UTF-8 as
|
|
|
|
a locale.
|
2016-04-06 15:20:18 +08:00
|
|
|
|
2020-11-04 21:02:01 +08:00
|
|
|
https://curl.se/bug/?i=345
|
|
|
|
https://curl.se/bug/?i=731
|
|
|
|
https://curl.se/bug/?i=3747
|
2016-04-06 14:43:13 +08:00
|
|
|
|
2023-07-31 14:55:26 +08:00
|
|
|
5.6 cygwin: make install installs curl-config.1 twice
|
|
|
|
|
|
|
|
https://github.com/curl/curl/issues/8839
|
|
|
|
|
2020-03-05 21:27:14 +08:00
|
|
|
5.11 configure --with-gssapi with Heimdal is ignored on macOS
|
|
|
|
|
|
|
|
... unless you also pass --with-gssapi-libs
|
|
|
|
|
|
|
|
https://github.com/curl/curl/issues/3841
|
|
|
|
|
2023-04-14 00:15:31 +08:00
|
|
|
5.12 flaky CI builds
|
2021-07-06 05:30:44 +08:00
|
|
|
|
|
|
|
We run many CI builds for each commit and PR on github, and especially a
|
2021-11-01 20:43:11 +08:00
|
|
|
number of the Windows builds are flaky. This means that we rarely get all CI
|
|
|
|
builds go green and complete without errors. This is unfortunate as it makes
|
|
|
|
us sometimes miss actual build problems and it is surprising to newcomers to
|
2021-10-31 23:34:44 +08:00
|
|
|
the project who (rightfully) do not expect this.
|
2021-07-06 05:30:44 +08:00
|
|
|
|
|
|
|
See https://github.com/curl/curl/issues/6972
|
2022-08-10 15:23:25 +08:00
|
|
|
|
|
|
|
5.13 long paths are not fully supported on Windows
|
|
|
|
|
|
|
|
curl on Windows cannot access long paths (paths longer than 260 characters).
|
|
|
|
However, as a workaround, the Windows path prefix \\?\ which disables all path
|
|
|
|
interpretation may work to allow curl to access the path. For example:
|
|
|
|
\\?\c:\longpath.
|
|
|
|
|
|
|
|
See https://github.com/curl/curl/issues/8361
|
2021-07-06 05:30:44 +08:00
|
|
|
|
2022-08-13 15:47:12 +08:00
|
|
|
5.14 Windows Unicode builds use homedir in current locale
|
|
|
|
|
|
|
|
The Windows Unicode builds of curl use the current locale, but expect Unicode
|
|
|
|
UTF-8 encoded paths for internal use such as open, access and stat. The user's
|
|
|
|
home directory is retrieved via curl_getenv in the current locale and not as
|
|
|
|
UTF-8 encoded Unicode.
|
|
|
|
|
|
|
|
See https://github.com/curl/curl/pull/7252 and
|
|
|
|
https://github.com/curl/curl/pull/7281
|
|
|
|
|
2024-02-07 00:39:04 +08:00
|
|
|
5.15 Unicode on Windows
|
|
|
|
|
|
|
|
Passing in a unicode filename with -o:
|
|
|
|
|
|
|
|
https://github.com/curl/curl/issues/11461
|
|
|
|
|
|
|
|
Passing in unicode character with -d:
|
|
|
|
|
|
|
|
https://github.com/curl/curl/issues/12231
|
|
|
|
|
2016-04-06 15:20:18 +08:00
|
|
|
6. Authentication
|
|
|
|
|
|
|
|
6.1 NTLM authentication and unicode
|
|
|
|
|
2024-06-13 21:40:39 +08:00
|
|
|
NTLM authentication involving unicode username or password only works
|
2020-08-07 23:11:52 +08:00
|
|
|
properly if built with UNICODE defined together with the Schannel
|
2016-04-06 15:20:18 +08:00
|
|
|
backend. The original problem was mentioned in:
|
2020-11-04 21:02:01 +08:00
|
|
|
https://curl.se/mail/lib-2009-10/0024.html
|
|
|
|
https://curl.se/bug/view.cgi?id=896
|
2016-04-06 15:20:18 +08:00
|
|
|
|
2020-08-07 23:11:52 +08:00
|
|
|
The Schannel version verified to work as mentioned in
|
2020-11-04 21:02:01 +08:00
|
|
|
https://curl.se/mail/lib-2012-07/0073.html
|
2016-04-06 15:20:18 +08:00
|
|
|
|
|
|
|
6.2 MIT Kerberos for Windows build
|
|
|
|
|
|
|
|
libcurl fails to build with MIT Kerberos for Windows (KfW) due to KfW's
|
|
|
|
library header files exporting symbols/macros that should be kept private to
|
2017-08-09 03:22:34 +08:00
|
|
|
the KfW library. See ticket #5601 at https://krbdev.mit.edu/rt/
|
2016-04-06 15:20:18 +08:00
|
|
|
|
|
|
|
6.3 NTLM in system context uses wrong name
|
|
|
|
|
|
|
|
NTLM authentication using SSPI (on Windows) when (lib)curl is running in
|
2024-06-13 21:40:39 +08:00
|
|
|
"system context" makes it use wrong(?) username - at least when compared to
|
|
|
|
what winhttp does. See https://curl.se/bug/view.cgi?id=535
|
2016-04-06 15:20:18 +08:00
|
|
|
|
2021-10-31 23:34:44 +08:00
|
|
|
6.5 NTLM does not support password with § character
|
2018-06-14 20:04:48 +08:00
|
|
|
|
|
|
|
https://github.com/curl/curl/issues/2120
|
2016-04-06 15:20:18 +08:00
|
|
|
|
2018-11-09 23:50:39 +08:00
|
|
|
6.6 libcurl can fail to try alternatives with --proxy-any
|
|
|
|
|
|
|
|
When connecting via a proxy using --proxy-any, a failure to establish an
|
2024-06-13 21:40:39 +08:00
|
|
|
authentication causes libcurl to abort trying other options if the failed
|
|
|
|
method has a higher preference than the alternatives. As an example,
|
2018-11-09 23:50:39 +08:00
|
|
|
--proxy-any against a proxy which advertise Negotiate and NTLM, but which
|
2024-06-13 21:40:39 +08:00
|
|
|
fails to set up Kerberos authentication does not proceed to try
|
|
|
|
authentication using NTLM.
|
2018-11-09 23:50:39 +08:00
|
|
|
|
|
|
|
https://github.com/curl/curl/issues/876
|
|
|
|
|
2021-10-31 23:34:44 +08:00
|
|
|
6.7 Do not clear digest for single realm
|
2019-06-25 05:26:59 +08:00
|
|
|
|
|
|
|
https://github.com/curl/curl/issues/3267
|
|
|
|
|
2020-12-14 14:08:15 +08:00
|
|
|
6.9 SHA-256 digest not supported in Windows SSPI builds
|
|
|
|
|
|
|
|
Windows builds of curl that have SSPI enabled use the native Windows API calls
|
|
|
|
to create authentication strings. The call to InitializeSecurityContext fails
|
|
|
|
with SEC_E_QOP_NOT_SUPPORTED which causes curl to fail with CURLE_AUTH_ERROR.
|
|
|
|
|
|
|
|
Microsoft does not document supported digest algorithms and that SEC_E error
|
|
|
|
code is not a documented error for InitializeSecurityContext (digest).
|
|
|
|
|
|
|
|
https://github.com/curl/curl/issues/6302
|
|
|
|
|
2020-12-26 00:16:19 +08:00
|
|
|
6.10 curl never completes Negotiate over HTTP
|
|
|
|
|
2021-10-31 23:34:44 +08:00
|
|
|
Apparently it is not working correctly...?
|
2020-12-26 00:16:19 +08:00
|
|
|
|
|
|
|
See https://github.com/curl/curl/issues/5235
|
|
|
|
|
2021-06-16 20:29:11 +08:00
|
|
|
6.11 Negotiate on Windows fails
|
|
|
|
|
2022-05-20 19:43:35 +08:00
|
|
|
When using --negotiate (or NTLM) with curl on Windows, SSL/TLS handshake
|
2021-06-16 20:29:11 +08:00
|
|
|
fails despite having a valid kerberos ticket cached. Works without any issue
|
|
|
|
in Unix/Linux.
|
|
|
|
|
|
|
|
https://github.com/curl/curl/issues/5881
|
|
|
|
|
2021-10-31 23:34:44 +08:00
|
|
|
6.12 cannot use Secure Transport with Crypto Token Kit
|
2021-08-17 16:29:00 +08:00
|
|
|
|
|
|
|
https://github.com/curl/curl/issues/7048
|
2021-06-16 20:29:11 +08:00
|
|
|
|
2022-08-08 22:45:51 +08:00
|
|
|
6.13 Negotiate authentication against Hadoop HDFS
|
|
|
|
|
|
|
|
https://github.com/curl/curl/issues/8264
|
|
|
|
|
2016-04-06 15:20:18 +08:00
|
|
|
7. FTP
|
|
|
|
|
2024-06-13 21:40:39 +08:00
|
|
|
7.1 FTP upload fails if remembered directory is deleted
|
2024-02-11 01:31:31 +08:00
|
|
|
|
|
|
|
curl's FTP code assumes that the directory it entered in a previous transfer
|
|
|
|
still exists when it comes back to do a second transfer, and does not respond
|
|
|
|
well if it was indeed deleted in the mean time.
|
|
|
|
|
|
|
|
https://github.com/curl/curl/issues/12181
|
|
|
|
|
2024-02-28 00:46:19 +08:00
|
|
|
7.2 Implicit FTPS upload timeout
|
|
|
|
|
|
|
|
https://github.com/curl/curl/issues/11720
|
|
|
|
|
2016-04-06 15:20:18 +08:00
|
|
|
7.3 FTP with NOBODY and FAILONERROR
|
|
|
|
|
|
|
|
It seems sensible to be able to use CURLOPT_NOBODY and CURLOPT_FAILONERROR
|
|
|
|
with FTP to detect if a file exists or not, but it is not working:
|
2020-11-04 21:02:01 +08:00
|
|
|
https://curl.se/mail/lib-2008-07/0295.html
|
2016-04-06 15:20:18 +08:00
|
|
|
|
|
|
|
7.4 FTP with ACCT
|
|
|
|
|
|
|
|
When doing an operation over FTP that requires the ACCT command (but not when
|
2024-06-13 21:40:39 +08:00
|
|
|
logging in), the operation fails since libcurl does not detect this and thus
|
|
|
|
fails to issue the correct command: https://curl.se/bug/view.cgi?id=635
|
2016-04-06 15:20:18 +08:00
|
|
|
|
2024-03-03 15:15:24 +08:00
|
|
|
7.12 FTPS server compatibility on Windows with Schannel
|
|
|
|
|
2024-06-13 21:40:39 +08:00
|
|
|
FTPS is not widely used with the Schannel TLS backend and so there may be
|
|
|
|
more bugs compared to other TLS backends such as OpenSSL. In the past users
|
|
|
|
have reported hanging and failed connections. It is likely some changes to
|
|
|
|
curl since then fixed the issues. None of the reported issues can be
|
|
|
|
reproduced any longer.
|
2022-08-13 06:32:12 +08:00
|
|
|
|
2024-03-03 15:15:24 +08:00
|
|
|
If you encounter an issue connecting to your server via FTPS with the latest
|
|
|
|
curl and Schannel then please search for open issues or file a new issue.
|
2022-08-13 06:32:12 +08:00
|
|
|
|
2016-04-06 15:20:18 +08:00
|
|
|
9. SFTP and SCP
|
|
|
|
|
2021-10-31 23:34:44 +08:00
|
|
|
9.1 SFTP does not do CURLOPT_POSTQUOTE correct
|
2016-04-06 15:20:18 +08:00
|
|
|
|
|
|
|
When libcurl sends CURLOPT_POSTQUOTE commands when connected to a SFTP server
|
|
|
|
using the multi interface, the commands are not being sent correctly and
|
|
|
|
instead the connection is "cancelled" (the operation is considered done)
|
|
|
|
prematurely. There is a half-baked (busy-looping) patch provided in the bug
|
|
|
|
report but it cannot be accepted as-is. See
|
2020-11-04 21:02:01 +08:00
|
|
|
https://curl.se/bug/view.cgi?id=748
|
2016-04-06 15:20:18 +08:00
|
|
|
|
2021-10-31 23:34:44 +08:00
|
|
|
9.2 wolfssh: publickey auth does not work
|
2020-05-15 23:01:32 +08:00
|
|
|
|
|
|
|
When building curl to use the wolfSSH backend for SFTP, the publickey
|
2021-10-31 23:34:44 +08:00
|
|
|
authentication does not work. This is simply functionality not written for curl
|
2020-05-15 23:01:32 +08:00
|
|
|
yet, the necessary API for make this work is provided by wolfSSH.
|
|
|
|
|
|
|
|
See https://github.com/curl/curl/issues/4820
|
2016-04-06 15:20:18 +08:00
|
|
|
|
2020-12-21 05:49:36 +08:00
|
|
|
9.3 Remote recursive folder creation with SFTP
|
|
|
|
|
|
|
|
On this servers, the curl fails to create directories on the remote server
|
2022-01-27 09:12:50 +08:00
|
|
|
even when the CURLOPT_FTP_CREATE_MISSING_DIRS option is set.
|
2020-12-21 05:49:36 +08:00
|
|
|
|
|
|
|
See https://github.com/curl/curl/issues/5204
|
|
|
|
|
2022-08-13 06:25:31 +08:00
|
|
|
9.4 libssh blocking and infinite loop problem
|
|
|
|
|
|
|
|
In the SSH_SFTP_INIT state for libssh, the ssh session working mode is set to
|
|
|
|
blocking mode. If the network is suddenly disconnected during sftp
|
2024-06-13 21:40:39 +08:00
|
|
|
transmission, curl is stuck, even if curl is configured with a timeout.
|
2022-08-13 06:25:31 +08:00
|
|
|
|
|
|
|
https://github.com/curl/curl/issues/8632
|
|
|
|
|
2023-07-28 05:43:28 +08:00
|
|
|
9.5 cygwin: "WARNING: UNPROTECTED PRIVATE KEY FILE!"
|
|
|
|
|
|
|
|
Running SCP and SFTP tests on cygwin makes this warning message appear.
|
|
|
|
|
|
|
|
https://github.com/curl/curl/issues/11244
|
2020-12-21 05:49:36 +08:00
|
|
|
|
2016-04-06 15:20:18 +08:00
|
|
|
10. SOCKS
|
|
|
|
|
|
|
|
10.3 FTPS over SOCKS
|
|
|
|
|
2021-10-31 23:34:44 +08:00
|
|
|
libcurl does not support FTPS over a SOCKS proxy.
|
2016-04-06 15:20:18 +08:00
|
|
|
|
2016-04-08 19:21:52 +08:00
|
|
|
|
|
|
|
11. Internals
|
|
|
|
|
2024-05-09 17:24:07 +08:00
|
|
|
11.1 gssapi library name + version is missing in curl_version_info()
|
|
|
|
|
|
|
|
The struct needs to be expanded and code added to store this info.
|
|
|
|
|
|
|
|
See https://github.com/curl/curl/issues/13492
|
|
|
|
|
2016-04-08 19:23:28 +08:00
|
|
|
11.2 error buffer not set if connection to multiple addresses fails
|
|
|
|
|
|
|
|
If you ask libcurl to resolve a hostname like example.com to IPv6 addresses
|
2024-06-13 21:40:39 +08:00
|
|
|
when you only have IPv4 connectivity. libcurl fails with
|
|
|
|
CURLE_COULDNT_CONNECT, but the error buffer set by CURLOPT_ERRORBUFFER
|
2016-04-08 19:23:28 +08:00
|
|
|
remains empty. Issue: https://github.com/curl/curl/issues/544
|
2016-04-08 22:49:49 +08:00
|
|
|
|
2024-06-19 18:02:40 +08:00
|
|
|
11.3 TFTP tests fail on OpenBSD
|
|
|
|
|
|
|
|
When adding an OpenBSD job with tests to GHA, some tests consistently fail
|
|
|
|
to run.
|
|
|
|
|
|
|
|
See https://github.com/curl/curl/issues/13623
|
|
|
|
|
2017-08-18 22:04:55 +08:00
|
|
|
11.4 HTTP test server 'connection-monitor' problems
|
|
|
|
|
2021-10-31 23:34:44 +08:00
|
|
|
The 'connection-monitor' feature of the sws HTTP test server does not work
|
2017-08-18 22:04:55 +08:00
|
|
|
properly if some tests are run in unexpected order. Like 1509 and then 1525.
|
|
|
|
|
|
|
|
See https://github.com/curl/curl/issues/868
|
|
|
|
|
2018-04-30 16:17:10 +08:00
|
|
|
11.5 Connection information when using TCP Fast Open
|
|
|
|
|
|
|
|
CURLINFO_LOCAL_PORT (and possibly a few other) fails when TCP Fast Open is
|
|
|
|
enabled.
|
|
|
|
|
2019-12-16 23:17:16 +08:00
|
|
|
See https://github.com/curl/curl/issues/1332 and
|
|
|
|
https://github.com/curl/curl/issues/4296
|
2018-04-30 16:17:10 +08:00
|
|
|
|
2024-06-27 22:37:25 +08:00
|
|
|
11.6 test cases sometimes timeout
|
|
|
|
|
|
|
|
Occasionally, one of the tests timeouts. Inexplicably.
|
|
|
|
|
|
|
|
See https://github.com/curl/curl/issues/13350
|
|
|
|
|
2020-11-18 23:43:56 +08:00
|
|
|
12. LDAP
|
2016-04-08 22:49:49 +08:00
|
|
|
|
|
|
|
12.1 OpenLDAP hangs after returning results
|
|
|
|
|
2022-09-21 05:30:19 +08:00
|
|
|
By configuration defaults, OpenLDAP automatically chase referrals on
|
2016-04-08 22:49:49 +08:00
|
|
|
secondary socket descriptors. The OpenLDAP backend is asynchronous and thus
|
|
|
|
should monitor all socket descriptors involved. Currently, these secondary
|
2022-09-21 05:30:19 +08:00
|
|
|
descriptors are not monitored, causing OpenLDAP library to never receive
|
2016-04-08 22:49:49 +08:00
|
|
|
data from them.
|
|
|
|
|
|
|
|
As a temporary workaround, disable referrals chasing by configuration.
|
|
|
|
|
|
|
|
The fix is not easy: proper automatic referrals chasing requires a
|
|
|
|
synchronous bind callback and monitoring an arbitrary number of socket
|
|
|
|
descriptors for a single easy handle (currently limited to 5).
|
|
|
|
|
|
|
|
Generic LDAP is synchronous: OK.
|
|
|
|
|
|
|
|
See https://github.com/curl/curl/issues/622 and
|
2020-11-04 21:02:01 +08:00
|
|
|
https://curl.se/mail/lib-2016-01/0101.html
|
2016-04-25 17:20:23 +08:00
|
|
|
|
2019-10-13 04:45:13 +08:00
|
|
|
12.2 LDAP on Windows does authentication wrong?
|
|
|
|
|
|
|
|
https://github.com/curl/curl/issues/3116
|
2016-04-25 17:20:23 +08:00
|
|
|
|
2021-10-31 23:34:44 +08:00
|
|
|
12.3 LDAP on Windows does not work
|
2019-12-16 23:15:39 +08:00
|
|
|
|
|
|
|
A simple curl command line getting "ldap://ldap.forumsys.com" returns an
|
|
|
|
error that says "no memory" !
|
|
|
|
|
|
|
|
https://github.com/curl/curl/issues/4261
|
|
|
|
|
2023-08-15 20:21:15 +08:00
|
|
|
12.4 LDAPS requests to ActiveDirectory server hang
|
|
|
|
|
|
|
|
https://github.com/curl/curl/issues/9580
|
|
|
|
|
2016-10-16 17:53:54 +08:00
|
|
|
13. TCP/IP
|
2016-04-25 17:20:23 +08:00
|
|
|
|
2022-01-02 00:59:56 +08:00
|
|
|
13.2 Trying local ports fails on Windows
|
|
|
|
|
2023-08-22 23:40:39 +08:00
|
|
|
This makes '--local-port [range]' to not work since curl cannot properly
|
2024-06-13 21:40:39 +08:00
|
|
|
detect if a port is already in use, so it tries the first port, uses that and
|
|
|
|
then subsequently fails anyway if that was actually in use.
|
2022-01-02 00:59:56 +08:00
|
|
|
|
|
|
|
https://github.com/curl/curl/issues/8112
|
|
|
|
|
2020-11-18 23:43:56 +08:00
|
|
|
15. CMake
|
|
|
|
|
2023-07-31 14:51:32 +08:00
|
|
|
15.1 cmake outputs: no version information available
|
|
|
|
|
|
|
|
Something in the SONAME generation seems to be wrong in the cmake build.
|
|
|
|
|
|
|
|
https://github.com/curl/curl/issues/11158
|
|
|
|
|
2020-11-18 23:43:56 +08:00
|
|
|
15.2 support build with GnuTLS
|
|
|
|
|
|
|
|
15.3 unusable tool_hugehelp.c with MinGW
|
|
|
|
|
|
|
|
see https://github.com/curl/curl/issues/3125
|
|
|
|
|
2020-11-18 23:49:29 +08:00
|
|
|
15.6 uses -lpthread instead of Threads::Threads
|
|
|
|
|
|
|
|
See https://github.com/curl/curl/issues/6166
|
2020-11-18 23:50:41 +08:00
|
|
|
|
|
|
|
15.7 generated .pc file contains strange entries
|
|
|
|
|
|
|
|
The Libs.private field of the generated .pc file contains -lgcc -lgcc_s -lc
|
|
|
|
-lgcc -lgcc_s
|
|
|
|
|
|
|
|
See https://github.com/curl/curl/issues/6167
|
2020-11-18 23:53:28 +08:00
|
|
|
|
2021-01-28 16:27:41 +08:00
|
|
|
15.11 ExternalProject_Add does not set CURL_CA_PATH
|
|
|
|
|
|
|
|
CURL_CA_BUNDLE and CURL_CA_PATH are not set properly when cmake's
|
|
|
|
ExternalProject_Add is used to build curl as a dependency.
|
|
|
|
|
|
|
|
See https://github.com/curl/curl/issues/6313
|
|
|
|
|
2021-08-16 15:40:32 +08:00
|
|
|
15.13 CMake build with MIT Kerberos does not work
|
|
|
|
|
|
|
|
Minimum CMake version was bumped in curl 7.71.0 (#5358) Since CMake 3.2
|
2021-12-09 19:03:35 +08:00
|
|
|
try_compile started respecting the CMAKE_EXE_FLAGS. The code dealing with
|
2021-08-16 15:40:32 +08:00
|
|
|
MIT Kerberos detection sets few variables to potentially weird mix of space,
|
|
|
|
and ;-separated flags. It had to blow up at some point. All the CMake checks
|
|
|
|
that involve compilation are doomed from that point, the configured tree
|
|
|
|
cannot be built.
|
|
|
|
|
|
|
|
https://github.com/curl/curl/issues/6904
|
|
|
|
|
2023-08-07 05:04:57 +08:00
|
|
|
16. aws-sigv4
|
|
|
|
|
2023-08-22 23:40:39 +08:00
|
|
|
16.1 aws-sigv4 does not sign requests with * correctly
|
2023-08-07 05:04:57 +08:00
|
|
|
|
|
|
|
https://github.com/curl/curl/issues/7559
|
|
|
|
|
2024-06-03 16:02:33 +08:00
|
|
|
16.2 aws-sigv4 does not handle multipart/form-data correctly
|
|
|
|
|
|
|
|
https://github.com/curl/curl/issues/13351
|
|
|
|
|
2024-06-03 16:04:50 +08:00
|
|
|
16.3 aws-sigv4 has problems with particular URLs
|
|
|
|
|
|
|
|
https://github.com/curl/curl/issues/13058
|
|
|
|
|
2023-08-07 05:38:28 +08:00
|
|
|
16.6 aws-sigv4 does not behave well with AWS VPC Lattice
|
|
|
|
|
|
|
|
https://github.com/curl/curl/issues/11007
|
|
|
|
|
2021-05-03 23:22:52 +08:00
|
|
|
17. HTTP/2
|
|
|
|
|
2024-02-28 00:44:55 +08:00
|
|
|
17.1 HTTP/2 prior knowledge over proxy
|
|
|
|
|
|
|
|
https://github.com/curl/curl/issues/12641
|
|
|
|
|
2021-05-03 23:22:52 +08:00
|
|
|
17.2 HTTP/2 frames while in the connection pool kill reuse
|
|
|
|
|
|
|
|
If the server sends HTTP/2 frames (like for example an HTTP/2 PING frame) to
|
2024-06-13 21:40:39 +08:00
|
|
|
curl while the connection is held in curl's connection pool, the socket is
|
|
|
|
found readable when considered for reuse and that makes curl think it is dead
|
|
|
|
and then it is closed and a new connection gets created instead.
|
2021-05-03 23:22:52 +08:00
|
|
|
|
|
|
|
This is *best* fixed by adding monitoring to connections while they are kept
|
|
|
|
in the pool so that pings can be responded to appropriately.
|
|
|
|
|
2021-05-03 23:27:35 +08:00
|
|
|
17.3 ENHANCE_YOUR_CALM causes infinite retries
|
|
|
|
|
|
|
|
Infinite retries with 2 parallel requests on one connection receiving GOAWAY
|
|
|
|
with ENHANCE_YOUR_CALM error code.
|
|
|
|
|
|
|
|
See https://github.com/curl/curl/issues/5119
|
|
|
|
|
2024-06-15 05:56:37 +08:00
|
|
|
17.4 HTTP/2 + TLS spends a lot of time in recv
|
|
|
|
|
|
|
|
It has been observered that by making the speed limit less accurate we could
|
|
|
|
improve this performance. (by reverting
|
|
|
|
https://github.com/curl/curl/commit/db5c9f4f9e0779b49624752b135281a0717b277b)
|
|
|
|
Can we find a golden middle ground?
|
|
|
|
|
|
|
|
See https://curl.se/mail/lib-2024-05/0026.html and
|
|
|
|
https://github.com/curl/curl/issues/13416
|
|
|
|
|
2021-05-03 23:22:52 +08:00
|
|
|
18. HTTP/3
|
|
|
|
|
2023-04-14 00:15:31 +08:00
|
|
|
18.1 connection migration does not work
|
2021-09-20 05:20:42 +08:00
|
|
|
|
|
|
|
https://github.com/curl/curl/issues/7695
|
2023-12-28 06:15:09 +08:00
|
|
|
|
2024-06-03 16:10:47 +08:00
|
|
|
18.2 quiche: QUIC connection is draining
|
|
|
|
|
|
|
|
The transfer ends with error "QUIC connection is draining".
|
|
|
|
|
|
|
|
https://github.com/curl/curl/issues/12037
|
|
|
|
|
2023-12-28 06:15:09 +08:00
|
|
|
19. RTSP
|
|
|
|
|
|
|
|
19.1 Some methods do not support response bodies
|
|
|
|
|
|
|
|
The RTSP implementation is written to assume that a number of RTSP methods
|
2024-06-13 21:40:39 +08:00
|
|
|
always get responses without bodies, even though there seems to be no
|
2023-12-28 06:15:09 +08:00
|
|
|
indication in the RFC that this is always the case.
|
|
|
|
|
|
|
|
https://github.com/curl/curl/issues/12414
|