TODO 46 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270
  1. _ _ ____ _
  2. ___| | | | _ \| |
  3. / __| | | | |_) | |
  4. | (__| |_| | _ <| |___
  5. \___|\___/|_| \_\_____|
  6. Things that could be nice to do in the future
  7. Things to do in project curl. Please tell us what you think, contribute and
  8. send us patches that improve things!
  9. Be aware that these are things that we could do, or have once been considered
  10. things we could do. If you want to work on any of these areas, please
  11. consider bringing it up for discussions first on the mailing list so that we
  12. all agree it is still a good idea for the project!
  13. All bugs documented in the KNOWN_BUGS document are subject for fixing!
  14. 1. libcurl
  15. 1.1 TFO support on Windows
  16. 1.2 Consult %APPDATA% also for .netrc
  17. 1.3 struct lifreq
  18. 1.4 alt-svc sharing
  19. 1.5 get rid of PATH_MAX
  20. 1.6 native IDN support on macOS
  21. 1.7 Support HTTP/2 for HTTP(S) proxies
  22. 1.8 CURLOPT_RESOLVE for any port number
  23. 1.9 Cache negative name resolves
  24. 1.10 auto-detect proxy
  25. 1.11 minimize dependencies with dynamically loaded modules
  26. 1.12 updated DNS server while running
  27. 1.13 c-ares and CURLOPT_OPENSOCKETFUNCTION
  28. 1.14 Typesafe curl_easy_setopt()
  29. 1.15 Monitor connections in the connection pool
  30. 1.16 Try to URL encode given URL
  31. 1.17 Add support for IRIs
  32. 1.18 try next proxy if one doesn't work
  33. 1.19 provide timing info for each redirect
  34. 1.20 SRV and URI DNS records
  35. 1.22 CURLINFO_PAUSE_STATE
  36. 1.23 Offer API to flush the connection pool
  37. 1.24 TCP Fast Open for windows
  38. 1.25 Expose tried IP addresses that failed
  39. 1.27 hardcode the "localhost" addresses
  40. 1.28 FD_CLOEXEC
  41. 1.29 Upgrade to websockets
  42. 1.30 config file parsing
  43. 2. libcurl - multi interface
  44. 2.1 More non-blocking
  45. 2.2 Better support for same name resolves
  46. 2.3 Non-blocking curl_multi_remove_handle()
  47. 2.4 Split connect and authentication process
  48. 2.5 Edge-triggered sockets should work
  49. 2.6 multi upkeep
  50. 2.7 Virtual external sockets
  51. 2.8 dynamically decide to use socketpair
  52. 3. Documentation
  53. 3.2 Provide cmake config-file
  54. 4. FTP
  55. 4.1 HOST
  56. 4.2 Alter passive/active on failure and retry
  57. 4.3 Earlier bad letter detection
  58. 4.5 ASCII support
  59. 4.6 GSSAPI via Windows SSPI
  60. 4.7 STAT for LIST without data connection
  61. 4.8 Option to ignore private IP addresses in PASV response
  62. 5. HTTP
  63. 5.1 Better persistency for HTTP 1.0
  64. 5.2 Set custom client ip when using haproxy protocol
  65. 5.3 Rearrange request header order
  66. 5.4 Allow SAN names in HTTP/2 server push
  67. 5.5 auth= in URLs
  68. 5.6 alt-svc should fallback if alt-svc doesn't work
  69. 6. TELNET
  70. 6.1 ditch stdin
  71. 6.2 ditch telnet-specific select
  72. 6.3 feature negotiation debug data
  73. 7. SMTP
  74. 7.2 Enhanced capability support
  75. 7.3 Add CURLOPT_MAIL_CLIENT option
  76. 8. POP3
  77. 8.2 Enhanced capability support
  78. 9. IMAP
  79. 9.1 Enhanced capability support
  80. 10. LDAP
  81. 10.1 SASL based authentication mechanisms
  82. 10.2 CURLOPT_SSL_CTX_FUNCTION for LDAPS
  83. 10.3 Paged searches on LDAP server
  84. 11. SMB
  85. 11.1 File listing support
  86. 11.2 Honor file timestamps
  87. 11.3 Use NTLMv2
  88. 11.4 Create remote directories
  89. 12. FILE
  90. 12.1 Directory listing for FILE:
  91. 13. SSL
  92. 13.1 TLS-PSK with OpenSSL
  93. 13.2 Provide mutex locking API
  94. 13.3 Support in-memory certs/ca certs/keys
  95. 13.4 Cache/share OpenSSL contexts
  96. 13.5 Export session ids
  97. 13.6 Provide callback for cert verification
  98. 13.8 Support DANE
  99. 13.9 TLS record padding
  100. 13.10 Support Authority Information Access certificate extension (AIA)
  101. 13.11 Support intermediate & root pinning for PINNEDPUBLICKEY
  102. 13.13 Make sure we forbid TLS 1.3 post-handshake authentication
  103. 13.14 Support the clienthello extension
  104. 14. GnuTLS
  105. 14.2 check connection
  106. 15. Schannel
  107. 15.1 Extend support for client certificate authentication
  108. 15.2 Extend support for the --ciphers option
  109. 15.4 Add option to allow abrupt server closure
  110. 16. SASL
  111. 16.1 Other authentication mechanisms
  112. 16.2 Add QOP support to GSSAPI authentication
  113. 16.3 Support binary messages (i.e.: non-base64)
  114. 17. SSH protocols
  115. 17.1 Multiplexing
  116. 17.2 Handle growing SFTP files
  117. 17.3 Support better than MD5 hostkey hash
  118. 17.4 Support CURLOPT_PREQUOTE
  119. 17.5 SSH over HTTPS proxy with more backends
  120. 18. Command line tool
  121. 18.1 sync
  122. 18.2 glob posts
  123. 18.3 prevent file overwriting
  124. 18.4 --proxycommand
  125. 18.5 UTF-8 filenames in Content-Disposition
  126. 18.6 Option to make -Z merge lined based outputs on stdout
  127. 18.7 at least N milliseconds between requests
  128. 18.8 Consider convenience options for JSON and XML?
  129. 18.9 Choose the name of file in braces for complex URLs
  130. 18.10 improve how curl works in a windows console window
  131. 18.11 Windows: set attribute 'archive' for completed downloads
  132. 18.12 keep running, read instructions from pipe/socket
  133. 18.13 Ratelimit or wait between serial requests
  134. 18.14 --dry-run
  135. 18.15 --retry should resume
  136. 18.16 send only part of --data
  137. 18.17 consider file name from the redirected URL with -O ?
  138. 18.18 retry on network is unreachable
  139. 18.19 expand ~/ in config files
  140. 18.20 host name sections in config files
  141. 18.21 retry on the redirected-to URL
  142. 18.23 Set the modification date on an uploaded file
  143. 18.24 Use multiple parallel transfers for a single download
  144. 18.25 Prevent terminal injection when writing to terminal
  145. 18.26 Custom progress meter update interval
  146. 19. Build
  147. 19.1 roffit
  148. 19.2 Enable PIE and RELRO by default
  149. 19.3 Don't use GNU libtool on OpenBSD
  150. 19.4 Package curl for Windows in a signed installer
  151. 20. Test suite
  152. 20.1 SSL tunnel
  153. 20.2 nicer lacking perl message
  154. 20.3 more protocols supported
  155. 20.4 more platforms supported
  156. 20.5 Add support for concurrent connections
  157. 20.6 Use the RFC6265 test suite
  158. 20.7 Support LD_PRELOAD on macOS
  159. 20.8 Run web-platform-tests url tests
  160. 20.9 Bring back libssh tests on Travis
  161. ==============================================================================
  162. 1. libcurl
  163. 1.1 TFO support on Windows
  164. TCP Fast Open is supported on several platforms but not on Windows. Work on
  165. this was once started but never finished.
  166. See https://github.com/curl/curl/pull/3378
  167. 1.2 Consult %APPDATA% also for .netrc
  168. %APPDATA%\.netrc is not considered when running on Windows. Shouldn't it?
  169. See https://github.com/curl/curl/issues/4016
  170. 1.3 struct lifreq
  171. Use 'struct lifreq' and SIOCGLIFADDR instead of 'struct ifreq' and
  172. SIOCGIFADDR on newer Solaris versions as they claim the latter is obsolete.
  173. To support IPv6 interface addresses for network interfaces properly.
  174. 1.4 alt-svc sharing
  175. The share interface could benefit from allowing the alt-svc cache to be
  176. possible to share between easy handles.
  177. See https://github.com/curl/curl/issues/4476
  178. 1.5 get rid of PATH_MAX
  179. Having code use and rely on PATH_MAX is not nice:
  180. https://insanecoding.blogspot.com/2007/11/pathmax-simply-isnt.html
  181. Currently the libssh2 SSH based code uses it, but to remove PATH_MAX from
  182. there we need libssh2 to properly tell us when we pass in a too small buffer
  183. and its current API (as of libssh2 1.2.7) doesn't.
  184. 1.6 native IDN support on macOS
  185. On recent macOS versions, the getaddrinfo() function itself has built-in IDN
  186. support. By setting the AI_CANONNAME flag, the function will return the
  187. encoded name in the ai_canonname struct field in the returned information.
  188. This could be used by curl on macOS when built without a separate IDN library
  189. and an IDN host name is used in a URL.
  190. See initial work in https://github.com/curl/curl/pull/5371
  191. 1.7 Support HTTP/2 for HTTP(S) proxies
  192. Support for doing HTTP/2 to HTTP and HTTPS proxies is still missing.
  193. See https://github.com/curl/curl/issues/3570
  194. 1.8 CURLOPT_RESOLVE for any port number
  195. This option allows applications to set a replacement IP address for a given
  196. host + port pair. Consider making support for providing a replacement address
  197. for the host name on all port numbers.
  198. See https://github.com/curl/curl/issues/1264
  199. 1.9 Cache negative name resolves
  200. A name resolve that has failed is likely to fail when made again within a
  201. short period of time. Currently we only cache positive responses.
  202. 1.10 auto-detect proxy
  203. libcurl could be made to detect the system proxy setup automatically and use
  204. that. On Windows, macOS and Linux desktops for example.
  205. The pull-request to use libproxy for this was deferred due to doubts on the
  206. reliability of the dependency and how to use it:
  207. https://github.com/curl/curl/pull/977
  208. libdetectproxy is a (C++) library for detecting the proxy on Windows
  209. https://github.com/paulharris/libdetectproxy
  210. 1.11 minimize dependencies with dynamically loaded modules
  211. We can create a system with loadable modules/plug-ins, where these modules
  212. would be the ones that link to 3rd party libs. That would allow us to avoid
  213. having to load ALL dependencies since only the necessary ones for this
  214. app/invoke/used protocols would be necessary to load. See
  215. https://github.com/curl/curl/issues/349
  216. 1.12 updated DNS server while running
  217. If /etc/resolv.conf gets updated while a program using libcurl is running, it
  218. is may cause name resolves to fail unless res_init() is called. We should
  219. consider calling res_init() + retry once unconditionally on all name resolve
  220. failures to mitigate against this. Firefox works like that. Note that Windows
  221. doesn't have res_init() or an alternative.
  222. https://github.com/curl/curl/issues/2251
  223. 1.13 c-ares and CURLOPT_OPENSOCKETFUNCTION
  224. curl will create most sockets via the CURLOPT_OPENSOCKETFUNCTION callback and
  225. close them with the CURLOPT_CLOSESOCKETFUNCTION callback. However, c-ares
  226. does not use those functions and instead opens and closes the sockets
  227. itself. This means that when curl passes the c-ares socket to the
  228. CURLMOPT_SOCKETFUNCTION it isn't owned by the application like other sockets.
  229. See https://github.com/curl/curl/issues/2734
  230. 1.14 Typesafe curl_easy_setopt()
  231. One of the most common problems in libcurl using applications is the lack of
  232. type checks for curl_easy_setopt() which happens because it accepts varargs
  233. and thus can take any type.
  234. One possible solution to this is to introduce a few different versions of the
  235. setopt version for the different kinds of data you can set.
  236. curl_easy_set_num() - sets a long value
  237. curl_easy_set_large() - sets a curl_off_t value
  238. curl_easy_set_ptr() - sets a pointer
  239. curl_easy_set_cb() - sets a callback PLUS its callback data
  240. 1.15 Monitor connections in the connection pool
  241. libcurl's connection cache or pool holds a number of open connections for the
  242. purpose of possible subsequent connection reuse. It may contain a few up to a
  243. significant amount of connections. Currently, libcurl leaves all connections
  244. as they are and first when a connection is iterated over for matching or
  245. reuse purpose it is verified that it is still alive.
  246. Those connections may get closed by the server side for idleness or they may
  247. get a HTTP/2 ping from the peer to verify that they're still alive. By adding
  248. monitoring of the connections while in the pool, libcurl can detect dead
  249. connections (and close them) better and earlier, and it can handle HTTP/2
  250. pings to keep such ones alive even when not actively doing transfers on them.
  251. 1.16 Try to URL encode given URL
  252. Given a URL that for example contains spaces, libcurl could have an option
  253. that would try somewhat harder than it does now and convert spaces to %20 and
  254. perhaps URL encoded byte values over 128 etc (basically do what the redirect
  255. following code already does).
  256. https://github.com/curl/curl/issues/514
  257. 1.17 Add support for IRIs
  258. IRIs (RFC 3987) allow localized, non-ascii, names in the URL. To properly
  259. support this, curl/libcurl would need to translate/encode the given input
  260. from the input string encoding into percent encoded output "over the wire".
  261. To make that work smoothly for curl users even on Windows, curl would
  262. probably need to be able to convert from several input encodings.
  263. 1.18 try next proxy if one doesn't work
  264. Allow an application to specify a list of proxies to try, and failing to
  265. connect to the first go on and try the next instead until the list is
  266. exhausted. Browsers support this feature at least when they specify proxies
  267. using PACs.
  268. https://github.com/curl/curl/issues/896
  269. 1.19 provide timing info for each redirect
  270. curl and libcurl provide timing information via a set of different
  271. time-stamps (CURLINFO_*_TIME). When curl is following redirects, those
  272. returned time value are the accumulated sums. An improvement could be to
  273. offer separate timings for each redirect.
  274. https://github.com/curl/curl/issues/6743
  275. 1.20 SRV and URI DNS records
  276. Offer support for resolving SRV and URI DNS records for libcurl to know which
  277. server to connect to for various protocols (including HTTP!).
  278. 1.22 CURLINFO_PAUSE_STATE
  279. Return information about the transfer's current pause state, in both
  280. directions. https://github.com/curl/curl/issues/2588
  281. 1.23 Offer API to flush the connection pool
  282. Sometimes applications want to flush all the existing connections kept alive.
  283. An API could allow a forced flush or just a forced loop that would properly
  284. close all connections that have been closed by the server already.
  285. 1.24 TCP Fast Open for windows
  286. libcurl supports the CURLOPT_TCP_FASTOPEN option since 7.49.0 for Linux and
  287. Mac OS. Windows supports TCP Fast Open starting with Windows 10, version 1607
  288. and we should add support for it.
  289. 1.25 Expose tried IP addresses that failed
  290. When libcurl fails to connect to a host, it should be able to offer the
  291. application the list of IP addresses that were used in the attempt.
  292. https://github.com/curl/curl/issues/2126
  293. 1.27 hardcode the "localhost" addresses
  294. There's this new spec getting adopted that says "localhost" should always and
  295. unconditionally be a local address and not get resolved by a DNS server. A
  296. fine way for curl to fix this would be to simply hard-code the response to
  297. 127.0.0.1 and/or ::1 (depending on what IP versions that are requested). This
  298. is what the browsers probably will do with this hostname.
  299. https://bugzilla.mozilla.org/show_bug.cgi?id=1220810
  300. https://tools.ietf.org/html/draft-ietf-dnsop-let-localhost-be-localhost-02
  301. 1.28 FD_CLOEXEC
  302. It sets the close-on-exec flag for the file descriptor, which causes the file
  303. descriptor to be automatically (and atomically) closed when any of the
  304. exec-family functions succeed. Should probably be set by default?
  305. https://github.com/curl/curl/issues/2252
  306. 1.29 Upgrade to websockets
  307. libcurl could offer a smoother path to get to a websocket connection.
  308. See https://github.com/curl/curl/issues/3523
  309. Michael Kaufmann suggestion here:
  310. https://curl.se/video/curlup-2017/2017-03-19_05_Michael_Kaufmann_Websocket_support_for_curl.mp4
  311. 1.30 config file parsing
  312. Consider providing an API, possibly in a separate companion library, for
  313. parsing a config file like curl's -K/--config option to allow applications to
  314. get the same ability to read curl options from files.
  315. See https://github.com/curl/curl/issues/3698
  316. 2. libcurl - multi interface
  317. 2.1 More non-blocking
  318. Make sure we don't ever loop because of non-blocking sockets returning
  319. EWOULDBLOCK or similar. Blocking cases include:
  320. - Name resolves on non-windows unless c-ares or the threaded resolver is used.
  321. - The threaded resolver may block on cleanup:
  322. https://github.com/curl/curl/issues/4852
  323. - file:// transfers
  324. - TELNET transfers
  325. - GSSAPI authentication for FTP transfers
  326. - The "DONE" operation (post transfer protocol-specific actions) for the
  327. protocols SFTP, SMTP, FTP. Fixing multi_done() for this is a worthy task.
  328. - curl_multi_remove_handle for any of the above. See section 2.3.
  329. 2.2 Better support for same name resolves
  330. If a name resolve has been initiated for name NN and a second easy handle
  331. wants to resolve that name as well, make it wait for the first resolve to end
  332. up in the cache instead of doing a second separate resolve. This is
  333. especially needed when adding many simultaneous handles using the same host
  334. name when the DNS resolver can get flooded.
  335. 2.3 Non-blocking curl_multi_remove_handle()
  336. The multi interface has a few API calls that assume a blocking behavior, like
  337. add_handle() and remove_handle() which limits what we can do internally. The
  338. multi API need to be moved even more into a single function that "drives"
  339. everything in a non-blocking manner and signals when something is done. A
  340. remove or add would then only ask for the action to get started and then
  341. multi_perform() etc still be called until the add/remove is completed.
  342. 2.4 Split connect and authentication process
  343. The multi interface treats the authentication process as part of the connect
  344. phase. As such any failures during authentication won't trigger the relevant
  345. QUIT or LOGOFF for protocols such as IMAP, POP3 and SMTP.
  346. 2.5 Edge-triggered sockets should work
  347. The multi_socket API should work with edge-triggered socket events. One of
  348. the internal actions that need to be improved for this to work perfectly is
  349. the 'maxloops' handling in transfer.c:readwrite_data().
  350. 2.6 multi upkeep
  351. In libcurl 7.62.0 we introduced curl_easy_upkeep. It unfortunately only works
  352. on easy handles. We should introduces a version of that for the multi handle,
  353. and also consider doing "upkeep" automatically on connections in the
  354. connection pool when the multi handle is in used.
  355. See https://github.com/curl/curl/issues/3199
  356. 2.7 Virtual external sockets
  357. libcurl performs operations on the given file descriptor that presumes it is
  358. a socket and an application cannot replace them at the moment. Allowing an
  359. application to fully replace those would allow a larger degree of freedom and
  360. flexibility.
  361. See https://github.com/curl/curl/issues/5835
  362. 2.8 dynamically decide to use socketpair
  363. For users who don't use curl_multi_wait() or don't care for
  364. curl_multi_wakeup(), we could introduce a way to make libcurl NOT
  365. create a socketpair in the multi handle.
  366. See https://github.com/curl/curl/issues/4829
  367. 3. Documentation
  368. 3.2 Provide cmake config-file
  369. A config-file package is a set of files provided by us to allow applications
  370. to write cmake scripts to find and use libcurl easier. See
  371. https://github.com/curl/curl/issues/885
  372. 4. FTP
  373. 4.1 HOST
  374. HOST is a command for a client to tell which host name to use, to offer FTP
  375. servers named-based virtual hosting:
  376. https://tools.ietf.org/html/rfc7151
  377. 4.2 Alter passive/active on failure and retry
  378. When trying to connect passively to a server which only supports active
  379. connections, libcurl returns CURLE_FTP_WEIRD_PASV_REPLY and closes the
  380. connection. There could be a way to fallback to an active connection (and
  381. vice versa). https://curl.se/bug/feature.cgi?id=1754793
  382. 4.3 Earlier bad letter detection
  383. Make the detection of (bad) %0d and %0a codes in FTP URL parts earlier in the
  384. process to avoid doing a resolve and connect in vain.
  385. 4.5 ASCII support
  386. FTP ASCII transfers do not follow RFC959. They don't convert the data
  387. accordingly.
  388. 4.6 GSSAPI via Windows SSPI
  389. In addition to currently supporting the SASL GSSAPI mechanism (Kerberos V5)
  390. via third-party GSS-API libraries, such as Heimdal or MIT Kerberos, also add
  391. support for GSSAPI authentication via Windows SSPI.
  392. 4.7 STAT for LIST without data connection
  393. Some FTP servers allow STAT for listing directories instead of using LIST,
  394. and the response is then sent over the control connection instead of as the
  395. otherwise usedw data connection: https://www.nsftools.com/tips/RawFTP.htm#STAT
  396. This is not detailed in any FTP specification.
  397. 4.8 Option to ignore private IP addresses in PASV response
  398. Some servers respond with and some other FTP client implementations can
  399. ignore private (RFC 1918 style) IP addresses when received in PASV responses.
  400. To consider for libcurl as well. See https://github.com/curl/curl/issues/1455
  401. 5. HTTP
  402. 5.1 Better persistency for HTTP 1.0
  403. "Better" support for persistent connections over HTTP 1.0
  404. https://curl.se/bug/feature.cgi?id=1089001
  405. 5.2 Set custom client ip when using haproxy protocol
  406. This would allow testing servers with different client ip addresses (without
  407. using x-forward-for header).
  408. https://github.com/curl/curl/issues/5125
  409. 5.3 Rearrange request header order
  410. Server implementors often make an effort to detect browser and to reject
  411. clients it can detect to not match. One of the last details we cannot yet
  412. control in libcurl's HTTP requests, which also can be exploited to detect
  413. that libcurl is in fact used even when it tries to impersonate a browser, is
  414. the order of the request headers. I propose that we introduce a new option in
  415. which you give headers a value, and then when the HTTP request is built it
  416. sorts the headers based on that number. We could then have internally created
  417. headers use a default value so only headers that need to be moved have to be
  418. specified.
  419. 5.4 Allow SAN names in HTTP/2 server push
  420. curl only allows HTTP/2 push promise if the provided :authority header value
  421. exactly matches the host name given in the URL. It could be extended to allow
  422. any name that would match the Subject Alternative Names in the server's TLS
  423. certificate.
  424. See https://github.com/curl/curl/pull/3581
  425. 5.5 auth= in URLs
  426. Add the ability to specify the preferred authentication mechanism to use by
  427. using ;auth=<mech> in the login part of the URL.
  428. For example:
  429. http://test:pass;auth=NTLM@example.com would be equivalent to specifying
  430. --user test:pass;auth=NTLM or --user test:pass --ntlm from the command line.
  431. Additionally this should be implemented for proxy base URLs as well.
  432. 5.6 alt-svc should fallback if alt-svc doesn't work
  433. The alt-svc: header provides a set of alternative services for curl to use
  434. instead of the original. If the first attempted one fails, it should try the
  435. next etc and if all alternatives fail go back to the original.
  436. See https://github.com/curl/curl/issues/4908
  437. 6. TELNET
  438. 6.1 ditch stdin
  439. Reading input (to send to the remote server) on stdin is a crappy solution
  440. for library purposes. We need to invent a good way for the application to be
  441. able to provide the data to send.
  442. 6.2 ditch telnet-specific select
  443. Move the telnet support's network select() loop go away and merge the code
  444. into the main transfer loop. Until this is done, the multi interface won't
  445. work for telnet.
  446. 6.3 feature negotiation debug data
  447. Add telnet feature negotiation data to the debug callback as header data.
  448. 7. SMTP
  449. 7.2 Enhanced capability support
  450. Add the ability, for an application that uses libcurl, to obtain the list of
  451. capabilities returned from the EHLO command.
  452. 7.3 Add CURLOPT_MAIL_CLIENT option
  453. Rather than use the URL to specify the mail client string to present in the
  454. HELO and EHLO commands, libcurl should support a new CURLOPT specifically for
  455. specifying this data as the URL is non-standard and to be honest a bit of a
  456. hack ;-)
  457. Please see the following thread for more information:
  458. https://curl.se/mail/lib-2012-05/0178.html
  459. 8. POP3
  460. 8.2 Enhanced capability support
  461. Add the ability, for an application that uses libcurl, to obtain the list of
  462. capabilities returned from the CAPA command.
  463. 9. IMAP
  464. 9.1 Enhanced capability support
  465. Add the ability, for an application that uses libcurl, to obtain the list of
  466. capabilities returned from the CAPABILITY command.
  467. 10. LDAP
  468. 10.1 SASL based authentication mechanisms
  469. Currently the LDAP module only supports ldap_simple_bind_s() in order to bind
  470. to an LDAP server. However, this function sends username and password details
  471. using the simple authentication mechanism (as clear text). However, it should
  472. be possible to use ldap_bind_s() instead specifying the security context
  473. information ourselves.
  474. 10.2 CURLOPT_SSL_CTX_FUNCTION for LDAPS
  475. CURLOPT_SSL_CTX_FUNCTION works perfectly for HTTPS and email protocols, but
  476. it has no effect for LDAPS connections.
  477. https://github.com/curl/curl/issues/4108
  478. 10.3 Paged searches on LDAP server
  479. https://github.com/curl/curl/issues/4452
  480. 11. SMB
  481. 11.1 File listing support
  482. Add support for listing the contents of a SMB share. The output should
  483. probably be the same as/similar to FTP.
  484. 11.2 Honor file timestamps
  485. The timestamp of the transferred file should reflect that of the original
  486. file.
  487. 11.3 Use NTLMv2
  488. Currently the SMB authentication uses NTLMv1.
  489. 11.4 Create remote directories
  490. Support for creating remote directories when uploading a file to a directory
  491. that doesn't exist on the server, just like --ftp-create-dirs.
  492. 12. FILE
  493. 12.1 Directory listing for FILE:
  494. Add support for listing the contents of a directory accessed with FILE. The
  495. output should probably be the same as/similar to FTP.
  496. 13. SSL
  497. 13.1 TLS-PSK with OpenSSL
  498. Transport Layer Security pre-shared key ciphersuites (TLS-PSK) is a set of
  499. cryptographic protocols that provide secure communication based on pre-shared
  500. keys (PSKs). These pre-shared keys are symmetric keys shared in advance among
  501. the communicating parties.
  502. https://github.com/curl/curl/issues/5081
  503. 13.2 Provide mutex locking API
  504. Provide a libcurl API for setting mutex callbacks in the underlying SSL
  505. library, so that the same application code can use mutex-locking
  506. independently of OpenSSL or GnutTLS being used.
  507. 13.3 Support in-memory certs/ca certs/keys
  508. You can specify the private and public keys for SSH/SSL as file paths. Some
  509. programs want to avoid using files and instead just pass them as in-memory
  510. data blobs. There's probably a challenge to make this work across the
  511. plethora of different TLS and SSH backends that curl supports.
  512. https://github.com/curl/curl/issues/2310
  513. 13.4 Cache/share OpenSSL contexts
  514. "Look at SSL cafile - quick traces look to me like these are done on every
  515. request as well, when they should only be necessary once per SSL context (or
  516. once per handle)". The major improvement we can rather easily do is to make
  517. sure we don't create and kill a new SSL "context" for every request, but
  518. instead make one for every connection and re-use that SSL context in the same
  519. style connections are re-used. It will make us use slightly more memory but
  520. it will libcurl do less creations and deletions of SSL contexts.
  521. Technically, the "caching" is probably best implemented by getting added to
  522. the share interface so that easy handles who want to and can reuse the
  523. context specify that by sharing with the right properties set.
  524. https://github.com/curl/curl/issues/1110
  525. 13.5 Export session ids
  526. Add an interface to libcurl that enables "session IDs" to get
  527. exported/imported. Cris Bailiff said: "OpenSSL has functions which can
  528. serialise the current SSL state to a buffer of your choice, and recover/reset
  529. the state from such a buffer at a later date - this is used by mod_ssl for
  530. apache to implement and SSL session ID cache".
  531. 13.6 Provide callback for cert verification
  532. OpenSSL supports a callback for customised verification of the peer
  533. certificate, but this doesn't seem to be exposed in the libcurl APIs. Could
  534. it be? There's so much that could be done if it were!
  535. 13.8 Support DANE
  536. DNS-Based Authentication of Named Entities (DANE) is a way to provide SSL
  537. keys and certs over DNS using DNSSEC as an alternative to the CA model.
  538. https://www.rfc-editor.org/rfc/rfc6698.txt
  539. An initial patch was posted by Suresh Krishnaswamy on March 7th 2013
  540. (https://curl.se/mail/lib-2013-03/0075.html) but it was a too simple
  541. approach. See Daniel's comments:
  542. https://curl.se/mail/lib-2013-03/0103.html . libunbound may be the
  543. correct library to base this development on.
  544. Björn Stenberg wrote a separate initial take on DANE that was never
  545. completed.
  546. 13.9 TLS record padding
  547. TLS (1.3) offers optional record padding and OpenSSL provides an API for it.
  548. I could make sense for libcurl to offer this ability to applications to make
  549. traffic patterns harder to figure out by network traffic observers.
  550. See https://github.com/curl/curl/issues/5398
  551. 13.10 Support Authority Information Access certificate extension (AIA)
  552. AIA can provide various things like CRLs but more importantly information
  553. about intermediate CA certificates that can allow validation path to be
  554. fulfilled when the HTTPS server doesn't itself provide them.
  555. Since AIA is about downloading certs on demand to complete a TLS handshake,
  556. it is probably a bit tricky to get done right.
  557. See https://github.com/curl/curl/issues/2793
  558. 13.11 Support intermediate & root pinning for PINNEDPUBLICKEY
  559. CURLOPT_PINNEDPUBLICKEY does not consider the hashes of intermediate & root
  560. certificates when comparing the pinned keys. Therefore it is not compatible
  561. with "HTTP Public Key Pinning" as there also intermediate and root
  562. certificates can be pinned. This is very useful as it prevents webadmins from
  563. "locking themselves out of their servers".
  564. Adding this feature would make curls pinning 100% compatible to HPKP and
  565. allow more flexible pinning.
  566. 13.13 Make sure we forbid TLS 1.3 post-handshake authentication
  567. RFC 8740 explains how using HTTP/2 must forbid the use of TLS 1.3
  568. post-handshake authentication. We should make sure to live up to that.
  569. See https://github.com/curl/curl/issues/5396
  570. 13.14 Support the clienthello extension
  571. Certain stupid networks and middle boxes have a problem with SSL handshake
  572. packets that are within a certain size range because how that sets some bits
  573. that previously (in older TLS version) were not set. The clienthello
  574. extension adds padding to avoid that size range.
  575. https://tools.ietf.org/html/rfc7685
  576. https://github.com/curl/curl/issues/2299
  577. 14. GnuTLS
  578. 14.2 check connection
  579. Add a way to check if the connection seems to be alive, to correspond to the
  580. SSL_peak() way we use with OpenSSL.
  581. 15. Schannel
  582. 15.1 Extend support for client certificate authentication
  583. The existing support for the -E/--cert and --key options could be
  584. extended by supplying a custom certificate and key in PEM format, see:
  585. - Getting a Certificate for Schannel
  586. https://msdn.microsoft.com/en-us/library/windows/desktop/aa375447.aspx
  587. 15.2 Extend support for the --ciphers option
  588. The existing support for the --ciphers option could be extended
  589. by mapping the OpenSSL/GnuTLS cipher suites to the Schannel APIs, see
  590. - Specifying Schannel Ciphers and Cipher Strengths
  591. https://msdn.microsoft.com/en-us/library/windows/desktop/aa380161.aspx
  592. 15.4 Add option to allow abrupt server closure
  593. libcurl w/schannel will error without a known termination point from the
  594. server (such as length of transfer, or SSL "close notify" alert) to prevent
  595. against a truncation attack. Really old servers may neglect to send any
  596. termination point. An option could be added to ignore such abrupt closures.
  597. https://github.com/curl/curl/issues/4427
  598. 16. SASL
  599. 16.1 Other authentication mechanisms
  600. Add support for other authentication mechanisms such as OLP,
  601. GSS-SPNEGO and others.
  602. 16.2 Add QOP support to GSSAPI authentication
  603. Currently the GSSAPI authentication only supports the default QOP of auth
  604. (Authentication), whilst Kerberos V5 supports both auth-int (Authentication
  605. with integrity protection) and auth-conf (Authentication with integrity and
  606. privacy protection).
  607. 16.3 Support binary messages (i.e.: non-base64)
  608. Mandatory to support LDAP SASL authentication.
  609. 17. SSH protocols
  610. 17.1 Multiplexing
  611. SSH is a perfectly fine multiplexed protocols which would allow libcurl to do
  612. multiple parallel transfers from the same host using the same connection,
  613. much in the same spirit as HTTP/2 does. libcurl however does not take
  614. advantage of that ability but will instead always create a new connection for
  615. new transfers even if an existing connection already exists to the host.
  616. To fix this, libcurl would have to detect an existing connection and "attach"
  617. the new transfer to the existing one.
  618. 17.2 Handle growing SFTP files
  619. The SFTP code in libcurl checks the file size *before* a transfer starts and
  620. then proceeds to transfer exactly that amount of data. If the remote file
  621. grows while the transfer is in progress libcurl won't notice and will not
  622. adapt. The OpenSSH SFTP command line tool does and libcurl could also just
  623. attempt to download more to see if there is more to get...
  624. https://github.com/curl/curl/issues/4344
  625. 17.3 Support better than MD5 hostkey hash
  626. libcurl offers the CURLOPT_SSH_HOST_PUBLIC_KEY_MD5 option for verifying the
  627. server's key. MD5 is generally being deprecated so we should implement
  628. support for stronger hashing algorithms. libssh2 itself is what provides this
  629. underlying functionality and it supports at least SHA-1 as an alternative.
  630. SHA-1 is also being deprecated these days so we should consider working with
  631. libssh2 to instead offer support for SHA-256 or similar.
  632. 17.4 Support CURLOPT_PREQUOTE
  633. The two other QUOTE options are supported for SFTP, but this was left out for
  634. unknown reasons!
  635. 17.5 SSH over HTTPS proxy with more backends
  636. The SSH based protocols SFTP and SCP didn't work over HTTPS proxy at
  637. all until PR https://github.com/curl/curl/pull/6021 brought the
  638. functionality with the libssh2 backend. Presumably, this support
  639. can/could be added for the other backends as well.
  640. 18. Command line tool
  641. 18.1 sync
  642. "curl --sync http://example.com/feed[1-100].rss" or
  643. "curl --sync http://example.net/{index,calendar,history}.html"
  644. Downloads a range or set of URLs using the remote name, but only if the
  645. remote file is newer than the local file. A Last-Modified HTTP date header
  646. should also be used to set the mod date on the downloaded file.
  647. 18.2 glob posts
  648. Globbing support for -d and -F, as in 'curl -d "name=foo[0-9]" URL'.
  649. This is easily scripted though.
  650. 18.3 prevent file overwriting
  651. Add an option that prevents curl from overwriting existing local files. When
  652. used, and there already is an existing file with the target file name
  653. (either -O or -o), a number should be appended (and increased if already
  654. existing). So that index.html becomes first index.html.1 and then
  655. index.html.2 etc.
  656. 18.4 --proxycommand
  657. Allow the user to make curl run a command and use its stdio to make requests
  658. and not do any network connection by itself. Example:
  659. curl --proxycommand 'ssh pi@raspberrypi.local -W 10.1.1.75 80' \
  660. http://some/otherwise/unavailable/service.php
  661. See https://github.com/curl/curl/issues/4941
  662. 18.5 UTF-8 filenames in Content-Disposition
  663. RFC 6266 documents how UTF-8 names can be passed to a client in the
  664. Content-Disposition header, and curl does not support this.
  665. https://github.com/curl/curl/issues/1888
  666. 18.6 Option to make -Z merge lined based outputs on stdout
  667. When a user requests multiple lined based files using -Z and sends them to
  668. stdout, curl will not "merge" and send complete lines fine but may very well
  669. send partial lines from several sources.
  670. https://github.com/curl/curl/issues/5175
  671. 18.7 at least N milliseconds between requests
  672. Allow curl command lines issue a lot of request against services that limit
  673. users to no more than N requests/second or similar. Could be implemented with
  674. an option asking that at least a certain time has elapsed since the previous
  675. request before the next one will be performed. Example:
  676. $ curl "https://example.com/api?input=[1-1000]" -d yadayada --after 500
  677. See https://github.com/curl/curl/issues/3920
  678. 18.8 Consider convenience options for JSON and XML?
  679. Could we add `--xml` or `--json` to add headers needed to call rest API:
  680. `--xml` adds -H 'Content-Type: application/xml' -H "Accept: application/xml" and
  681. `--json` adds -H 'Content-Type: application/json' -H "Accept: application/json"
  682. Setting Content-Type when doing a GET or any other method without a body
  683. would be a bit strange I think - so maybe only add CT for requests with body?
  684. Maybe plain `--xml` and ` --json` are a bit too brief and generic. Maybe
  685. `--http-json` etc?
  686. See https://github.com/curl/curl/issues/5203
  687. 18.9 Choose the name of file in braces for complex URLs
  688. When using braces to download a list of URLs and you use complicated names
  689. in the list of alternatives, it could be handy to allow curl to use other
  690. names when saving.
  691. Consider a way to offer that. Possibly like
  692. {partURL1:name1,partURL2:name2,partURL3:name3} where the name following the
  693. colon is the output name.
  694. See https://github.com/curl/curl/issues/221
  695. 18.10 improve how curl works in a windows console window
  696. If you pull the scrollbar when transferring with curl in a Windows console
  697. window, the transfer is interrupted and can get disconnected. This can
  698. probably be improved. See https://github.com/curl/curl/issues/322
  699. 18.11 Windows: set attribute 'archive' for completed downloads
  700. The archive bit (FILE_ATTRIBUTE_ARCHIVE, 0x20) separates files that shall be
  701. backed up from those that are either not ready or have not changed.
  702. Downloads in progress are neither ready to be backed up, nor should they be
  703. opened by a different process. Only after a download has been completed it's
  704. sensible to include it in any integer snapshot or backup of the system.
  705. See https://github.com/curl/curl/issues/3354
  706. 18.12 keep running, read instructions from pipe/socket
  707. Provide an option that makes curl not exit after the last URL (or even work
  708. without a given URL), and then make it read instructions passed on a pipe or
  709. over a socket to make further instructions so that a second subsequent curl
  710. invoke can talk to the still running instance and ask for transfers to get
  711. done, and thus maintain its connection pool, DNS cache and more.
  712. 18.13 Ratelimit or wait between serial requests
  713. Consider a command line option that can make curl do multiple serial requests
  714. slow, potentially with a (random) wait between transfers. There's also a
  715. proposed set of standard HTTP headers to let servers let the client adapt to
  716. its rate limits:
  717. https://www.ietf.org/id/draft-polli-ratelimit-headers-02.html
  718. See https://github.com/curl/curl/issues/5406
  719. 18.14 --dry-run
  720. A command line option that makes curl show exactly what it would do and send
  721. if it would run for real.
  722. See https://github.com/curl/curl/issues/5426
  723. 18.15 --retry should resume
  724. When --retry is used and curl actually retries transfer, it should use the
  725. already transferred data and do a resumed transfer for the rest (when
  726. possible) so that it doesn't have to transfer the same data again that was
  727. already transferred before the retry.
  728. See https://github.com/curl/curl/issues/1084
  729. 18.16 send only part of --data
  730. When the user only wants to send a small piece of the data provided with
  731. --data or --data-binary, like when that data is a huge file, consider a way
  732. to specify that curl should only send a piece of that. One suggested syntax
  733. would be: "--data-binary @largefile.zip!1073741823-2147483647".
  734. See https://github.com/curl/curl/issues/1200
  735. 18.17 consider file name from the redirected URL with -O ?
  736. When a user gives a URL and uses -O, and curl follows a redirect to a new
  737. URL, the file name is not extracted and used from the newly redirected-to URL
  738. even if the new URL may have a much more sensible file name.
  739. This is clearly documented and helps for security since there's no surprise
  740. to users which file name that might get overwritten. But maybe a new option
  741. could allow for this or maybe -J should imply such a treatment as well as -J
  742. already allows for the server to decide what file name to use so it already
  743. provides the "may overwrite any file" risk.
  744. This is extra tricky if the original URL has no file name part at all since
  745. then the current code path will error out with an error message, and we can't
  746. *know* already at that point if curl will be redirected to a URL that has a
  747. file name...
  748. See https://github.com/curl/curl/issues/1241
  749. 18.18 retry on network is unreachable
  750. The --retry option retries transfers on "transient failures". We later added
  751. --retry-connrefused to also retry for "connection refused" errors.
  752. Suggestions have been brought to also allow retry on "network is unreachable"
  753. errors and while totally reasonable, maybe we should consider a way to make
  754. this more configurable than to add a new option for every new error people
  755. want to retry for?
  756. https://github.com/curl/curl/issues/1603
  757. 18.19 expand ~/ in config files
  758. For example .curlrc could benefit from being able to do this.
  759. See https://github.com/curl/curl/issues/2317
  760. 18.20 host name sections in config files
  761. config files would be more powerful if they could set different
  762. configurations depending on used URLs, host name or possibly origin. Then a
  763. default .curlrc could a specific user-agent only when doing requests against
  764. a certain site.
  765. 18.21 retry on the redirected-to URL
  766. When curl is told to --retry a failed transfer and follows redirects, it
  767. might get a HTTP 429 response from the redirected-to URL and not the original
  768. one, which then could make curl decide to rather retry the transfer on that
  769. URL only instead of the original operation to the original URL.
  770. Perhaps extra emphasized if the original transfer is a large POST that
  771. redirects to a separate GET, and that GET is what gets the 529
  772. See https://github.com/curl/curl/issues/5462
  773. 18.23 Set the modification date on an uploaded file
  774. For SFTP and possibly FTP, curl could offer an option to set the
  775. modification time for the uploaded file.
  776. See https://github.com/curl/curl/issues/5768
  777. 18.24 Use multiple parallel transfers for a single download
  778. To enhance transfer speed, downloading a single URL can be split up into
  779. multiple separate range downloads that get combined into a single final
  780. result.
  781. An ideal implementation would not use a specified number of parallel
  782. transfers, but curl could:
  783. - First start getting the full file as transfer A
  784. - If after N seconds have passed and the transfer is expected to continue for
  785. M seconds or more, add a new transfer (B) that asks for the second half of
  786. A's content (and stop A at the middle).
  787. - If splitting up the work improves the transfer rate, it could then be done
  788. again. Then again, etc up to a limit.
  789. This way, if transfer B fails (because Range: isn't supported) it will let
  790. transfer A remain the single one. N and M could be set to some sensible
  791. defaults.
  792. See https://github.com/curl/curl/issues/5774
  793. 18.25 Prevent terminal injection when writing to terminal
  794. curl could offer an option to make escape sequence either non-functional or
  795. avoid cursor moves or similar to reduce the risk of a user getting tricked by
  796. clever tricks.
  797. See https://github.com/curl/curl/issues/6150
  798. 18.26 Custom progress meter update interval
  799. Users who are for example doing large downloads in CI or remote setups might
  800. want the occasional progress meter update to see that the transfer is
  801. progressing and hasn't stuck, but they may not appreciate the
  802. many-times-a-second frequency curl can end up doing it with now.
  803. 19. Build
  804. 19.1 roffit
  805. Consider extending 'roffit' to produce decent ASCII output, and use that
  806. instead of (g)nroff when building src/tool_hugehelp.c
  807. 19.2 Enable PIE and RELRO by default
  808. Especially when having programs that execute curl via the command line, PIE
  809. renders the exploitation of memory corruption vulnerabilities a lot more
  810. difficult. This can be attributed to the additional information leaks being
  811. required to conduct a successful attack. RELRO, on the other hand, masks
  812. different binary sections like the GOT as read-only and thus kills a handful
  813. of techniques that come in handy when attackers are able to arbitrarily
  814. overwrite memory. A few tests showed that enabling these features had close
  815. to no impact, neither on the performance nor on the general functionality of
  816. curl.
  817. 19.3 Don't use GNU libtool on OpenBSD
  818. When compiling curl on OpenBSD with "--enable-debug" it will give linking
  819. errors when you use GNU libtool. This can be fixed by using the libtool
  820. provided by OpenBSD itself. However for this the user always needs to invoke
  821. make with "LIBTOOL=/usr/bin/libtool". It would be nice if the script could
  822. have some magic to detect if this system is an OpenBSD host and then use the
  823. OpenBSD libtool instead.
  824. See https://github.com/curl/curl/issues/5862
  825. 19.4 Package curl for Windows in a signed installer
  826. See https://github.com/curl/curl/issues/5424
  827. 20. Test suite
  828. 20.1 SSL tunnel
  829. Make our own version of stunnel for simple port forwarding to enable HTTPS
  830. and FTP-SSL tests without the stunnel dependency, and it could allow us to
  831. provide test tools built with either OpenSSL or GnuTLS
  832. 20.2 nicer lacking perl message
  833. If perl wasn't found by the configure script, don't attempt to run the tests
  834. but explain something nice why it doesn't.
  835. 20.3 more protocols supported
  836. Extend the test suite to include more protocols. The telnet could just do FTP
  837. or http operations (for which we have test servers).
  838. 20.4 more platforms supported
  839. Make the test suite work on more platforms. OpenBSD and Mac OS. Remove
  840. fork()s and it should become even more portable.
  841. 20.5 Add support for concurrent connections
  842. Tests 836, 882 and 938 were designed to verify that separate connections
  843. aren't used when using different login credentials in protocols that
  844. shouldn't re-use a connection under such circumstances.
  845. Unfortunately, ftpserver.pl doesn't appear to support multiple concurrent
  846. connections. The read while() loop seems to loop until it receives a
  847. disconnect from the client, where it then enters the waiting for connections
  848. loop. When the client opens a second connection to the server, the first
  849. connection hasn't been dropped (unless it has been forced - which we
  850. shouldn't do in these tests) and thus the wait for connections loop is never
  851. entered to receive the second connection.
  852. 20.6 Use the RFC6265 test suite
  853. A test suite made for HTTP cookies (RFC 6265) by Adam Barth is available at
  854. https://github.com/abarth/http-state/tree/master/tests
  855. It'd be really awesome if someone would write a script/setup that would run
  856. curl with that test suite and detect deviances. Ideally, that would even be
  857. incorporated into our regular test suite.
  858. 20.7 Support LD_PRELOAD on macOS
  859. LD_RELOAD doesn't work on macOS, but there are tests which require it to run
  860. properly. Look into making the preload support in runtests.pl portable such
  861. that it uses DYLD_INSERT_LIBRARIES on macOS.
  862. 20.8 Run web-platform-tests url tests
  863. Run web-platform-tests url tests and compare results with browsers on wpt.fyi
  864. It would help us find issues to fix and help us document where our parser
  865. differs from the WHATWG URL spec parsers.
  866. See https://github.com/curl/curl/issues/4477
  867. 20.9 Bring back libssh tests on Travis
  868. In https://github.com/curl/curl/pull/7012 we remove the libssh builds and
  869. tests from Travis CI due to them not working. This should be remedied and
  870. libssh builds be brought back.