• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1                                  _   _ ____  _
2                              ___| | | |  _ \| |
3                             / __| | | | |_) | |
4                            | (__| |_| |  _ <| |___
5                             \___|\___/|_| \_\_____|
6
7                Things that could be nice to do in the future
8
9 Things to do in project curl. Please tell us what you think, contribute and
10 send us patches that improve things.
11
12 Be aware that these are things that we could do, or have once been considered
13 things we could do. If you want to work on any of these areas, please
14 consider bringing it up for discussions first on the mailing list so that we
15 all agree it is still a good idea for the project.
16
17 All bugs documented in the KNOWN_BUGS document are subject for fixing.
18
19 1. libcurl
20 1.1 TFO support on Windows
21 1.2 Consult %APPDATA% also for .netrc
22 1.3 struct lifreq
23 1.4 alt-svc sharing
24 1.5 get rid of PATH_MAX
25 1.6 native IDN support on macOS
26 1.8 CURLOPT_RESOLVE for any port number
27 1.9 Cache negative name resolves
28 1.10 auto-detect proxy
29 1.11 minimize dependencies with dynamically loaded modules
30 1.12 updated DNS server while running
31 1.13 c-ares and CURLOPT_OPENSOCKETFUNCTION
32 1.15 Monitor connections in the connection pool
33 1.16 Try to URL encode given URL
34 1.17 Add support for IRIs
35 1.18 try next proxy if one does not work
36 1.19 provide timing info for each redirect
37 1.20 SRV and URI DNS records
38 1.21 netrc caching and sharing
39 1.22 CURLINFO_PAUSE_STATE
40 1.23 Offer API to flush the connection pool
41 1.25 Expose tried IP addresses that failed
42 1.28 FD_CLOEXEC
43 1.29 WebSocket read callback
44 1.30 config file parsing
45 1.31 erase secrets from heap/stack after use
46 1.32 add asynch getaddrinfo support
47 1.33 make DoH inherit more transfer properties
48
49 2. libcurl - multi interface
50 2.1 More non-blocking
51 2.2 Better support for same name resolves
52 2.3 Non-blocking curl_multi_remove_handle()
53 2.4 Split connect and authentication process
54 2.5 Edge-triggered sockets should work
55 2.6 multi upkeep
56 2.7 Virtual external sockets
57 2.8 dynamically decide to use socketpair
58
59 3. Documentation
60 3.1 Improve documentation about fork safety
61 3.2 Provide cmake config-file
62
63 4. FTP
64 4.1 HOST
65 4.2 Alter passive/active on failure and retry
66 4.3 Earlier bad letter detection
67 4.4 Support CURLOPT_PREQUOTE for dir listings too
68 4.5 ASCII support
69 4.6 GSSAPI via Windows SSPI
70 4.7 STAT for LIST without data connection
71 4.8 Passive transfer could try other IP addresses
72
73 5. HTTP
74 5.1 Provide the error body from a CONNECT response
75 5.2 Obey Retry-After in redirects
76 5.3 Rearrange request header order
77 5.4 Allow SAN names in HTTP/2 server push
78 5.5 auth= in URLs
79 5.6 alt-svc should fallback if alt-svc does not work
80 5.7 Require HTTP version X or higher
81
82 6. TELNET
83 6.1 ditch stdin
84 6.2 ditch telnet-specific select
85 6.3 feature negotiation debug data
86 6.4 exit immediately upon connection if stdin is /dev/null
87
88 7. SMTP
89 7.1 Passing NOTIFY option to CURLOPT_MAIL_RCPT
90 7.2 Enhanced capability support
91 7.3 Add CURLOPT_MAIL_CLIENT option
92
93 8. POP3
94 8.2 Enhanced capability support
95
96 9. IMAP
97 9.1 Enhanced capability support
98
99 10. LDAP
100 10.1 SASL based authentication mechanisms
101 10.2 CURLOPT_SSL_CTX_FUNCTION for LDAPS
102 10.3 Paged searches on LDAP server
103 10.4 Certificate-Based Authentication
104
105 11. SMB
106 11.1 File listing support
107 11.2 Honor file timestamps
108 11.3 Use NTLMv2
109 11.4 Create remote directories
110
111 12. FILE
112 12.1 Directory listing for FILE:
113
114 13. TLS
115 13.1 TLS-PSK with OpenSSL
116 13.2 Provide mutex locking API
117 13.3 Defeat TLS fingerprinting
118 13.4 Cache/share OpenSSL contexts
119 13.5 Export session ids
120 13.6 Provide callback for cert verification
121 13.7 Less memory massaging with Schannel
122 13.8 Support DANE
123 13.9 TLS record padding
124 13.10 Support Authority Information Access certificate extension (AIA)
125 13.11 Some TLS options are not offered for HTTPS proxies
126 13.12 Reduce CA certificate bundle reparsing
127 13.13 Make sure we forbid TLS 1.3 post-handshake authentication
128 13.14 Support the clienthello extension
129
130 14. GnuTLS
131 14.2 check connection
132
133 15. Schannel
134 15.1 Extend support for client certificate authentication
135 15.2 Extend support for the --ciphers option
136 15.4 Add option to allow abrupt server closure
137
138 16. SASL
139 16.1 Other authentication mechanisms
140 16.2 Add QOP support to GSSAPI authentication
141
142 17. SSH protocols
143 17.1 Multiplexing
144 17.2 Handle growing SFTP files
145 17.3 Read keys from ~/.ssh/id_ecdsa, id_ed25519
146 17.4 Support CURLOPT_PREQUOTE
147 17.5 SSH over HTTPS proxy with more backends
148 17.6 SFTP with SCP://
149
150 18. Command line tool
151 18.1 sync
152 18.2 glob posts
153 18.4 --proxycommand
154 18.5 UTF-8 filenames in Content-Disposition
155 18.6 Option to make -Z merge lined based outputs on stdout
156 18.8 Consider convenience options for JSON and XML?
157 18.9 Choose the name of file in braces for complex URLs
158 18.10 improve how curl works in a windows console window
159 18.11 Windows: set attribute 'archive' for completed downloads
160 18.12 keep running, read instructions from pipe/socket
161 18.13 Ratelimit or wait between serial requests
162 18.14 --dry-run
163 18.15 --retry should resume
164 18.16 send only part of --data
165 18.17 consider file name from the redirected URL with -O ?
166 18.18 retry on network is unreachable
167 18.19 expand ~/ in config files
168 18.20 host name sections in config files
169 18.21 retry on the redirected-to URL
170 18.23 Set the modification date on an uploaded file
171 18.24 Use multiple parallel transfers for a single download
172 18.25 Prevent terminal injection when writing to terminal
173 18.26 Custom progress meter update interval
174 18.27 -J and -O with %-encoded file names
175 18.28 -J with -C -
176 18.29 --retry and transfer timeouts
177
178 19. Build
179 19.1 roffit
180 19.2 Enable PIE and RELRO by default
181 19.3 Do not use GNU libtool on OpenBSD
182 19.4 Package curl for Windows in a signed installer
183 19.5 make configure use --cache-file more and better
184 19.6 build curl with Windows Unicode support
185
186 20. Test suite
187 20.1 SSL tunnel
188 20.2 nicer lacking perl message
189 20.3 more protocols supported
190 20.4 more platforms supported
191 20.5 Add support for concurrent connections
192 20.6 Use the RFC 6265 test suite
193 20.7 Support LD_PRELOAD on macOS
194 20.8 Run web-platform-tests URL tests
195
196 21. MQTT
197 21.1 Support rate-limiting
198
199 22. TFTP
200 22.1 TFTP doesn't convert LF to CRLF for mode=netascii
201
202==============================================================================
203
2041. libcurl
205
2061.1 TFO support on Windows
207
208 libcurl supports the CURLOPT_TCP_FASTOPEN option since 7.49.0 for Linux and
209 Mac OS. Windows supports TCP Fast Open starting with Windows 10, version 1607
210 and we should add support for it.
211
212 TCP Fast Open is supported on several platforms but not on Windows. Work on
213 this was once started but never finished.
214
215 See https://github.com/curl/curl/pull/3378
216
2171.2 Consult %APPDATA% also for .netrc
218
219 %APPDATA%\.netrc is not considered when running on Windows. should not it?
220
221 See https://github.com/curl/curl/issues/4016
222
2231.3 struct lifreq
224
225 Use 'struct lifreq' and SIOCGLIFADDR instead of 'struct ifreq' and
226 SIOCGIFADDR on newer Solaris versions as they claim the latter is obsolete.
227 To support IPv6 interface addresses for network interfaces properly.
228
2291.4 Better and more sharing
230
231 The share interface could benefit from allowing the alt-svc cache to be
232 possible to share between easy handles.
233
234 See https://github.com/curl/curl/issues/4476
235
236 The share interface offers CURL_LOCK_DATA_CONNECT to have multiple easy
237 handle share a connection cache, but due to how connections are used they are
238 still not thread-safe when used shared.
239
240 See https://github.com/curl/curl/issues/4915 and lib1541.c
241
242 The share interface offers CURL_LOCK_DATA_HSTS to have multiple easy handle
243 share a HSTS cache, but this is not thread-safe.
244
2451.5 get rid of PATH_MAX
246
247 Having code use and rely on PATH_MAX is not nice:
248 https://insanecoding.blogspot.com/2007/11/pathmax-simply-isnt.html
249
250 Currently the libssh2 SSH based code uses it, but to remove PATH_MAX from
251 there we need libssh2 to properly tell us when we pass in a too small buffer
252 and its current API (as of libssh2 1.2.7) does not.
253
2541.6 native IDN support on macOS
255
256 On recent macOS versions, the getaddrinfo() function itself has built-in IDN
257 support. By setting the AI_CANONNAME flag, the function will return the
258 encoded name in the ai_canonname struct field in the returned information.
259 This could be used by curl on macOS when built without a separate IDN library
260 and an IDN host name is used in a URL.
261
262 See initial work in https://github.com/curl/curl/pull/5371
263
2641.8 CURLOPT_RESOLVE for any port number
265
266 This option allows applications to set a replacement IP address for a given
267 host + port pair. Consider making support for providing a replacement address
268 for the host name on all port numbers.
269
270 See https://github.com/curl/curl/issues/1264
271
2721.9 Cache negative name resolves
273
274 A name resolve that has failed is likely to fail when made again within a
275 short period of time. Currently we only cache positive responses.
276
2771.10 auto-detect proxy
278
279 libcurl could be made to detect the system proxy setup automatically and use
280 that. On Windows, macOS and Linux desktops for example.
281
282 The pull-request to use libproxy for this was deferred due to doubts on the
283 reliability of the dependency and how to use it:
284 https://github.com/curl/curl/pull/977
285
286 libdetectproxy is a (C++) library for detecting the proxy on Windows
287 https://github.com/paulharris/libdetectproxy
288
2891.11 minimize dependencies with dynamically loaded modules
290
291 We can create a system with loadable modules/plug-ins, where these modules
292 would be the ones that link to 3rd party libs. That would allow us to avoid
293 having to load ALL dependencies since only the necessary ones for this
294 app/invoke/used protocols would be necessary to load. See
295 https://github.com/curl/curl/issues/349
296
2971.12 updated DNS server while running
298
299 If /etc/resolv.conf gets updated while a program using libcurl is running, it
300 is may cause name resolves to fail unless res_init() is called. We should
301 consider calling res_init() + retry once unconditionally on all name resolve
302 failures to mitigate against this. Firefox works like that. Note that Windows
303 does not have res_init() or an alternative.
304
305 https://github.com/curl/curl/issues/2251
306
3071.13 c-ares and CURLOPT_OPENSOCKETFUNCTION
308
309 curl will create most sockets via the CURLOPT_OPENSOCKETFUNCTION callback and
310 close them with the CURLOPT_CLOSESOCKETFUNCTION callback. However, c-ares
311 does not use those functions and instead opens and closes the sockets
312 itself. This means that when curl passes the c-ares socket to the
313 CURLMOPT_SOCKETFUNCTION it is not owned by the application like other sockets.
314
315 See https://github.com/curl/curl/issues/2734
316
3171.15 Monitor connections in the connection pool
318
319 libcurl's connection cache or pool holds a number of open connections for the
320 purpose of possible subsequent connection reuse. It may contain a few up to a
321 significant amount of connections. Currently, libcurl leaves all connections
322 as they are and first when a connection is iterated over for matching or
323 reuse purpose it is verified that it is still alive.
324
325 Those connections may get closed by the server side for idleness or they may
326 get an HTTP/2 ping from the peer to verify that they are still alive. By
327 adding monitoring of the connections while in the pool, libcurl can detect
328 dead connections (and close them) better and earlier, and it can handle
329 HTTP/2 pings to keep such ones alive even when not actively doing transfers
330 on them.
331
3321.16 Try to URL encode given URL
333
334 Given a URL that for example contains spaces, libcurl could have an option
335 that would try somewhat harder than it does now and convert spaces to %20 and
336 perhaps URL encoded byte values over 128 etc (basically do what the redirect
337 following code already does).
338
339 https://github.com/curl/curl/issues/514
340
3411.17 Add support for IRIs
342
343 IRIs (RFC 3987) allow localized, non-ascii, names in the URL. To properly
344 support this, curl/libcurl would need to translate/encode the given input
345 from the input string encoding into percent encoded output "over the wire".
346
347 To make that work smoothly for curl users even on Windows, curl would
348 probably need to be able to convert from several input encodings.
349
3501.18 try next proxy if one does not work
351
352 Allow an application to specify a list of proxies to try, and failing to
353 connect to the first go on and try the next instead until the list is
354 exhausted. Browsers support this feature at least when they specify proxies
355 using PACs.
356
357 https://github.com/curl/curl/issues/896
358
3591.19 provide timing info for each redirect
360
361 curl and libcurl provide timing information via a set of different
362 time-stamps (CURLINFO_*_TIME). When curl is following redirects, those
363 returned time value are the accumulated sums. An improvement could be to
364 offer separate timings for each redirect.
365
366 https://github.com/curl/curl/issues/6743
367
3681.20 SRV and URI DNS records
369
370 Offer support for resolving SRV and URI DNS records for libcurl to know which
371 server to connect to for various protocols (including HTTP).
372
3731.21 netrc caching and sharing
374
375 The netrc file is read and parsed each time a connection is setup, which
376 means that if a transfer needs multiple connections for authentication or
377 redirects, the file might be reread (and parsed) multiple times. This makes
378 it impossible to provide the file as a pipe.
379
3801.22 CURLINFO_PAUSE_STATE
381
382 Return information about the transfer's current pause state, in both
383 directions. https://github.com/curl/curl/issues/2588
384
3851.23 Offer API to flush the connection pool
386
387 Sometimes applications want to flush all the existing connections kept alive.
388 An API could allow a forced flush or just a forced loop that would properly
389 close all connections that have been closed by the server already.
390
3911.25 Expose tried IP addresses that failed
392
393 When libcurl fails to connect to a host, it could offer the application the
394 addresses that were used in the attempt. Source + dest IP, source + dest port
395 and protocol (UDP or TCP) for each failure. Possibly as a callback. Perhaps
396 also provide "reason".
397
398 https://github.com/curl/curl/issues/2126
399
4001.28 FD_CLOEXEC
401
402 It sets the close-on-exec flag for the file descriptor, which causes the file
403 descriptor to be automatically (and atomically) closed when any of the
404 exec-family functions succeed. Should probably be set by default?
405
406 https://github.com/curl/curl/issues/2252
407
4081.29 WebSocket read callback
409
410 Call the read callback once the connection is established to allow sending
411 the first message in the connection.
412
413 https://github.com/curl/curl/issues/11402
414
4151.30 config file parsing
416
417 Consider providing an API, possibly in a separate companion library, for
418 parsing a config file like curl's -K/--config option to allow applications to
419 get the same ability to read curl options from files.
420
421 See https://github.com/curl/curl/issues/3698
422
4231.31 erase secrets from heap/stack after use
424
425 Introducing a concept and system to erase secrets from memory after use, it
426 could help mitigate and lessen the impact of (future) security problems etc.
427 However: most secrets are passed to libcurl as clear text from the
428 application and then clearing them within the library adds nothing...
429
430 https://github.com/curl/curl/issues/7268
431
4321.32 add asynch getaddrinfo support
433
434 Use getaddrinfo_a() to provide an asynch name resolver backend to libcurl
435 that does not use threads and does not depend on c-ares. The getaddrinfo_a
436 function is (probably?) glibc specific but that is a widely used libc among
437 our users.
438
439 https://github.com/curl/curl/pull/6746
440
4411.33 make DoH inherit more transfer properties
442
443 Some options are not inherited because they are not relevant for the DoH SSL
444 connections, or inheriting the option may result in unexpected behavior. For
445 example the user's debug function callback is not inherited because it would
446 be unexpected for internal handles (ie DoH handles) to be passed to that
447 callback.
448
449 If an option is not inherited then it is not possible to set it separately
450 for DoH without a DoH-specific option. For example:
451 CURLOPT_DOH_SSL_VERIFYHOST, CURLOPT_DOH_SSL_VERIFYPEER and
452 CURLOPT_DOH_SSL_VERIFYSTATUS.
453
454 See https://github.com/curl/curl/issues/6605
455
4562. libcurl - multi interface
457
4582.1 More non-blocking
459
460 Make sure we do not ever loop because of non-blocking sockets returning
461 EWOULDBLOCK or similar. Blocking cases include:
462
463 - Name resolves on non-windows unless c-ares or the threaded resolver is used.
464
465 - The threaded resolver may block on cleanup:
466 https://github.com/curl/curl/issues/4852
467
468 - file:// transfers
469
470 - TELNET transfers
471
472 - GSSAPI authentication for FTP transfers
473
474 - The "DONE" operation (post transfer protocol-specific actions) for the
475 protocols SFTP, SMTP, FTP. Fixing multi_done() for this is a worthy task.
476
477 - curl_multi_remove_handle for any of the above. See section 2.3.
478
4792.2 Better support for same name resolves
480
481 If a name resolve has been initiated for name NN and a second easy handle
482 wants to resolve that name as well, make it wait for the first resolve to end
483 up in the cache instead of doing a second separate resolve. This is
484 especially needed when adding many simultaneous handles using the same host
485 name when the DNS resolver can get flooded.
486
4872.3 Non-blocking curl_multi_remove_handle()
488
489 The multi interface has a few API calls that assume a blocking behavior, like
490 add_handle() and remove_handle() which limits what we can do internally. The
491 multi API need to be moved even more into a single function that "drives"
492 everything in a non-blocking manner and signals when something is done. A
493 remove or add would then only ask for the action to get started and then
494 multi_perform() etc still be called until the add/remove is completed.
495
4962.4 Split connect and authentication process
497
498 The multi interface treats the authentication process as part of the connect
499 phase. As such any failures during authentication will not trigger the relevant
500 QUIT or LOGOFF for protocols such as IMAP, POP3 and SMTP.
501
5022.5 Edge-triggered sockets should work
503
504 The multi_socket API should work with edge-triggered socket events. One of
505 the internal actions that need to be improved for this to work perfectly is
506 the 'maxloops' handling in transfer.c:readwrite_data().
507
5082.6 multi upkeep
509
510 In libcurl 7.62.0 we introduced curl_easy_upkeep. It unfortunately only works
511 on easy handles. We should introduces a version of that for the multi handle,
512 and also consider doing "upkeep" automatically on connections in the
513 connection pool when the multi handle is in used.
514
515 See https://github.com/curl/curl/issues/3199
516
5172.7 Virtual external sockets
518
519 libcurl performs operations on the given file descriptor that presumes it is
520 a socket and an application cannot replace them at the moment. Allowing an
521 application to fully replace those would allow a larger degree of freedom and
522 flexibility.
523
524 See https://github.com/curl/curl/issues/5835
525
5262.8 dynamically decide to use socketpair
527
528 For users who do not use curl_multi_wait() or do not care for
529 curl_multi_wakeup(), we could introduce a way to make libcurl NOT
530 create a socketpair in the multi handle.
531
532 See https://github.com/curl/curl/issues/4829
533
5343. Documentation
535
5363.1 Improve documentation about fork safety
537
538 See https://github.com/curl/curl/issues/6968
539
5403.2 Provide cmake config-file
541
542 A config-file package is a set of files provided by us to allow applications
543 to write cmake scripts to find and use libcurl easier. See
544 https://github.com/curl/curl/issues/885
545
5464. FTP
547
5484.1 HOST
549
550 HOST is a command for a client to tell which host name to use, to offer FTP
551 servers named-based virtual hosting:
552
553 https://datatracker.ietf.org/doc/html/rfc7151
554
5554.2 Alter passive/active on failure and retry
556
557 When trying to connect passively to a server which only supports active
558 connections, libcurl returns CURLE_FTP_WEIRD_PASV_REPLY and closes the
559 connection. There could be a way to fallback to an active connection (and
560 vice versa). https://curl.se/bug/feature.cgi?id=1754793
561
5624.3 Earlier bad letter detection
563
564 Make the detection of (bad) %0d and %0a codes in FTP URL parts earlier in the
565 process to avoid doing a resolve and connect in vain.
566
5674.4 Support CURLOPT_PREQUOTE for dir listings too
568
569 The lack of support is mostly an oversight and requires the FTP state machine
570 to get updated to get fixed.
571
572 https://github.com/curl/curl/issues/8602
573
5744.5 ASCII support
575
576 FTP ASCII transfers do not follow RFC 959. They do not convert the data
577 accordingly.
578
5794.6 GSSAPI via Windows SSPI
580
581 In addition to currently supporting the SASL GSSAPI mechanism (Kerberos V5)
582 via third-party GSS-API libraries, such as Heimdal or MIT Kerberos, also add
583 support for GSSAPI authentication via Windows SSPI.
584
5854.7 STAT for LIST without data connection
586
587 Some FTP servers allow STAT for listing directories instead of using LIST,
588 and the response is then sent over the control connection instead of as the
589 otherwise usedw data connection: https://www.nsftools.com/tips/RawFTP.htm#STAT
590
591 This is not detailed in any FTP specification.
592
5934.8 Passive transfer could try other IP addresses
594
595 When doing FTP operations through a proxy at localhost, the reported spotted
596 that curl only tried to connect once to the proxy, while it had multiple
597 addresses and a failed connect on one address should make it try the next.
598
599 After switching to passive mode (EPSV), curl could try all IP addresses for
600 "localhost". Currently it tries ::1, but it should also try 127.0.0.1.
601
602 See https://github.com/curl/curl/issues/1508
603
6045. HTTP
605
6065.1 Provide the error body from a CONNECT response
607
608 When curl receives a body response from a CONNECT request to a proxy, it will
609 always just read and ignore it. It would make some users happy if curl
610 instead optionally would be able to make that responsible available. Via a new
611 callback? Through some other means?
612
613 See https://github.com/curl/curl/issues/9513
614
6155.2 Obey Retry-After in redirects
616
617 The Retry-After is said to dicate "the minimum time that the user agent is
618 asked to wait before issuing the redirected request" and libcurl does not
619 obey this.
620
621 See https://github.com/curl/curl/issues/11447
622
6235.3 Rearrange request header order
624
625 Server implementers often make an effort to detect browser and to reject
626 clients it can detect to not match. One of the last details we cannot yet
627 control in libcurl's HTTP requests, which also can be exploited to detect
628 that libcurl is in fact used even when it tries to impersonate a browser, is
629 the order of the request headers. I propose that we introduce a new option in
630 which you give headers a value, and then when the HTTP request is built it
631 sorts the headers based on that number. We could then have internally created
632 headers use a default value so only headers that need to be moved have to be
633 specified.
634
6355.4 Allow SAN names in HTTP/2 server push
636
637 curl only allows HTTP/2 push promise if the provided :authority header value
638 exactly matches the host name given in the URL. It could be extended to allow
639 any name that would match the Subject Alternative Names in the server's TLS
640 certificate.
641
642 See https://github.com/curl/curl/pull/3581
643
6445.5 auth= in URLs
645
646 Add the ability to specify the preferred authentication mechanism to use by
647 using ;auth=<mech> in the login part of the URL.
648
649 For example:
650
651 http://test:pass;auth=NTLM@example.com would be equivalent to specifying
652 --user test:pass;auth=NTLM or --user test:pass --ntlm from the command line.
653
654 Additionally this should be implemented for proxy base URLs as well.
655
6565.6 alt-svc should fallback if alt-svc does not work
657
658 The alt-svc: header provides a set of alternative services for curl to use
659 instead of the original. If the first attempted one fails, it should try the
660 next etc and if all alternatives fail go back to the original.
661
662 See https://github.com/curl/curl/issues/4908
663
6645.7 Require HTTP version X or higher
665
666 curl and libcurl provide options for trying higher HTTP versions (for example
667 HTTP/2) but then still allows the server to pick version 1.1. We could
668 consider adding a way to require a minimum version.
669
670 See https://github.com/curl/curl/issues/7980
671
6726. TELNET
673
6746.1 ditch stdin
675
676 Reading input (to send to the remote server) on stdin is a crappy solution
677 for library purposes. We need to invent a good way for the application to be
678 able to provide the data to send.
679
6806.2 ditch telnet-specific select
681
682 Move the telnet support's network select() loop go away and merge the code
683 into the main transfer loop. Until this is done, the multi interface will not
684 work for telnet.
685
6866.3 feature negotiation debug data
687
688 Add telnet feature negotiation data to the debug callback as header data.
689
6906.4 exit immediately upon connection if stdin is /dev/null
691
692 If it did, curl could be used to probe if there is an server there listening
693 on a specific port. That is, the following command would exit immediately
694 after the connection is established with exit code 0:
695
696    curl -s --connect-timeout 2 telnet://example.com:80 </dev/null
697
6987. SMTP
699
7007.1 Passing NOTIFY option to CURLOPT_MAIL_RCPT
701
702 Is there a way to pass the NOTIFY option to the CURLOPT_MAIL_RCPT option ?  I
703 set a string that already contains a bracket. For instance something like
704 that: curl_slist_append( recipients, "<foo@bar> NOTIFY=SUCCESS,FAILURE" );
705
706 https://github.com/curl/curl/issues/8232
707
7087.2 Enhanced capability support
709
710 Add the ability, for an application that uses libcurl, to obtain the list of
711 capabilities returned from the EHLO command.
712
7137.3 Add CURLOPT_MAIL_CLIENT option
714
715 Rather than use the URL to specify the mail client string to present in the
716 HELO and EHLO commands, libcurl should support a new CURLOPT specifically for
717 specifying this data as the URL is non-standard and to be honest a bit of a
718 hack ;-)
719
720 Please see the following thread for more information:
721 https://curl.se/mail/lib-2012-05/0178.html
722
723
7248. POP3
725
7268.2 Enhanced capability support
727
728 Add the ability, for an application that uses libcurl, to obtain the list of
729 capabilities returned from the CAPA command.
730
7319. IMAP
732
7339.1 Enhanced capability support
734
735 Add the ability, for an application that uses libcurl, to obtain the list of
736 capabilities returned from the CAPABILITY command.
737
73810. LDAP
739
74010.1 SASL based authentication mechanisms
741
742 Currently the LDAP module only supports ldap_simple_bind_s() in order to bind
743 to an LDAP server. However, this function sends username and password details
744 using the simple authentication mechanism (as clear text). However, it should
745 be possible to use ldap_bind_s() instead specifying the security context
746 information ourselves.
747
74810.2 CURLOPT_SSL_CTX_FUNCTION for LDAPS
749
750 CURLOPT_SSL_CTX_FUNCTION works perfectly for HTTPS and email protocols, but
751 it has no effect for LDAPS connections.
752
753 https://github.com/curl/curl/issues/4108
754
75510.3 Paged searches on LDAP server
756
757 https://github.com/curl/curl/issues/4452
758
75910.4 Certificate-Based Authentication
760
761 LDAPS not possible with MAC and Windows with Certificate-Based Authentication
762
763 https://github.com/curl/curl/issues/9641
764
76511. SMB
766
76711.1 File listing support
768
769 Add support for listing the contents of a SMB share. The output should
770 probably be the same as/similar to FTP.
771
77211.2 Honor file timestamps
773
774 The timestamp of the transferred file should reflect that of the original
775 file.
776
77711.3 Use NTLMv2
778
779 Currently the SMB authentication uses NTLMv1.
780
78111.4 Create remote directories
782
783 Support for creating remote directories when uploading a file to a directory
784 that does not exist on the server, just like --ftp-create-dirs.
785
786
78712. FILE
788
78912.1 Directory listing for FILE:
790
791 Add support for listing the contents of a directory accessed with FILE. The
792 output should probably be the same as/similar to FTP.
793
794
79513. TLS
796
79713.1 TLS-PSK with OpenSSL
798
799 Transport Layer Security pre-shared key ciphersuites (TLS-PSK) is a set of
800 cryptographic protocols that provide secure communication based on pre-shared
801 keys (PSKs). These pre-shared keys are symmetric keys shared in advance among
802 the communicating parties.
803
804 https://github.com/curl/curl/issues/5081
805
80613.2 Provide mutex locking API
807
808 Provide a libcurl API for setting mutex callbacks in the underlying SSL
809 library, so that the same application code can use mutex-locking
810 independently of OpenSSL or GnutTLS being used.
811
81213.3 Defeat TLS fingerprinting
813
814 By changing the order of TLS extensions provided in the TLS handshake, it is
815 sometimes possible to circumvent TLS fingerprinting by servers. The TLS
816 extension order is of course not the only way to fingerprint a client.
817
818 See https://github.com/curl/curl/issues/8119
819
82013.4 Cache/share OpenSSL contexts
821
822 "Look at SSL cafile - quick traces look to me like these are done on every
823 request as well, when they should only be necessary once per SSL context (or
824 once per handle)". The major improvement we can rather easily do is to make
825 sure we do not create and kill a new SSL "context" for every request, but
826 instead make one for every connection and reuse that SSL context in the same
827 style connections are reused. It will make us use slightly more memory but it
828 will libcurl do less creations and deletions of SSL contexts.
829
830 Technically, the "caching" is probably best implemented by getting added to
831 the share interface so that easy handles who want to and can reuse the
832 context specify that by sharing with the right properties set.
833
834 https://github.com/curl/curl/issues/1110
835
83613.5 Export session ids
837
838 Add an interface to libcurl that enables "session IDs" to get
839 exported/imported. Cris Bailiff said: "OpenSSL has functions which can
840 serialise the current SSL state to a buffer of your choice, and recover/reset
841 the state from such a buffer at a later date - this is used by mod_ssl for
842 apache to implement and SSL session ID cache".
843
84413.6 Provide callback for cert verification
845
846 OpenSSL supports a callback for customised verification of the peer
847 certificate, but this does not seem to be exposed in the libcurl APIs. Could
848 it be? There is so much that could be done if it were.
849
85013.7 Less memory massaging with Schannel
851
852 The Schannel backend does a lot of custom memory management we would rather
853 avoid: the repeated alloc + free in sends and the custom memory + realloc
854 system for encrypted and decrypted data. That should be avoided and reduced
855 for 1) efficiency and 2) safety.
856
85713.8 Support DANE
858
859 DNS-Based Authentication of Named Entities (DANE) is a way to provide SSL
860 keys and certs over DNS using DNSSEC as an alternative to the CA model.
861 https://www.rfc-editor.org/rfc/rfc6698.txt
862
863 An initial patch was posted by Suresh Krishnaswamy on March 7th 2013
864 (https://curl.se/mail/lib-2013-03/0075.html) but it was a too simple
865 approach. See Daniel's comments:
866 https://curl.se/mail/lib-2013-03/0103.html . libunbound may be the
867 correct library to base this development on.
868
869 Björn Stenberg wrote a separate initial take on DANE that was never
870 completed.
871
87213.9 TLS record padding
873
874 TLS (1.3) offers optional record padding and OpenSSL provides an API for it.
875 I could make sense for libcurl to offer this ability to applications to make
876 traffic patterns harder to figure out by network traffic observers.
877
878 See https://github.com/curl/curl/issues/5398
879
88013.10 Support Authority Information Access certificate extension (AIA)
881
882 AIA can provide various things like CRLs but more importantly information
883 about intermediate CA certificates that can allow validation path to be
884 fulfilled when the HTTPS server does not itself provide them.
885
886 Since AIA is about downloading certs on demand to complete a TLS handshake,
887 it is probably a bit tricky to get done right.
888
889 See https://github.com/curl/curl/issues/2793
890
89113.11 Some TLS options are not offered for HTTPS proxies
892
893 Some TLS related options to the command line tool and libcurl are only
894 provided for the server and not for HTTPS proxies. --proxy-tls-max,
895 --proxy-tlsv1.3, --proxy-curves and a few more.a
896
897 https://github.com/curl/curl/issues/12286
898
89913.12 Reduce CA certificate bundle reparsing
900
901 When using the OpenSSL backend, curl will load and reparse the CA bundle at
902 the creation of the "SSL context" when it sets up a connection to do a TLS
903 handshake. A more effective way would be to somehow cache the CA bundle to
904 avoid it having to be repeatedly reloaded and reparsed.
905
906 See https://github.com/curl/curl/issues/9379
907
90813.13 Make sure we forbid TLS 1.3 post-handshake authentication
909
910 RFC 8740 explains how using HTTP/2 must forbid the use of TLS 1.3
911 post-handshake authentication. We should make sure to live up to that.
912
913 See https://github.com/curl/curl/issues/5396
914
91513.14 Support the clienthello extension
916
917 Certain stupid networks and middle boxes have a problem with SSL handshake
918 packets that are within a certain size range because how that sets some bits
919 that previously (in older TLS version) were not set. The clienthello
920 extension adds padding to avoid that size range.
921
922 https://datatracker.ietf.org/doc/html/rfc7685
923 https://github.com/curl/curl/issues/2299
924
92514. GnuTLS
926
92714.2 check connection
928
929 Add a way to check if the connection seems to be alive, to correspond to the
930 SSL_peak() way we use with OpenSSL.
931
93215. Schannel
933
93415.1 Extend support for client certificate authentication
935
936 The existing support for the -E/--cert and --key options could be
937 extended by supplying a custom certificate and key in PEM format, see:
938 - Getting a Certificate for Schannel
939   https://msdn.microsoft.com/en-us/library/windows/desktop/aa375447.aspx
940
94115.2 Extend support for the --ciphers option
942
943 The existing support for the --ciphers option could be extended
944 by mapping the OpenSSL/GnuTLS cipher suites to the Schannel APIs, see
945 - Specifying Schannel Ciphers and Cipher Strengths
946   https://msdn.microsoft.com/en-us/library/windows/desktop/aa380161.aspx
947
94815.4 Add option to allow abrupt server closure
949
950 libcurl w/schannel will error without a known termination point from the
951 server (such as length of transfer, or SSL "close notify" alert) to prevent
952 against a truncation attack. Really old servers may neglect to send any
953 termination point. An option could be added to ignore such abrupt closures.
954
955 https://github.com/curl/curl/issues/4427
956
95716. SASL
958
95916.1 Other authentication mechanisms
960
961 Add support for other authentication mechanisms such as OLP,
962 GSS-SPNEGO and others.
963
96416.2 Add QOP support to GSSAPI authentication
965
966 Currently the GSSAPI authentication only supports the default QOP of auth
967 (Authentication), whilst Kerberos V5 supports both auth-int (Authentication
968 with integrity protection) and auth-conf (Authentication with integrity and
969 privacy protection).
970
971
97217. SSH protocols
973
97417.1 Multiplexing
975
976 SSH is a perfectly fine multiplexed protocols which would allow libcurl to do
977 multiple parallel transfers from the same host using the same connection,
978 much in the same spirit as HTTP/2 does. libcurl however does not take
979 advantage of that ability but will instead always create a new connection for
980 new transfers even if an existing connection already exists to the host.
981
982 To fix this, libcurl would have to detect an existing connection and "attach"
983 the new transfer to the existing one.
984
98517.2 Handle growing SFTP files
986
987 The SFTP code in libcurl checks the file size *before* a transfer starts and
988 then proceeds to transfer exactly that amount of data. If the remote file
989 grows while the transfer is in progress libcurl will not notice and will not
990 adapt. The OpenSSH SFTP command line tool does and libcurl could also just
991 attempt to download more to see if there is more to get...
992
993 https://github.com/curl/curl/issues/4344
994
99517.3 Read keys from ~/.ssh/id_ecdsa, id_ed25519
996
997 The libssh2 backend in curl is limited to only reading keys from id_rsa and
998 id_dsa, which makes it fail connecting to servers that use more modern key
999 types.
1000
1001 https://github.com/curl/curl/issues/8586
1002
100317.4 Support CURLOPT_PREQUOTE
1004
1005 The two other QUOTE options are supported for SFTP, but this was left out for
1006 unknown reasons.
1007
100817.5 SSH over HTTPS proxy with more backends
1009
1010 The SSH based protocols SFTP and SCP did not work over HTTPS proxy at
1011 all until PR https://github.com/curl/curl/pull/6021 brought the
1012 functionality with the libssh2 backend. Presumably, this support
1013 can/could be added for the other backends as well.
1014
101517.6 SFTP with SCP://
1016
1017 OpenSSH 9 switched their 'scp' tool to speak SFTP under the hood. Going
1018 forward it might be worth having curl or libcurl attempt SFTP if SCP fails to
1019 follow suite.
1020
102118. Command line tool
1022
102318.1 sync
1024
1025 "curl --sync http://example.com/feed[1-100].rss" or
1026 "curl --sync http://example.net/{index,calendar,history}.html"
1027
1028 Downloads a range or set of URLs using the remote name, but only if the
1029 remote file is newer than the local file. A Last-Modified HTTP date header
1030 should also be used to set the mod date on the downloaded file.
1031
103218.2 glob posts
1033
1034 Globbing support for -d and -F, as in 'curl -d "name=foo[0-9]" URL'.
1035 This is easily scripted though.
1036
103718.4 --proxycommand
1038
1039 Allow the user to make curl run a command and use its stdio to make requests
1040 and not do any network connection by itself. Example:
1041
1042   curl --proxycommand 'ssh pi@raspberrypi.local -W 10.1.1.75 80' \
1043        http://some/otherwise/unavailable/service.php
1044
1045 See https://github.com/curl/curl/issues/4941
1046
104718.5 UTF-8 filenames in Content-Disposition
1048
1049 RFC 6266 documents how UTF-8 names can be passed to a client in the
1050 Content-Disposition header, and curl does not support this.
1051
1052 https://github.com/curl/curl/issues/1888
1053
105418.6 Option to make -Z merge lined based outputs on stdout
1055
1056 When a user requests multiple lined based files using -Z and sends them to
1057 stdout, curl will not "merge" and send complete lines fine but may send
1058 partial lines from several sources.
1059
1060 https://github.com/curl/curl/issues/5175
1061
106218.8 Consider convenience options for JSON and XML?
1063
1064 Could we add `--xml` or `--json` to add headers needed to call rest API:
1065
1066 `--xml` adds -H 'Content-Type: application/xml' -H "Accept: application/xml" and
1067 `--json` adds -H 'Content-Type: application/json' -H "Accept: application/json"
1068
1069 Setting Content-Type when doing a GET or any other method without a body
1070 would be a bit strange I think - so maybe only add CT for requests with body?
1071 Maybe plain `--xml` and ` --json` are a bit too brief and generic. Maybe
1072 `--http-json` etc?
1073
1074 See https://github.com/curl/curl/issues/5203
1075
107618.9 Choose the name of file in braces for complex URLs
1077
1078 When using braces to download a list of URLs and you use complicated names
1079 in the list of alternatives, it could be handy to allow curl to use other
1080 names when saving.
1081
1082 Consider a way to offer that. Possibly like
1083 {partURL1:name1,partURL2:name2,partURL3:name3} where the name following the
1084 colon is the output name.
1085
1086 See https://github.com/curl/curl/issues/221
1087
108818.10 improve how curl works in a windows console window
1089
1090 If you pull the scrollbar when transferring with curl in a Windows console
1091 window, the transfer is interrupted and can get disconnected. This can
1092 probably be improved. See https://github.com/curl/curl/issues/322
1093
109418.11 Windows: set attribute 'archive' for completed downloads
1095
1096 The archive bit (FILE_ATTRIBUTE_ARCHIVE, 0x20) separates files that shall be
1097 backed up from those that are either not ready or have not changed.
1098
1099 Downloads in progress are neither ready to be backed up, nor should they be
1100 opened by a different process. Only after a download has been completed it's
1101 sensible to include it in any integer snapshot or backup of the system.
1102
1103 See https://github.com/curl/curl/issues/3354
1104
110518.12 keep running, read instructions from pipe/socket
1106
1107 Provide an option that makes curl not exit after the last URL (or even work
1108 without a given URL), and then make it read instructions passed on a pipe or
1109 over a socket to make further instructions so that a second subsequent curl
1110 invoke can talk to the still running instance and ask for transfers to get
1111 done, and thus maintain its connection pool, DNS cache and more.
1112
111318.13 Ratelimit or wait between serial requests
1114
1115 Consider a command line option that can make curl do multiple serial requests
1116 slow, potentially with a (random) wait between transfers. There is also a
1117 proposed set of standard HTTP headers to let servers let the client adapt to
1118 its rate limits:
1119 https://datatracker.ietf.org/doc/draft-ietf-httpapi-ratelimit-headers/
1120
1121 See https://github.com/curl/curl/issues/5406
1122
112318.14 --dry-run
1124
1125 A command line option that makes curl show exactly what it would do and send
1126 if it would run for real.
1127
1128 See https://github.com/curl/curl/issues/5426
1129
113018.15 --retry should resume
1131
1132 When --retry is used and curl actually retries transfer, it should use the
1133 already transferred data and do a resumed transfer for the rest (when
1134 possible) so that it does not have to transfer the same data again that was
1135 already transferred before the retry.
1136
1137 See https://github.com/curl/curl/issues/1084
1138
113918.16 send only part of --data
1140
1141 When the user only wants to send a small piece of the data provided with
1142 --data or --data-binary, like when that data is a huge file, consider a way
1143 to specify that curl should only send a piece of that. One suggested syntax
1144 would be: "--data-binary @largefile.zip!1073741823-2147483647".
1145
1146 See https://github.com/curl/curl/issues/1200
1147
114818.17 consider file name from the redirected URL with -O ?
1149
1150 When a user gives a URL and uses -O, and curl follows a redirect to a new
1151 URL, the file name is not extracted and used from the newly redirected-to URL
1152 even if the new URL may have a much more sensible file name.
1153
1154 This is clearly documented and helps for security since there is no surprise
1155 to users which file name that might get overwritten. But maybe a new option
1156 could allow for this or maybe -J should imply such a treatment as well as -J
1157 already allows for the server to decide what file name to use so it already
1158 provides the "may overwrite any file" risk.
1159
1160 This is extra tricky if the original URL has no file name part at all since
1161 then the current code path will error out with an error message, and we cannot
1162 *know* already at that point if curl will be redirected to a URL that has a
1163 file name...
1164
1165 See https://github.com/curl/curl/issues/1241
1166
116718.18 retry on network is unreachable
1168
1169 The --retry option retries transfers on "transient failures". We later added
1170 --retry-connrefused to also retry for "connection refused" errors.
1171
1172 Suggestions have been brought to also allow retry on "network is unreachable"
1173 errors and while totally reasonable, maybe we should consider a way to make
1174 this more configurable than to add a new option for every new error people
1175 want to retry for?
1176
1177 https://github.com/curl/curl/issues/1603
1178
117918.19 expand ~/ in config files
1180
1181 For example .curlrc could benefit from being able to do this.
1182
1183 See https://github.com/curl/curl/issues/2317
1184
118518.20 host name sections in config files
1186
1187 config files would be more powerful if they could set different
1188 configurations depending on used URLs, host name or possibly origin. Then a
1189 default .curlrc could a specific user-agent only when doing requests against
1190 a certain site.
1191
119218.21 retry on the redirected-to URL
1193
1194 When curl is told to --retry a failed transfer and follows redirects, it
1195 might get an HTTP 429 response from the redirected-to URL and not the
1196 original one, which then could make curl decide to rather retry the transfer
1197 on that URL only instead of the original operation to the original URL.
1198
1199 Perhaps extra emphasized if the original transfer is a large POST that
1200 redirects to a separate GET, and that GET is what gets the 529
1201
1202 See https://github.com/curl/curl/issues/5462
1203
120418.23 Set the modification date on an uploaded file
1205
1206 For SFTP and possibly FTP, curl could offer an option to set the
1207 modification time for the uploaded file.
1208
1209 See https://github.com/curl/curl/issues/5768
1210
121118.24 Use multiple parallel transfers for a single download
1212
1213 To enhance transfer speed, downloading a single URL can be split up into
1214 multiple separate range downloads that get combined into a single final
1215 result.
1216
1217 An ideal implementation would not use a specified number of parallel
1218 transfers, but curl could:
1219 - First start getting the full file as transfer A
1220 - If after N seconds have passed and the transfer is expected to continue for
1221   M seconds or more, add a new transfer (B) that asks for the second half of
1222   A's content (and stop A at the middle).
1223 - If splitting up the work improves the transfer rate, it could then be done
1224   again. Then again, etc up to a limit.
1225
1226 This way, if transfer B fails (because Range: is not supported) it will let
1227 transfer A remain the single one. N and M could be set to some sensible
1228 defaults.
1229
1230 See https://github.com/curl/curl/issues/5774
1231
123218.25 Prevent terminal injection when writing to terminal
1233
1234 curl could offer an option to make escape sequence either non-functional or
1235 avoid cursor moves or similar to reduce the risk of a user getting tricked by
1236 clever tricks.
1237
1238 See https://github.com/curl/curl/issues/6150
1239
124018.26 Custom progress meter update interval
1241
1242 Users who are for example doing large downloads in CI or remote setups might
1243 want the occasional progress meter update to see that the transfer is
1244 progressing and has not stuck, but they may not appreciate the
1245 many-times-a-second frequency curl can end up doing it with now.
1246
124718.27 -J and -O with %-encoded file names
1248
1249 -J/--remote-header-name does not decode %-encoded file names. RFC 6266 details
1250 how it should be done. The can of worm is basically that we have no charset
1251 handling in curl and ascii >=128 is a challenge for us. Not to mention that
1252 decoding also means that we need to check for nastiness that is attempted,
1253 like "../" sequences and the like. Probably everything to the left of any
1254 embedded slashes should be cut off.
1255 https://curl.se/bug/view.cgi?id=1294
1256
1257 -O also does not decode %-encoded names, and while it has even less
1258 information about the charset involved the process is similar to the -J case.
1259
1260 Note that we will not add decoding to -O without the user asking for it with
1261 some other means as well, since -O has always been documented to use the name
1262 exactly as specified in the URL.
1263
126418.28 -J with -C -
1265
1266 When using -J (with -O), automatically resumed downloading together with "-C
1267 -" fails. Without -J the same command line works. This happens because the
1268 resume logic is worked out before the target file name (and thus its
1269 pre-transfer size) has been figured out. This can be improved.
1270
1271 https://curl.se/bug/view.cgi?id=1169
1272
127318.29 --retry and transfer timeouts
1274
1275 If using --retry and the transfer timeouts (possibly due to using -m or
1276 -y/-Y) the next attempt does not resume the transfer properly from what was
1277 downloaded in the previous attempt but will truncate and restart at the
1278 original position where it was at before the previous failed attempt. See
1279 https://curl.se/mail/lib-2008-01/0080.html and Mandriva bug report
1280 https://qa.mandriva.com/show_bug.cgi?id=22565
1281
1282
1283
128419. Build
1285
128619.1 roffit
1287
1288 Consider extending 'roffit' to produce decent ASCII output, and use that
1289 instead of (g)nroff when building src/tool_hugehelp.c
1290
129119.2 Enable PIE and RELRO by default
1292
1293 Especially when having programs that execute curl via the command line, PIE
1294 renders the exploitation of memory corruption vulnerabilities a lot more
1295 difficult. This can be attributed to the additional information leaks being
1296 required to conduct a successful attack. RELRO, on the other hand, masks
1297 different binary sections like the GOT as read-only and thus kills a handful
1298 of techniques that come in handy when attackers are able to arbitrarily
1299 overwrite memory. A few tests showed that enabling these features had close
1300 to no impact, neither on the performance nor on the general functionality of
1301 curl.
1302
130319.3 Do not use GNU libtool on OpenBSD
1304 When compiling curl on OpenBSD with "--enable-debug" it will give linking
1305 errors when you use GNU libtool. This can be fixed by using the libtool
1306 provided by OpenBSD itself. However for this the user always needs to invoke
1307 make with "LIBTOOL=/usr/bin/libtool". It would be nice if the script could
1308 have some magic to detect if this system is an OpenBSD host and then use the
1309 OpenBSD libtool instead.
1310
1311 See https://github.com/curl/curl/issues/5862
1312
131319.4 Package curl for Windows in a signed installer
1314
1315 See https://github.com/curl/curl/issues/5424
1316
131719.5 make configure use --cache-file more and better
1318
1319 The configure script can be improved to cache more values so that repeated
1320 invokes run much faster.
1321
1322 See https://github.com/curl/curl/issues/7753
1323
132419.6 build curl with Windows Unicode support
1325
1326 The user wants an easier way to tell autotools to build curl with Windows
1327 Unicode support, like ./configure --enable-windows-unicode
1328
1329 See https://github.com/curl/curl/issues/7229
1330
133120. Test suite
1332
133320.1 SSL tunnel
1334
1335 Make our own version of stunnel for simple port forwarding to enable HTTPS
1336 and FTP-SSL tests without the stunnel dependency, and it could allow us to
1337 provide test tools built with either OpenSSL or GnuTLS
1338
133920.2 nicer lacking perl message
1340
1341 If perl was not found by the configure script, do not attempt to run the tests
1342 but explain something nice why it does not.
1343
134420.3 more protocols supported
1345
1346 Extend the test suite to include more protocols. The telnet could just do FTP
1347 or http operations (for which we have test servers).
1348
134920.4 more platforms supported
1350
1351 Make the test suite work on more platforms. OpenBSD and Mac OS. Remove
1352 fork()s and it should become even more portable.
1353
135420.5 Add support for concurrent connections
1355
1356 Tests 836, 882 and 938 were designed to verify that separate connections are
1357 not used when using different login credentials in protocols that should not
1358 reuse a connection under such circumstances.
1359
1360 Unfortunately, ftpserver.pl does not appear to support multiple concurrent
1361 connections. The read while() loop seems to loop until it receives a
1362 disconnect from the client, where it then enters the waiting for connections
1363 loop. When the client opens a second connection to the server, the first
1364 connection has not been dropped (unless it has been forced - which we
1365 should not do in these tests) and thus the wait for connections loop is never
1366 entered to receive the second connection.
1367
136820.6 Use the RFC 6265 test suite
1369
1370 A test suite made for HTTP cookies (RFC 6265) by Adam Barth is available at
1371 https://github.com/abarth/http-state/tree/master/tests
1372
1373 It'd be really awesome if someone would write a script/setup that would run
1374 curl with that test suite and detect deviances. Ideally, that would even be
1375 incorporated into our regular test suite.
1376
137720.7 Support LD_PRELOAD on macOS
1378
1379 LD_RELOAD does not work on macOS, but there are tests which require it to run
1380 properly. Look into making the preload support in runtests.pl portable such
1381 that it uses DYLD_INSERT_LIBRARIES on macOS.
1382
138320.8 Run web-platform-tests URL tests
1384
1385 Run web-platform-tests URL tests and compare results with browsers on wpt.fyi
1386
1387 It would help us find issues to fix and help us document where our parser
1388 differs from the WHATWG URL spec parsers.
1389
1390 See https://github.com/curl/curl/issues/4477
1391
139221. MQTT
1393
139421.1 Support rate-limiting
1395
1396 The rate-limiting logic is done in the PERFORMING state in multi.c but MQTT
1397 is not (yet) implemented to use that.
1398
139922. TFTP
1400
140122.1 TFTP doesn't convert LF to CRLF for mode=netascii
1402
1403 RFC 3617 defines that an TFTP transfer can be done using "netascii"
1404 mode. curl does not support extracting that mode from the URL nor does it treat
1405 such transfers specifically. It should probably do LF to CRLF translations
1406 for them.
1407
1408 See https://github.com/curl/curl/issues/12655
1409