KNOWN_BUGS 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604
  1. _ _ ____ _
  2. ___| | | | _ \| |
  3. / __| | | | |_) | |
  4. | (__| |_| | _ <| |___
  5. \___|\___/|_| \_\_____|
  6. Known Bugs
  7. These are problems and bugs known to exist at the time of this release. Feel
  8. free to join in and help us correct one or more of these. Also be sure to
  9. check the changelog of the current development status, as one or more of these
  10. problems may have been fixed or changed somewhat since this was written.
  11. 1. HTTP
  12. 1.2 hyper is slow
  13. 1.5 Expect-100 meets 417
  14. 2. TLS
  15. 2.3 Unable to use PKCS12 certificate with Secure Transport
  16. 2.4 Secure Transport will not import PKCS#12 client certificates without a password
  17. 2.5 Client cert handling with Issuer DN differs between backends
  18. 2.7 Client cert (MTLS) issues with Schannel
  19. 2.11 Schannel TLS 1.2 handshake bug in old Windows versions
  20. 2.12 FTPS with Schannel times out file list operation
  21. 2.13 CURLOPT_CERTINFO results in CURLE_OUT_OF_MEMORY with Schannel
  22. 3. Email protocols
  23. 3.1 IMAP SEARCH ALL truncated response
  24. 3.2 No disconnect command
  25. 3.3 POP3 expects "CRLF.CRLF" eob for some single-line responses
  26. 3.4 AUTH PLAIN for SMTP is not working on all servers
  27. 3.5 APOP authentication fails on POP3
  28. 4. Command line
  29. 5. Build and portability issues
  30. 5.1 OS400 port requires deprecated IBM library
  31. 5.2 curl-config --libs contains private details
  32. 5.3 building for old macOS fails with gcc
  33. 5.5 cannot handle Unicode arguments in non-Unicode builds on Windows
  34. 5.6 cygwin: make install installs curl-config.1 twice
  35. 5.9 Utilize Requires.private directives in libcurl.pc
  36. 5.11 configure --with-gssapi with Heimdal is ignored on macOS
  37. 5.12 flaky CI builds
  38. 5.13 long paths are not fully supported on Windows
  39. 5.14 Windows Unicode builds use homedir in current locale
  40. 6. Authentication
  41. 6.1 NTLM authentication and unicode
  42. 6.2 MIT Kerberos for Windows build
  43. 6.3 NTLM in system context uses wrong name
  44. 6.5 NTLM does not support password with § character
  45. 6.6 libcurl can fail to try alternatives with --proxy-any
  46. 6.7 Do not clear digest for single realm
  47. 6.9 SHA-256 digest not supported in Windows SSPI builds
  48. 6.10 curl never completes Negotiate over HTTP
  49. 6.11 Negotiate on Windows fails
  50. 6.12 cannot use Secure Transport with Crypto Token Kit
  51. 6.13 Negotiate against Hadoop HDFS
  52. 7. FTP
  53. 7.3 FTP with NOBODY and FAILONERROR
  54. 7.4 FTP with ACCT
  55. 7.11 FTPS upload data loss with TLS 1.3
  56. 7.12 FTPS directory listing hangs on Windows with Schannel
  57. 9. SFTP and SCP
  58. 9.1 SFTP does not do CURLOPT_POSTQUOTE correct
  59. 9.2 wolfssh: publickey auth does not work
  60. 9.3 Remote recursive folder creation with SFTP
  61. 9.4 libssh blocking and infinite loop problem
  62. 9.5 cygwin: "WARNING: UNPROTECTED PRIVATE KEY FILE!"
  63. 10. SOCKS
  64. 10.3 FTPS over SOCKS
  65. 11. Internals
  66. 11.2 error buffer not set if connection to multiple addresses fails
  67. 11.4 HTTP test server 'connection-monitor' problems
  68. 11.5 Connection information when using TCP Fast Open
  69. 12. LDAP
  70. 12.1 OpenLDAP hangs after returning results
  71. 12.2 LDAP on Windows does authentication wrong?
  72. 12.3 LDAP on Windows does not work
  73. 12.4 LDAPS requests to ActiveDirectory server hang
  74. 13. TCP/IP
  75. 13.2 Trying local ports fails on Windows
  76. 15. CMake
  77. 15.1 cmake outputs: no version information available
  78. 15.2 support build with GnuTLS
  79. 15.3 unusable tool_hugehelp.c with MinGW
  80. 15.4 build docs/curl.1
  81. 15.6 uses -lpthread instead of Threads::Threads
  82. 15.7 generated .pc file contains strange entries
  83. 15.8 libcurl.pc uses absolute library paths
  84. 15.11 ExternalProject_Add does not set CURL_CA_PATH
  85. 15.13 CMake build with MIT Kerberos does not work
  86. 16. aws-sigv4
  87. 16.1 aws-sigv4 does not sign requests with * correctly
  88. 16.6 aws-sigv4 does not behave well with AWS VPC Lattice
  89. 17. HTTP/2
  90. 17.2 HTTP/2 frames while in the connection pool kill reuse
  91. 17.3 ENHANCE_YOUR_CALM causes infinite retries
  92. 18. HTTP/3
  93. 18.1 connection migration does not work
  94. ==============================================================================
  95. 1. HTTP
  96. 1.2 hyper is slow
  97. When curl is built to use hyper for HTTP, it is unnecessary slow.
  98. https://github.com/curl/curl/issues/11203
  99. 1.5 Expect-100 meets 417
  100. If an upload using Expect: 100-continue receives an HTTP 417 response, it
  101. ought to be automatically resent without the Expect:. A workaround is for
  102. the client application to redo the transfer after disabling Expect:.
  103. https://curl.se/mail/archive-2008-02/0043.html
  104. 2. TLS
  105. 2.3 Unable to use PKCS12 certificate with Secure Transport
  106. See https://github.com/curl/curl/issues/5403
  107. 2.4 Secure Transport will not import PKCS#12 client certificates without a password
  108. libcurl calls SecPKCS12Import with the PKCS#12 client certificate, but that
  109. function rejects certificates that do not have a password.
  110. https://github.com/curl/curl/issues/1308
  111. 2.5 Client cert handling with Issuer DN differs between backends
  112. When the specified client certificate does not match any of the
  113. server-specified DNs, the OpenSSL and GnuTLS backends behave differently.
  114. The github discussion may contain a solution.
  115. See https://github.com/curl/curl/issues/1411
  116. 2.7 Client cert (MTLS) issues with Schannel
  117. See https://github.com/curl/curl/issues/3145
  118. 2.11 Schannel TLS 1.2 handshake bug in old Windows versions
  119. In old versions of Windows such as 7 and 8.1 the Schannel TLS 1.2 handshake
  120. implementation likely has a bug that can rarely cause the key exchange to
  121. fail, resulting in error SEC_E_BUFFER_TOO_SMALL or SEC_E_MESSAGE_ALTERED.
  122. https://github.com/curl/curl/issues/5488
  123. 2.12 FTPS with Schannel times out file list operation
  124. "Instead of the command completing, it just sits there until the timeout
  125. expires." - the same command line seems to work with other TLS backends and
  126. other operating systems. See https://github.com/curl/curl/issues/5284.
  127. 2.13 CURLOPT_CERTINFO results in CURLE_OUT_OF_MEMORY with Schannel
  128. https://github.com/curl/curl/issues/8741
  129. 3. Email protocols
  130. 3.1 IMAP SEARCH ALL truncated response
  131. IMAP "SEARCH ALL" truncates output on large boxes. "A quick search of the
  132. code reveals that pingpong.c contains some truncation code, at line 408, when
  133. it deems the server response to be too large truncating it to 40 characters"
  134. https://curl.se/bug/view.cgi?id=1366
  135. 3.2 No disconnect command
  136. The disconnect commands (LOGOUT and QUIT) may not be sent by IMAP, POP3 and
  137. SMTP if a failure occurs during the authentication phase of a connection.
  138. 3.3 POP3 expects "CRLF.CRLF" eob for some single-line responses
  139. You have to tell libcurl not to expect a body, when dealing with one line
  140. response commands. Please see the POP3 examples and test cases which show
  141. this for the NOOP and DELE commands. https://curl.se/bug/?i=740
  142. 3.4 AUTH PLAIN for SMTP is not working on all servers
  143. Specifying "--login-options AUTH=PLAIN" on the command line does not seem to
  144. work correctly.
  145. See https://github.com/curl/curl/issues/4080
  146. 3.5 APOP authentication fails on POP3
  147. See https://github.com/curl/curl/issues/10073
  148. 4. Command line
  149. 5. Build and portability issues
  150. 5.1 OS400 port requires deprecated IBM library
  151. curl for OS400 requires QADRT to build, which provides ASCII wrappers for
  152. libc/POSIX functions in the ILE, but IBM no longer supports or even offers
  153. this library to download.
  154. See https://github.com/curl/curl/issues/5176
  155. 5.2 curl-config --libs contains private details
  156. "curl-config --libs" will include details set in LDFLAGS when configure is
  157. run that might be needed only for building libcurl. Further, curl-config
  158. --cflags suffers from the same effects with CFLAGS/CPPFLAGS.
  159. 5.3 building for old macOS fails with gcc
  160. Building curl for certain old macOS versions fails when gcc is used. We
  161. command using clang in those cases.
  162. See https://github.com/curl/curl/issues/11441
  163. 5.5 cannot handle Unicode arguments in non-Unicode builds on Windows
  164. If a URL or filename cannot be encoded using the user's current codepage then
  165. it can only be encoded properly in the Unicode character set. Windows uses
  166. UTF-16 encoding for Unicode and stores it in wide characters, however curl
  167. and libcurl are not equipped for that at the moment except when built with
  168. _UNICODE and UNICODE defined. And, except for Cygwin, Windows cannot use UTF-8
  169. as a locale.
  170. https://curl.se/bug/?i=345
  171. https://curl.se/bug/?i=731
  172. https://curl.se/bug/?i=3747
  173. 5.6 cygwin: make install installs curl-config.1 twice
  174. https://github.com/curl/curl/issues/8839
  175. 5.9 Utilize Requires.private directives in libcurl.pc
  176. https://github.com/curl/curl/issues/864
  177. 5.11 configure --with-gssapi with Heimdal is ignored on macOS
  178. ... unless you also pass --with-gssapi-libs
  179. https://github.com/curl/curl/issues/3841
  180. 5.12 flaky CI builds
  181. We run many CI builds for each commit and PR on github, and especially a
  182. number of the Windows builds are flaky. This means that we rarely get all CI
  183. builds go green and complete without errors. This is unfortunate as it makes
  184. us sometimes miss actual build problems and it is surprising to newcomers to
  185. the project who (rightfully) do not expect this.
  186. See https://github.com/curl/curl/issues/6972
  187. 5.13 long paths are not fully supported on Windows
  188. curl on Windows cannot access long paths (paths longer than 260 characters).
  189. However, as a workaround, the Windows path prefix \\?\ which disables all path
  190. interpretation may work to allow curl to access the path. For example:
  191. \\?\c:\longpath.
  192. See https://github.com/curl/curl/issues/8361
  193. 5.14 Windows Unicode builds use homedir in current locale
  194. The Windows Unicode builds of curl use the current locale, but expect Unicode
  195. UTF-8 encoded paths for internal use such as open, access and stat. The user's
  196. home directory is retrieved via curl_getenv in the current locale and not as
  197. UTF-8 encoded Unicode.
  198. See https://github.com/curl/curl/pull/7252 and
  199. https://github.com/curl/curl/pull/7281
  200. 6. Authentication
  201. 6.1 NTLM authentication and unicode
  202. NTLM authentication involving unicode user name or password only works
  203. properly if built with UNICODE defined together with the Schannel
  204. backend. The original problem was mentioned in:
  205. https://curl.se/mail/lib-2009-10/0024.html
  206. https://curl.se/bug/view.cgi?id=896
  207. The Schannel version verified to work as mentioned in
  208. https://curl.se/mail/lib-2012-07/0073.html
  209. 6.2 MIT Kerberos for Windows build
  210. libcurl fails to build with MIT Kerberos for Windows (KfW) due to KfW's
  211. library header files exporting symbols/macros that should be kept private to
  212. the KfW library. See ticket #5601 at https://krbdev.mit.edu/rt/
  213. 6.3 NTLM in system context uses wrong name
  214. NTLM authentication using SSPI (on Windows) when (lib)curl is running in
  215. "system context" will make it use wrong(?) user name - at least when compared
  216. to what winhttp does. See https://curl.se/bug/view.cgi?id=535
  217. 6.5 NTLM does not support password with § character
  218. https://github.com/curl/curl/issues/2120
  219. 6.6 libcurl can fail to try alternatives with --proxy-any
  220. When connecting via a proxy using --proxy-any, a failure to establish an
  221. authentication will cause libcurl to abort trying other options if the
  222. failed method has a higher preference than the alternatives. As an example,
  223. --proxy-any against a proxy which advertise Negotiate and NTLM, but which
  224. fails to set up Kerberos authentication will not proceed to try authentication
  225. using NTLM.
  226. https://github.com/curl/curl/issues/876
  227. 6.7 Do not clear digest for single realm
  228. https://github.com/curl/curl/issues/3267
  229. 6.9 SHA-256 digest not supported in Windows SSPI builds
  230. Windows builds of curl that have SSPI enabled use the native Windows API calls
  231. to create authentication strings. The call to InitializeSecurityContext fails
  232. with SEC_E_QOP_NOT_SUPPORTED which causes curl to fail with CURLE_AUTH_ERROR.
  233. Microsoft does not document supported digest algorithms and that SEC_E error
  234. code is not a documented error for InitializeSecurityContext (digest).
  235. https://github.com/curl/curl/issues/6302
  236. 6.10 curl never completes Negotiate over HTTP
  237. Apparently it is not working correctly...?
  238. See https://github.com/curl/curl/issues/5235
  239. 6.11 Negotiate on Windows fails
  240. When using --negotiate (or NTLM) with curl on Windows, SSL/TLS handshake
  241. fails despite having a valid kerberos ticket cached. Works without any issue
  242. in Unix/Linux.
  243. https://github.com/curl/curl/issues/5881
  244. 6.12 cannot use Secure Transport with Crypto Token Kit
  245. https://github.com/curl/curl/issues/7048
  246. 6.13 Negotiate authentication against Hadoop HDFS
  247. https://github.com/curl/curl/issues/8264
  248. 7. FTP
  249. 7.3 FTP with NOBODY and FAILONERROR
  250. It seems sensible to be able to use CURLOPT_NOBODY and CURLOPT_FAILONERROR
  251. with FTP to detect if a file exists or not, but it is not working:
  252. https://curl.se/mail/lib-2008-07/0295.html
  253. 7.4 FTP with ACCT
  254. When doing an operation over FTP that requires the ACCT command (but not when
  255. logging in), the operation will fail since libcurl does not detect this and
  256. thus fails to issue the correct command:
  257. https://curl.se/bug/view.cgi?id=635
  258. 7.11 FTPS upload data loss with TLS 1.3
  259. During FTPS upload curl does not attempt to read TLS handshake messages sent
  260. after the initial handshake. OpenSSL servers running TLS 1.3 may send such a
  261. message. When curl closes the upload connection if unread data has been
  262. received (such as a TLS handshake message) then the TCP protocol sends an
  263. RST to the server, which may cause the server to discard or truncate the
  264. upload if it has not read all sent data yet, and then return an error to curl
  265. on the control channel connection.
  266. Since 7.78.0 this is mostly fixed. curl will do a single read before closing
  267. TLS connections (which causes the TLS library to read handshake messages),
  268. however there is still possibility of an RST if more messages need to be read
  269. or a message arrives after the read but before close (network race condition).
  270. https://github.com/curl/curl/issues/6149
  271. 7.12 FTPS directory listing hangs on Windows with Schannel
  272. https://github.com/curl/curl/issues/9161
  273. 9. SFTP and SCP
  274. 9.1 SFTP does not do CURLOPT_POSTQUOTE correct
  275. When libcurl sends CURLOPT_POSTQUOTE commands when connected to a SFTP server
  276. using the multi interface, the commands are not being sent correctly and
  277. instead the connection is "cancelled" (the operation is considered done)
  278. prematurely. There is a half-baked (busy-looping) patch provided in the bug
  279. report but it cannot be accepted as-is. See
  280. https://curl.se/bug/view.cgi?id=748
  281. 9.2 wolfssh: publickey auth does not work
  282. When building curl to use the wolfSSH backend for SFTP, the publickey
  283. authentication does not work. This is simply functionality not written for curl
  284. yet, the necessary API for make this work is provided by wolfSSH.
  285. See https://github.com/curl/curl/issues/4820
  286. 9.3 Remote recursive folder creation with SFTP
  287. On this servers, the curl fails to create directories on the remote server
  288. even when the CURLOPT_FTP_CREATE_MISSING_DIRS option is set.
  289. See https://github.com/curl/curl/issues/5204
  290. 9.4 libssh blocking and infinite loop problem
  291. In the SSH_SFTP_INIT state for libssh, the ssh session working mode is set to
  292. blocking mode. If the network is suddenly disconnected during sftp
  293. transmission, curl will be stuck, even if curl is configured with a timeout.
  294. https://github.com/curl/curl/issues/8632
  295. 9.5 cygwin: "WARNING: UNPROTECTED PRIVATE KEY FILE!"
  296. Running SCP and SFTP tests on cygwin makes this warning message appear.
  297. https://github.com/curl/curl/issues/11244
  298. 10. SOCKS
  299. 10.3 FTPS over SOCKS
  300. libcurl does not support FTPS over a SOCKS proxy.
  301. 11. Internals
  302. 11.2 error buffer not set if connection to multiple addresses fails
  303. If you ask libcurl to resolve a hostname like example.com to IPv6 addresses
  304. only. But you only have IPv4 connectivity. libcurl will correctly fail with
  305. CURLE_COULDNT_CONNECT. But the error buffer set by CURLOPT_ERRORBUFFER
  306. remains empty. Issue: https://github.com/curl/curl/issues/544
  307. 11.4 HTTP test server 'connection-monitor' problems
  308. The 'connection-monitor' feature of the sws HTTP test server does not work
  309. properly if some tests are run in unexpected order. Like 1509 and then 1525.
  310. See https://github.com/curl/curl/issues/868
  311. 11.5 Connection information when using TCP Fast Open
  312. CURLINFO_LOCAL_PORT (and possibly a few other) fails when TCP Fast Open is
  313. enabled.
  314. See https://github.com/curl/curl/issues/1332 and
  315. https://github.com/curl/curl/issues/4296
  316. 12. LDAP
  317. 12.1 OpenLDAP hangs after returning results
  318. By configuration defaults, OpenLDAP automatically chase referrals on
  319. secondary socket descriptors. The OpenLDAP backend is asynchronous and thus
  320. should monitor all socket descriptors involved. Currently, these secondary
  321. descriptors are not monitored, causing OpenLDAP library to never receive
  322. data from them.
  323. As a temporary workaround, disable referrals chasing by configuration.
  324. The fix is not easy: proper automatic referrals chasing requires a
  325. synchronous bind callback and monitoring an arbitrary number of socket
  326. descriptors for a single easy handle (currently limited to 5).
  327. Generic LDAP is synchronous: OK.
  328. See https://github.com/curl/curl/issues/622 and
  329. https://curl.se/mail/lib-2016-01/0101.html
  330. 12.2 LDAP on Windows does authentication wrong?
  331. https://github.com/curl/curl/issues/3116
  332. 12.3 LDAP on Windows does not work
  333. A simple curl command line getting "ldap://ldap.forumsys.com" returns an
  334. error that says "no memory" !
  335. https://github.com/curl/curl/issues/4261
  336. 12.4 LDAPS requests to ActiveDirectory server hang
  337. https://github.com/curl/curl/issues/9580
  338. 13. TCP/IP
  339. 13.2 Trying local ports fails on Windows
  340. This makes '--local-port [range]' to not work since curl cannot properly
  341. detect if a port is already in use, so it will try the first port, use that and
  342. then subsequently fail anyway if that was actually in use.
  343. https://github.com/curl/curl/issues/8112
  344. 15. CMake
  345. 15.1 cmake outputs: no version information available
  346. Something in the SONAME generation seems to be wrong in the cmake build.
  347. https://github.com/curl/curl/issues/11158
  348. 15.2 support build with GnuTLS
  349. 15.3 unusable tool_hugehelp.c with MinGW
  350. see https://github.com/curl/curl/issues/3125
  351. 15.4 build docs/curl.1
  352. The cmake build does not create the docs/curl.1 file and therefore must rely on
  353. it being there already. This makes the --manual option not work and test
  354. cases like 1139 cannot function.
  355. 15.6 uses -lpthread instead of Threads::Threads
  356. See https://github.com/curl/curl/issues/6166
  357. 15.7 generated .pc file contains strange entries
  358. The Libs.private field of the generated .pc file contains -lgcc -lgcc_s -lc
  359. -lgcc -lgcc_s
  360. See https://github.com/curl/curl/issues/6167
  361. 15.8 libcurl.pc uses absolute library paths
  362. The libcurl.pc file generated by cmake contains things like Libs.private:
  363. /usr/lib64/libssl.so /usr/lib64/libcrypto.so /usr/lib64/libz.so. The
  364. autotools equivalent would say Libs.private: -lssl -lcrypto -lz
  365. See https://github.com/curl/curl/issues/6169
  366. 15.11 ExternalProject_Add does not set CURL_CA_PATH
  367. CURL_CA_BUNDLE and CURL_CA_PATH are not set properly when cmake's
  368. ExternalProject_Add is used to build curl as a dependency.
  369. See https://github.com/curl/curl/issues/6313
  370. 15.13 CMake build with MIT Kerberos does not work
  371. Minimum CMake version was bumped in curl 7.71.0 (#5358) Since CMake 3.2
  372. try_compile started respecting the CMAKE_EXE_FLAGS. The code dealing with
  373. MIT Kerberos detection sets few variables to potentially weird mix of space,
  374. and ;-separated flags. It had to blow up at some point. All the CMake checks
  375. that involve compilation are doomed from that point, the configured tree
  376. cannot be built.
  377. https://github.com/curl/curl/issues/6904
  378. 16. aws-sigv4
  379. 16.1 aws-sigv4 does not sign requests with * correctly
  380. https://github.com/curl/curl/issues/7559
  381. 16.6 aws-sigv4 does not behave well with AWS VPC Lattice
  382. https://github.com/curl/curl/issues/11007
  383. 17. HTTP/2
  384. 17.2 HTTP/2 frames while in the connection pool kill reuse
  385. If the server sends HTTP/2 frames (like for example an HTTP/2 PING frame) to
  386. curl while the connection is held in curl's connection pool, the socket will
  387. be found readable when considered for reuse and that makes curl think it is
  388. dead and then it will be closed and a new connection gets created instead.
  389. This is *best* fixed by adding monitoring to connections while they are kept
  390. in the pool so that pings can be responded to appropriately.
  391. 17.3 ENHANCE_YOUR_CALM causes infinite retries
  392. Infinite retries with 2 parallel requests on one connection receiving GOAWAY
  393. with ENHANCE_YOUR_CALM error code.
  394. See https://github.com/curl/curl/issues/5119
  395. 18. HTTP/3
  396. 18.1 connection migration does not work
  397. https://github.com/curl/curl/issues/7695