| Daniel Stenberg | 7c37c6a | 2000-05-22 17:35:35 +0000 | [diff] [blame] | 1 | _ _ ____ _ |
| 2 | ___| | | | _ \| | |
| 3 | / __| | | | |_) | | |
| 4 | | (__| |_| | _ <| |___ |
| 5 | \___|\___/|_| \_\_____| |
| 6 | |
| Daniel Stenberg | 41d8186 | 2007-12-08 23:00:00 +0000 | [diff] [blame] | 7 | Things that could be nice to do in the future |
| Daniel Stenberg | 7c37c6a | 2000-05-22 17:35:35 +0000 | [diff] [blame] | 8 | |
| Daniel Stenberg | 9d68fde | 2002-08-14 23:35:19 +0000 | [diff] [blame] | 9 | Things to do in project cURL. Please tell us what you think, contribute and |
| Daniel Stenberg | 41d8186 | 2007-12-08 23:00:00 +0000 | [diff] [blame] | 10 | send us patches that improve things! |
| Daniel Stenberg | 7c37c6a | 2000-05-22 17:35:35 +0000 | [diff] [blame] | 11 | |
| Daniel Stenberg | 3660f67 | 2003-08-11 16:17:51 +0000 | [diff] [blame] | 12 | All bugs documented in the KNOWN_BUGS document are subject for fixing! |
| 13 | |
| Daniel Stenberg | 41d8186 | 2007-12-08 23:00:00 +0000 | [diff] [blame] | 14 | 1. libcurl |
| 15 | 1.1 Zero-copy interface |
| 16 | 1.2 More data sharing |
| 17 | 1.3 struct lifreq |
| Daniel Stenberg | 09e027b | 2008-11-11 13:33:01 +0000 | [diff] [blame] | 18 | 1.4 signal-based resolver timeouts |
| Daniel Stenberg | 6704d44 | 2001-08-22 11:22:43 +0000 | [diff] [blame] | 19 | |
| Daniel Stenberg | 41d8186 | 2007-12-08 23:00:00 +0000 | [diff] [blame] | 20 | 2. libcurl - multi interface |
| 21 | 2.1 More non-blocking |
| Daniel Stenberg | 09e027b | 2008-11-11 13:33:01 +0000 | [diff] [blame] | 22 | 2.2 Remove easy interface internally |
| 23 | 2.3 Avoid having to remove/readd handles |
| Daniel Stenberg | 3c50ea9 | 2008-11-17 09:35:10 +0000 | [diff] [blame] | 24 | 2.4 Fix HTTP Pipelining for PUT |
| Daniel Stenberg | e60e741 | 2001-11-02 12:51:18 +0000 | [diff] [blame] | 25 | |
| Daniel Stenberg | 41d8186 | 2007-12-08 23:00:00 +0000 | [diff] [blame] | 26 | 3. Documentation |
| 27 | 3.1 More and better |
| Daniel Stenberg | 097938e | 2004-03-01 09:08:52 +0000 | [diff] [blame] | 28 | |
| Daniel Stenberg | 41d8186 | 2007-12-08 23:00:00 +0000 | [diff] [blame] | 29 | 4. FTP |
| 30 | 4.1 PRET |
| 31 | 4.2 Alter passive/active on failure and retry |
| 32 | 4.3 Earlier bad letter detection |
| 33 | 4.4 REST for large files |
| 34 | 4.5 FTP proxy support |
| Daniel Stenberg | 43fba26 | 2009-09-05 17:49:07 +0000 | [diff] [blame] | 35 | 4.6 ASCII support |
| Daniel Stenberg | 01cfe67 | 2002-01-18 12:48:36 +0000 | [diff] [blame] | 36 | |
| Daniel Stenberg | 41d8186 | 2007-12-08 23:00:00 +0000 | [diff] [blame] | 37 | 5. HTTP |
| Daniel Stenberg | 09e027b | 2008-11-11 13:33:01 +0000 | [diff] [blame] | 38 | 5.1 Better persistency for HTTP 1.0 |
| 39 | 5.2 support FF3 sqlite cookie files |
| Daniel Stenberg | 6291a1c | 2010-01-21 09:32:51 +0000 | [diff] [blame^] | 40 | 5.3 Rearrange request header order |
| Daniel Stenberg | 0d2cdd9 | 2004-10-08 09:57:33 +0000 | [diff] [blame] | 41 | |
| Daniel Stenberg | 41d8186 | 2007-12-08 23:00:00 +0000 | [diff] [blame] | 42 | 6. TELNET |
| 43 | 6.1 ditch stdin |
| 44 | 6.2 ditch telnet-specific select |
| Dan Fandrich | ddfbe8b | 2008-05-23 20:52:46 +0000 | [diff] [blame] | 45 | 6.3 feature negotiation debug data |
| 46 | 6.4 send data in chunks |
| Daniel Stenberg | 9395cad | 2005-01-11 22:26:00 +0000 | [diff] [blame] | 47 | |
| Daniel Stenberg | 41d8186 | 2007-12-08 23:00:00 +0000 | [diff] [blame] | 48 | 7. SSL |
| 49 | 7.1 Disable specific versions |
| Dan Fandrich | 152cf63 | 2008-09-10 07:11:45 +0000 | [diff] [blame] | 50 | 7.2 Provide mutex locking API |
| Daniel Stenberg | 09e027b | 2008-11-11 13:33:01 +0000 | [diff] [blame] | 51 | 7.3 Evaluate SSL patches |
| 52 | 7.4 Cache OpenSSL contexts |
| 53 | 7.5 Export session ids |
| 54 | 7.6 Provide callback for cert verification |
| 55 | 7.7 Support other SSL libraries |
| 56 | 7.8 Support SRP on the TLS layer |
| 57 | 7.9 improve configure --with-ssl |
| Daniel Stenberg | b8b8c3d | 2009-10-17 19:31:57 +0000 | [diff] [blame] | 58 | 7.10 Make NTLM work with other crypto functions |
| Daniel Stenberg | 86660c7 | 2005-07-08 13:28:16 +0000 | [diff] [blame] | 59 | |
| Daniel Stenberg | 41d8186 | 2007-12-08 23:00:00 +0000 | [diff] [blame] | 60 | 8. GnuTLS |
| Daniel Stenberg | b8b8c3d | 2009-10-17 19:31:57 +0000 | [diff] [blame] | 61 | 8.1 SSL engine stuff |
| 62 | 8.2 SRP |
| 63 | 8.3 non-blocking |
| 64 | 8.4 check connection |
| Daniel Stenberg | b411336 | 2005-12-10 22:14:17 +0000 | [diff] [blame] | 65 | |
| Dan Fandrich | ddfbe8b | 2008-05-23 20:52:46 +0000 | [diff] [blame] | 66 | 9. Other protocols |
| Daniel Stenberg | 41d8186 | 2007-12-08 23:00:00 +0000 | [diff] [blame] | 67 | 9.1 ditch ldap-specific select |
| Daniel Stenberg | 16f3a32 | 2006-01-28 13:14:38 +0000 | [diff] [blame] | 68 | |
| Daniel Stenberg | 41d8186 | 2007-12-08 23:00:00 +0000 | [diff] [blame] | 69 | 10. New protocols |
| 70 | 10.1 RTSP |
| 71 | 10.2 RSYNC |
| Daniel Stenberg | 71b105c | 2007-12-09 12:26:05 +0000 | [diff] [blame] | 72 | 10.3 RTMP |
| Daniel Stenberg | 58b0415 | 2007-08-07 13:01:36 +0000 | [diff] [blame] | 73 | |
| Daniel Stenberg | 41d8186 | 2007-12-08 23:00:00 +0000 | [diff] [blame] | 74 | 11. Client |
| 75 | 11.1 Content-Disposition |
| 76 | 11.2 sync |
| 77 | 11.3 glob posts |
| 78 | 11.4 prevent file overwriting |
| 79 | 11.5 ftp wildcard download |
| 80 | 11.6 simultaneous parallel transfers |
| 81 | 11.7 provide formpost headers |
| 82 | 11.8 url-specific options |
| Dan Fandrich | ddfbe8b | 2008-05-23 20:52:46 +0000 | [diff] [blame] | 83 | 11.9 metalink support |
| 84 | 11.10 warning when setting an option |
| Daniel Stenberg | 87c4351 | 2002-08-26 22:32:46 +0000 | [diff] [blame] | 85 | |
| Daniel Stenberg | 41d8186 | 2007-12-08 23:00:00 +0000 | [diff] [blame] | 86 | 12. Build |
| 87 | 12.1 roffit |
| Daniel Stenberg | 87c4351 | 2002-08-26 22:32:46 +0000 | [diff] [blame] | 88 | |
| Daniel Stenberg | 41d8186 | 2007-12-08 23:00:00 +0000 | [diff] [blame] | 89 | 13. Test suite |
| 90 | 13.1 SSL tunnel |
| 91 | 13.2 nicer lacking perl message |
| 92 | 13.3 more protocols supported |
| 93 | 13.4 more platforms supported |
| Daniel Stenberg | 87c4351 | 2002-08-26 22:32:46 +0000 | [diff] [blame] | 94 | |
| Daniel Stenberg | 41d8186 | 2007-12-08 23:00:00 +0000 | [diff] [blame] | 95 | 14. Next SONAME bump |
| 96 | 14.1 http-style HEAD output for ftp |
| 97 | 14.2 combine error codes |
| Daniel Stenberg | fcc4850 | 2008-01-04 22:16:16 +0000 | [diff] [blame] | 98 | 14.3 extend CURLOPT_SOCKOPTFUNCTION prototype |
| Daniel Stenberg | 57007e8 | 2005-07-30 23:48:07 +0000 | [diff] [blame] | 99 | |
| Daniel Stenberg | 41d8186 | 2007-12-08 23:00:00 +0000 | [diff] [blame] | 100 | 15. Next major release |
| 101 | 15.1 cleanup return codes |
| 102 | 15.2 remove obsolete defines |
| 103 | 15.3 size_t |
| 104 | 15.4 remove several functions |
| 105 | 15.5 remove CURLOPT_FAILONERROR |
| Daniel Stenberg | 56f17d2 | 2008-01-15 22:15:55 +0000 | [diff] [blame] | 106 | 15.6 remove CURLOPT_DNS_USE_GLOBAL_CACHE |
| Daniel Stenberg | 5cdcc2b | 2007-08-14 10:11:34 +0000 | [diff] [blame] | 107 | |
| Daniel Stenberg | 41d8186 | 2007-12-08 23:00:00 +0000 | [diff] [blame] | 108 | ============================================================================== |
| Daniel Stenberg | e60e741 | 2001-11-02 12:51:18 +0000 | [diff] [blame] | 109 | |
| Daniel Stenberg | 41d8186 | 2007-12-08 23:00:00 +0000 | [diff] [blame] | 110 | 1. libcurl |
| Daniel Stenberg | e60e741 | 2001-11-02 12:51:18 +0000 | [diff] [blame] | 111 | |
| Daniel Stenberg | 41d8186 | 2007-12-08 23:00:00 +0000 | [diff] [blame] | 112 | 1.1 Zero-copy interface |
| Daniel Stenberg | e60e741 | 2001-11-02 12:51:18 +0000 | [diff] [blame] | 113 | |
| Dan Fandrich | ddfbe8b | 2008-05-23 20:52:46 +0000 | [diff] [blame] | 114 | Introduce another callback interface for upload/download that makes one less |
| Daniel Stenberg | 41d8186 | 2007-12-08 23:00:00 +0000 | [diff] [blame] | 115 | copy of data and thus a faster operation. |
| 116 | [http://curl.haxx.se/dev/no_copy_callbacks.txt] |
| Daniel Stenberg | 3dbe708 | 2007-09-13 09:02:15 +0000 | [diff] [blame] | 117 | |
| Daniel Stenberg | 41d8186 | 2007-12-08 23:00:00 +0000 | [diff] [blame] | 118 | 1.2 More data sharing |
| Daniel Stenberg | 3dbe708 | 2007-09-13 09:02:15 +0000 | [diff] [blame] | 119 | |
| Daniel Stenberg | 41d8186 | 2007-12-08 23:00:00 +0000 | [diff] [blame] | 120 | curl_share_* functions already exist and work, and they can be extended to |
| 121 | share more. For example, enable sharing of the ares channel and the |
| 122 | connection cache. |
| Daniel Stenberg | 3050ae5 | 2005-01-19 21:56:02 +0000 | [diff] [blame] | 123 | |
| Daniel Stenberg | 41d8186 | 2007-12-08 23:00:00 +0000 | [diff] [blame] | 124 | 1.3 struct lifreq |
| Daniel Stenberg | 3b491d0 | 2004-04-06 15:29:01 +0000 | [diff] [blame] | 125 | |
| Daniel Stenberg | 41d8186 | 2007-12-08 23:00:00 +0000 | [diff] [blame] | 126 | Use 'struct lifreq' and SIOCGLIFADDR instead of 'struct ifreq' and |
| 127 | SIOCGIFADDR on newer Solaris versions as they claim the latter is obsolete. |
| 128 | To support ipv6 interface addresses for network interfaces properly. |
| Daniel Stenberg | 339f84f | 2003-07-30 13:41:59 +0000 | [diff] [blame] | 129 | |
| Daniel Stenberg | 09e027b | 2008-11-11 13:33:01 +0000 | [diff] [blame] | 130 | 1.4 signal-based resolver timeouts |
| Dan Fandrich | 9b3f863 | 2008-10-14 23:52:36 +0000 | [diff] [blame] | 131 | |
| 132 | libcurl built without an asynchronous resolver library uses alarm() to time |
| 133 | out DNS lookups. When a timeout occurs, this causes libcurl to jump from the |
| 134 | signal handler back into the library with a sigsetjmp, which effectively |
| 135 | causes libcurl to continue running within the signal handler. This is |
| 136 | non-portable and could cause problems on some platforms. A discussion on the |
| 137 | problem is available at http://curl.haxx.se/mail/lib-2008-09/0197.html |
| 138 | |
| 139 | Also, alarm() provides timeout resolution only to the nearest second. alarm |
| 140 | ought to be replaced by setitimer on systems that support it. |
| 141 | |
| Daniel Stenberg | 41d8186 | 2007-12-08 23:00:00 +0000 | [diff] [blame] | 142 | 2. libcurl - multi interface |
| Daniel Stenberg | 01cfe67 | 2002-01-18 12:48:36 +0000 | [diff] [blame] | 143 | |
| Daniel Stenberg | 41d8186 | 2007-12-08 23:00:00 +0000 | [diff] [blame] | 144 | 2.1 More non-blocking |
| Daniel Stenberg | 01cfe67 | 2002-01-18 12:48:36 +0000 | [diff] [blame] | 145 | |
| Dan Fandrich | 152cf63 | 2008-09-10 07:11:45 +0000 | [diff] [blame] | 146 | Make sure we don't ever loop because of non-blocking sockets returning |
| Daniel Stenberg | 41d8186 | 2007-12-08 23:00:00 +0000 | [diff] [blame] | 147 | EWOULDBLOCK or similar. The GnuTLS connection etc. |
| Daniel Stenberg | e60e741 | 2001-11-02 12:51:18 +0000 | [diff] [blame] | 148 | |
| Daniel Stenberg | 09e027b | 2008-11-11 13:33:01 +0000 | [diff] [blame] | 149 | 2.2 Remove easy interface internally |
| Daniel Stenberg | 3b491d0 | 2004-04-06 15:29:01 +0000 | [diff] [blame] | 150 | |
| Daniel Stenberg | 41d8186 | 2007-12-08 23:00:00 +0000 | [diff] [blame] | 151 | Make curl_easy_perform() a wrapper-function that simply creates a multi |
| 152 | handle, adds the easy handle to it, runs curl_multi_perform() until the |
| 153 | transfer is done, then detach the easy handle, destroy the multi handle and |
| 154 | return the easy handle's return code. This will thus make everything |
| 155 | internally use and assume the multi interface. The select()-loop should use |
| 156 | curl_multi_socket(). |
| Daniel Stenberg | 3b491d0 | 2004-04-06 15:29:01 +0000 | [diff] [blame] | 157 | |
| Daniel Stenberg | 09e027b | 2008-11-11 13:33:01 +0000 | [diff] [blame] | 158 | 2.3 Avoid having to remove/readd handles |
| Daniel Stenberg | 5cffe05 | 2002-02-07 10:43:43 +0000 | [diff] [blame] | 159 | |
| Daniel Stenberg | 41d8186 | 2007-12-08 23:00:00 +0000 | [diff] [blame] | 160 | curl_multi_handle_control() - this can control the easy handle (while) added |
| 161 | to a multi handle in various ways: |
| Daniel Stenberg | 60f1926 | 2001-11-13 09:56:29 +0000 | [diff] [blame] | 162 | |
| Daniel Stenberg | 41d8186 | 2007-12-08 23:00:00 +0000 | [diff] [blame] | 163 | o RESTART, unconditionally restart this easy handle's transfer from the |
| 164 | start, re-init the state |
| Daniel Stenberg | 5c4b422 | 2002-02-18 10:51:28 +0000 | [diff] [blame] | 165 | |
| Daniel Stenberg | 41d8186 | 2007-12-08 23:00:00 +0000 | [diff] [blame] | 166 | o RESTART_COMPLETED, restart this easy handle's transfer but only if the |
| 167 | existing transfer has already completed and it is in a "finished state". |
| Daniel Stenberg | e60e741 | 2001-11-02 12:51:18 +0000 | [diff] [blame] | 168 | |
| Daniel Stenberg | 41d8186 | 2007-12-08 23:00:00 +0000 | [diff] [blame] | 169 | o STOP, just stop this transfer and consider it completed |
| Daniel Stenberg | 57007e8 | 2005-07-30 23:48:07 +0000 | [diff] [blame] | 170 | |
| Daniel Stenberg | 41d8186 | 2007-12-08 23:00:00 +0000 | [diff] [blame] | 171 | o PAUSE? |
| Daniel Stenberg | 9853acb | 2005-08-29 06:59:44 +0000 | [diff] [blame] | 172 | |
| Daniel Stenberg | 41d8186 | 2007-12-08 23:00:00 +0000 | [diff] [blame] | 173 | o RESUME? |
| Daniel Stenberg | 9853acb | 2005-08-29 06:59:44 +0000 | [diff] [blame] | 174 | |
| Daniel Stenberg | 3c50ea9 | 2008-11-17 09:35:10 +0000 | [diff] [blame] | 175 | 2.4 Fix HTTP Pipelining for PUT |
| 176 | |
| 177 | HTTP Pipelining can be a way to greatly enhance performance for multiple |
| 178 | serial requests and currently libcurl only supports that for HEAD and GET |
| 179 | requests but it should also be possible for PUT. |
| 180 | |
| 181 | |
| Daniel Stenberg | 41d8186 | 2007-12-08 23:00:00 +0000 | [diff] [blame] | 182 | 3. Documentation |
| Daniel Stenberg | 9853acb | 2005-08-29 06:59:44 +0000 | [diff] [blame] | 183 | |
| Daniel Stenberg | 41d8186 | 2007-12-08 23:00:00 +0000 | [diff] [blame] | 184 | 3.1 More and better |
| Daniel Stenberg | 9853acb | 2005-08-29 06:59:44 +0000 | [diff] [blame] | 185 | |
| Daniel Stenberg | 41d8186 | 2007-12-08 23:00:00 +0000 | [diff] [blame] | 186 | Exactly |
| Daniel Stenberg | 9853acb | 2005-08-29 06:59:44 +0000 | [diff] [blame] | 187 | |
| Daniel Stenberg | 41d8186 | 2007-12-08 23:00:00 +0000 | [diff] [blame] | 188 | 4. FTP |
| Daniel Stenberg | bcccd2f | 2006-05-30 08:45:59 +0000 | [diff] [blame] | 189 | |
| Daniel Stenberg | 41d8186 | 2007-12-08 23:00:00 +0000 | [diff] [blame] | 190 | 4.1 PRET |
| Daniel Stenberg | bcccd2f | 2006-05-30 08:45:59 +0000 | [diff] [blame] | 191 | |
| Daniel Stenberg | 41d8186 | 2007-12-08 23:00:00 +0000 | [diff] [blame] | 192 | PRET is a command that primarily "drftpd" supports, which could be useful |
| 193 | when using libcurl against such a server. It is a non-standard and a rather |
| 194 | oddly designed command, but... |
| 195 | http://curl.haxx.se/bug/feature.cgi?id=1729967 |
| 196 | |
| 197 | 4.2 Alter passive/active on failure and retry |
| 198 | |
| 199 | When trying to connect passively to a server which only supports active |
| 200 | connections, libcurl returns CURLE_FTP_WEIRD_PASV_REPLY and closes the |
| 201 | connection. There could be a way to fallback to an active connection (and |
| 202 | vice versa). http://curl.haxx.se/bug/feature.cgi?id=1754793 |
| 203 | |
| 204 | 4.3 Earlier bad letter detection |
| 205 | |
| 206 | Make the detection of (bad) %0d and %0a codes in FTP url parts earlier in the |
| 207 | process to avoid doing a resolve and connect in vain. |
| 208 | |
| 209 | 4.4 REST for large files |
| 210 | |
| 211 | REST fix for servers not behaving well on >2GB requests. This should fail if |
| 212 | the server doesn't set the pointer to the requested index. The tricky |
| 213 | (impossible?) part is to figure out if the server did the right thing or not. |
| 214 | |
| 215 | 4.5 FTP proxy support |
| 216 | |
| 217 | Support the most common FTP proxies, Philip Newton provided a list allegedly |
| 218 | from ncftp. This is not a subject without debate, and is probably not really |
| 219 | suitable for libcurl. http://curl.haxx.se/mail/archive-2003-04/0126.html |
| 220 | |
| Daniel Stenberg | 43fba26 | 2009-09-05 17:49:07 +0000 | [diff] [blame] | 221 | 4.6 ASCII support |
| Daniel Stenberg | 41d8186 | 2007-12-08 23:00:00 +0000 | [diff] [blame] | 222 | |
| 223 | FTP ASCII transfers do not follow RFC959. They don't convert the data |
| 224 | accordingly. |
| 225 | |
| 226 | 5. HTTP |
| 227 | |
| Daniel Stenberg | 09e027b | 2008-11-11 13:33:01 +0000 | [diff] [blame] | 228 | 5.1 Better persistency for HTTP 1.0 |
| Daniel Stenberg | 41d8186 | 2007-12-08 23:00:00 +0000 | [diff] [blame] | 229 | |
| 230 | "Better" support for persistent connections over HTTP 1.0 |
| 231 | http://curl.haxx.se/bug/feature.cgi?id=1089001 |
| 232 | |
| Daniel Stenberg | 09e027b | 2008-11-11 13:33:01 +0000 | [diff] [blame] | 233 | 5.2 support FF3 sqlite cookie files |
| Daniel Stenberg | 9c7d439 | 2008-01-14 17:49:06 +0000 | [diff] [blame] | 234 | |
| 235 | Firefox 3 is changing from its former format to a a sqlite database instead. |
| 236 | We should consider how (lib)curl can/should support this. |
| 237 | http://curl.haxx.se/bug/feature.cgi?id=1871388 |
| 238 | |
| Daniel Stenberg | 6291a1c | 2010-01-21 09:32:51 +0000 | [diff] [blame^] | 239 | 5.3 Rearrange request header order |
| Daniel Stenberg | 2c4fcf2 | 2009-08-19 07:09:13 +0000 | [diff] [blame] | 240 | |
| 241 | Server implementors often make an effort to detect browser and to reject |
| 242 | clients it can detect to not match. One of the last details we cannot yet |
| 243 | control in libcurl's HTTP requests, which also can be exploited to detect |
| 244 | that libcurl is in fact used even when it tries to impersonate a browser, is |
| 245 | the order of the request headers. I propose that we introduce a new option in |
| 246 | which you give headers a value, and then when the HTTP request is built it |
| 247 | sorts the headers based on that number. We could then have internally created |
| 248 | headers use a default value so only headers that need to be moved have to be |
| 249 | specified. |
| 250 | |
| 251 | |
| Daniel Stenberg | 41d8186 | 2007-12-08 23:00:00 +0000 | [diff] [blame] | 252 | 6. TELNET |
| 253 | |
| 254 | 6.1 ditch stdin |
| 255 | |
| 256 | Reading input (to send to the remote server) on stdin is a crappy solution for |
| 257 | library purposes. We need to invent a good way for the application to be able |
| 258 | to provide the data to send. |
| 259 | |
| 260 | 6.2 ditch telnet-specific select |
| 261 | |
| 262 | Move the telnet support's network select() loop go away and merge the code |
| 263 | into the main transfer loop. Until this is done, the multi interface won't |
| 264 | work for telnet. |
| 265 | |
| Dan Fandrich | ddfbe8b | 2008-05-23 20:52:46 +0000 | [diff] [blame] | 266 | 6.3 feature negotiation debug data |
| 267 | |
| 268 | Add telnet feature negotiation data to the debug callback as header data. |
| 269 | |
| 270 | 6.4 send data in chunks |
| 271 | |
| 272 | Currently, telnet sends data one byte at a time. This is fine for interactive |
| 273 | use, but inefficient for any other. Sent data should be sent in larger |
| 274 | chunks. |
| 275 | |
| Daniel Stenberg | 41d8186 | 2007-12-08 23:00:00 +0000 | [diff] [blame] | 276 | 7. SSL |
| 277 | |
| 278 | 7.1 Disable specific versions |
| 279 | |
| 280 | Provide an option that allows for disabling specific SSL versions, such as |
| 281 | SSLv2 http://curl.haxx.se/bug/feature.cgi?id=1767276 |
| 282 | |
| Dan Fandrich | 152cf63 | 2008-09-10 07:11:45 +0000 | [diff] [blame] | 283 | 7.2 Provide mutex locking API |
| Daniel Stenberg | 41d8186 | 2007-12-08 23:00:00 +0000 | [diff] [blame] | 284 | |
| 285 | Provide a libcurl API for setting mutex callbacks in the underlying SSL |
| 286 | library, so that the same application code can use mutex-locking |
| 287 | independently of OpenSSL or GnutTLS being used. |
| 288 | |
| Daniel Stenberg | 09e027b | 2008-11-11 13:33:01 +0000 | [diff] [blame] | 289 | 7.3 Evaluate SSL patches |
| Daniel Stenberg | 41d8186 | 2007-12-08 23:00:00 +0000 | [diff] [blame] | 290 | |
| 291 | Evaluate/apply Gertjan van Wingerde's SSL patches: |
| 292 | http://curl.haxx.se/mail/lib-2004-03/0087.html |
| 293 | |
| Daniel Stenberg | 09e027b | 2008-11-11 13:33:01 +0000 | [diff] [blame] | 294 | 7.4 Cache OpenSSL contexts |
| Daniel Stenberg | 41d8186 | 2007-12-08 23:00:00 +0000 | [diff] [blame] | 295 | |
| 296 | "Look at SSL cafile - quick traces look to me like these are done on every |
| 297 | request as well, when they should only be necessary once per ssl context (or |
| 298 | once per handle)". The major improvement we can rather easily do is to make |
| 299 | sure we don't create and kill a new SSL "context" for every request, but |
| 300 | instead make one for every connection and re-use that SSL context in the same |
| 301 | style connections are re-used. It will make us use slightly more memory but |
| 302 | it will libcurl do less creations and deletions of SSL contexts. |
| 303 | |
| Daniel Stenberg | 09e027b | 2008-11-11 13:33:01 +0000 | [diff] [blame] | 304 | 7.5 Export session ids |
| Daniel Stenberg | 41d8186 | 2007-12-08 23:00:00 +0000 | [diff] [blame] | 305 | |
| 306 | Add an interface to libcurl that enables "session IDs" to get |
| 307 | exported/imported. Cris Bailiff said: "OpenSSL has functions which can |
| 308 | serialise the current SSL state to a buffer of your choice, and recover/reset |
| 309 | the state from such a buffer at a later date - this is used by mod_ssl for |
| 310 | apache to implement and SSL session ID cache". |
| 311 | |
| Daniel Stenberg | 09e027b | 2008-11-11 13:33:01 +0000 | [diff] [blame] | 312 | 7.6 Provide callback for cert verification |
| Daniel Stenberg | 41d8186 | 2007-12-08 23:00:00 +0000 | [diff] [blame] | 313 | |
| 314 | OpenSSL supports a callback for customised verification of the peer |
| 315 | certificate, but this doesn't seem to be exposed in the libcurl APIs. Could |
| 316 | it be? There's so much that could be done if it were! |
| 317 | |
| Daniel Stenberg | 09e027b | 2008-11-11 13:33:01 +0000 | [diff] [blame] | 318 | 7.7 Support other SSL libraries |
| Daniel Stenberg | 41d8186 | 2007-12-08 23:00:00 +0000 | [diff] [blame] | 319 | |
| 320 | Make curl's SSL layer capable of using other free SSL libraries. Such as |
| 321 | MatrixSSL (http://www.matrixssl.org/). |
| 322 | |
| Daniel Stenberg | 09e027b | 2008-11-11 13:33:01 +0000 | [diff] [blame] | 323 | 7.8 Support SRP on the TLS layer |
| Daniel Stenberg | 41d8186 | 2007-12-08 23:00:00 +0000 | [diff] [blame] | 324 | |
| 325 | Peter Sylvester's patch for SRP on the TLS layer. Awaits OpenSSL support for |
| 326 | this, no need to support this in libcurl before there's an OpenSSL release |
| 327 | that does it. |
| 328 | |
| Daniel Stenberg | 09e027b | 2008-11-11 13:33:01 +0000 | [diff] [blame] | 329 | 7.9 improve configure --with-ssl |
| Daniel Stenberg | 41d8186 | 2007-12-08 23:00:00 +0000 | [diff] [blame] | 330 | |
| 331 | make the configure --with-ssl option first check for OpenSSL, then GnuTLS, |
| 332 | then NSS... |
| 333 | |
| Daniel Stenberg | b8b8c3d | 2009-10-17 19:31:57 +0000 | [diff] [blame] | 334 | 7.10 Make NTLM work with other crypto functions |
| 335 | |
| 336 | Get NTLM working using the functions provided by NSS etc. Not strictly |
| 337 | SSL/TLS related, but hey... Another option is to get available DES and MD4 |
| 338 | source code from the cryptopp library. They are fine license-wise, but are |
| 339 | C++. NTLM currenly only works when libcurl is built with OpenSSL or GnuTLS |
| 340 | support. |
| 341 | |
| Daniel Stenberg | 41d8186 | 2007-12-08 23:00:00 +0000 | [diff] [blame] | 342 | 8. GnuTLS |
| 343 | |
| Daniel Stenberg | b8b8c3d | 2009-10-17 19:31:57 +0000 | [diff] [blame] | 344 | 8.1 SSL engine stuff |
| Daniel Stenberg | 41d8186 | 2007-12-08 23:00:00 +0000 | [diff] [blame] | 345 | |
| 346 | Is this even possible? |
| 347 | |
| Daniel Stenberg | b8b8c3d | 2009-10-17 19:31:57 +0000 | [diff] [blame] | 348 | 8.2 SRP |
| Daniel Stenberg | 41d8186 | 2007-12-08 23:00:00 +0000 | [diff] [blame] | 349 | |
| 350 | Work out a common method with Peter Sylvester's OpenSSL-patch for SRP on the |
| 351 | TLS to provide name and password. GnuTLS already supports it... |
| 352 | |
| Daniel Stenberg | b8b8c3d | 2009-10-17 19:31:57 +0000 | [diff] [blame] | 353 | 8.3 non-blocking |
| Daniel Stenberg | 41d8186 | 2007-12-08 23:00:00 +0000 | [diff] [blame] | 354 | |
| 355 | Fix the connection phase to be non-blocking when multi interface is used |
| 356 | |
| Daniel Stenberg | b8b8c3d | 2009-10-17 19:31:57 +0000 | [diff] [blame] | 357 | 8.4 check connection |
| Daniel Stenberg | 41d8186 | 2007-12-08 23:00:00 +0000 | [diff] [blame] | 358 | |
| 359 | Add a way to check if the connection seems to be alive, to correspond to the |
| 360 | SSL_peak() way we use with OpenSSL. |
| 361 | |
| Dan Fandrich | ddfbe8b | 2008-05-23 20:52:46 +0000 | [diff] [blame] | 362 | 9. Other protocols |
| Daniel Stenberg | 41d8186 | 2007-12-08 23:00:00 +0000 | [diff] [blame] | 363 | |
| 364 | 9.1 ditch ldap-specific select |
| Daniel Stenberg | 01cfe67 | 2002-01-18 12:48:36 +0000 | [diff] [blame] | 365 | |
| 366 | * Look over the implementation. The looping will have to "go away" from the |
| 367 | lib/ldap.c source file and get moved to the main network code so that the |
| 368 | multi interface and friends will work for LDAP as well. |
| 369 | |
| Dan Fandrich | ddfbe8b | 2008-05-23 20:52:46 +0000 | [diff] [blame] | 370 | 9.2 stop TFTP blocking |
| 371 | |
| 372 | Stop TFTP from being blocking and doing its own read loop in tftp_do. |
| 373 | |
| Daniel Stenberg | 41d8186 | 2007-12-08 23:00:00 +0000 | [diff] [blame] | 374 | 10. New protocols |
| Daniel Stenberg | 2910880 | 2004-12-22 09:19:29 +0000 | [diff] [blame] | 375 | |
| Daniel Stenberg | 41d8186 | 2007-12-08 23:00:00 +0000 | [diff] [blame] | 376 | 10.1 RTSP |
| Daniel Stenberg | 2910880 | 2004-12-22 09:19:29 +0000 | [diff] [blame] | 377 | |
| Daniel Stenberg | 41d8186 | 2007-12-08 23:00:00 +0000 | [diff] [blame] | 378 | RFC2326 (protocol - very HTTP-like, also contains URL description) |
| Daniel Stenberg | 2910880 | 2004-12-22 09:19:29 +0000 | [diff] [blame] | 379 | |
| Daniel Stenberg | 41d8186 | 2007-12-08 23:00:00 +0000 | [diff] [blame] | 380 | 10.2 RSYNC |
| Daniel Stenberg | e60e741 | 2001-11-02 12:51:18 +0000 | [diff] [blame] | 381 | |
| Daniel Stenberg | a03c2d8 | 2007-12-09 12:12:52 +0000 | [diff] [blame] | 382 | There's no RFC for protocol nor URI/URL format. An implementation should |
| 383 | most probably use an existing rsync library, such as librsync. |
| Daniel Stenberg | 3dbe708 | 2007-09-13 09:02:15 +0000 | [diff] [blame] | 384 | |
| Daniel Stenberg | ccb4956 | 2007-12-09 12:22:22 +0000 | [diff] [blame] | 385 | 10.3 RTMP |
| 386 | |
| 387 | There exists a patch that claims to introduce this protocol: |
| 388 | http://osdir.com/ml/gnu.gnash.devel2/2006-11/msg00278.html, further details |
| 389 | in the feature-request: http://curl.haxx.se/bug/feature.cgi?id=1843469 |
| 390 | |
| Daniel Stenberg | 41d8186 | 2007-12-08 23:00:00 +0000 | [diff] [blame] | 391 | 11. Client |
| Daniel Stenberg | 3392911 | 2004-09-09 06:58:01 +0000 | [diff] [blame] | 392 | |
| Daniel Stenberg | 41d8186 | 2007-12-08 23:00:00 +0000 | [diff] [blame] | 393 | 11.1 Content-Disposition |
| Daniel Stenberg | 3392911 | 2004-09-09 06:58:01 +0000 | [diff] [blame] | 394 | |
| Daniel Stenberg | 41d8186 | 2007-12-08 23:00:00 +0000 | [diff] [blame] | 395 | Add option that is similar to -O but that takes the output file name from the |
| 396 | Content-Disposition: header, and/or uses the local file name used in |
| 397 | redirections for the cases the server bounces the request further to a |
| 398 | different file (name): http://curl.haxx.se/bug/feature.cgi?id=1364676 |
| Daniel Stenberg | 84ec406 | 2004-08-13 12:06:30 +0000 | [diff] [blame] | 399 | |
| Daniel Stenberg | 41d8186 | 2007-12-08 23:00:00 +0000 | [diff] [blame] | 400 | 11.2 sync |
| Daniel Stenberg | 87c4351 | 2002-08-26 22:32:46 +0000 | [diff] [blame] | 401 | |
| Daniel Stenberg | 41d8186 | 2007-12-08 23:00:00 +0000 | [diff] [blame] | 402 | "curl --sync http://example.com/feed[1-100].rss" or |
| 403 | "curl --sync http://example.net/{index,calendar,history}.html" |
| Daniel Stenberg | e60e741 | 2001-11-02 12:51:18 +0000 | [diff] [blame] | 404 | |
| Daniel Stenberg | 41d8186 | 2007-12-08 23:00:00 +0000 | [diff] [blame] | 405 | Downloads a range or set of URLs using the remote name, but only if the |
| 406 | remote file is newer than the local file. A Last-Modified HTTP date header |
| 407 | should also be used to set the mod date on the downloaded file. |
| Daniel Stenberg | d12fd89 | 2001-12-06 14:40:16 +0000 | [diff] [blame] | 408 | |
| Daniel Stenberg | 41d8186 | 2007-12-08 23:00:00 +0000 | [diff] [blame] | 409 | 11.3 glob posts |
| Daniel Stenberg | 5c4b422 | 2002-02-18 10:51:28 +0000 | [diff] [blame] | 410 | |
| Daniel Stenberg | 41d8186 | 2007-12-08 23:00:00 +0000 | [diff] [blame] | 411 | Globbing support for -d and -F, as in 'curl -d "name=foo[0-9]" URL'. |
| 412 | This is easily scripted though. |
| Daniel Stenberg | 5c4b422 | 2002-02-18 10:51:28 +0000 | [diff] [blame] | 413 | |
| Daniel Stenberg | 41d8186 | 2007-12-08 23:00:00 +0000 | [diff] [blame] | 414 | 11.4 prevent file overwriting |
| Daniel Stenberg | 5c4b422 | 2002-02-18 10:51:28 +0000 | [diff] [blame] | 415 | |
| Daniel Stenberg | 41d8186 | 2007-12-08 23:00:00 +0000 | [diff] [blame] | 416 | Add an option that prevents cURL from overwriting existing local files. When |
| 417 | used, and there already is an existing file with the target file name |
| 418 | (either -O or -o), a number should be appended (and increased if already |
| 419 | existing). So that index.html becomes first index.html.1 and then |
| 420 | index.html.2 etc. |
| Daniel Stenberg | 4c3a231 | 2004-01-09 08:59:55 +0000 | [diff] [blame] | 421 | |
| Daniel Stenberg | 41d8186 | 2007-12-08 23:00:00 +0000 | [diff] [blame] | 422 | 11.5 ftp wildcard download |
| Daniel Stenberg | 391a37e | 2003-12-08 13:48:23 +0000 | [diff] [blame] | 423 | |
| Daniel Stenberg | 41d8186 | 2007-12-08 23:00:00 +0000 | [diff] [blame] | 424 | "curl ftp://site.com/*.txt" |
| Daniel Stenberg | f7f6b28 | 2004-05-25 14:39:53 +0000 | [diff] [blame] | 425 | |
| Daniel Stenberg | 41d8186 | 2007-12-08 23:00:00 +0000 | [diff] [blame] | 426 | 11.6 simultaneous parallel transfers |
| Daniel Stenberg | f7f6b28 | 2004-05-25 14:39:53 +0000 | [diff] [blame] | 427 | |
| Daniel Stenberg | 41d8186 | 2007-12-08 23:00:00 +0000 | [diff] [blame] | 428 | The client could be told to use maximum N simultaneous parallel transfers and |
| 429 | then just make sure that happens. It should of course not make more than one |
| 430 | connection to the same remote host. This would require the client to use the |
| 431 | multi interface. http://curl.haxx.se/bug/feature.cgi?id=1558595 |
| Daniel Stenberg | f7f6b28 | 2004-05-25 14:39:53 +0000 | [diff] [blame] | 432 | |
| Daniel Stenberg | 41d8186 | 2007-12-08 23:00:00 +0000 | [diff] [blame] | 433 | 11.7 provide formpost headers |
| Daniel Stenberg | f7f6b28 | 2004-05-25 14:39:53 +0000 | [diff] [blame] | 434 | |
| Daniel Stenberg | 41d8186 | 2007-12-08 23:00:00 +0000 | [diff] [blame] | 435 | Extending the capabilities of the multipart formposting. How about leaving |
| 436 | the ';type=foo' syntax as it is and adding an extra tag (headers) which |
| 437 | works like this: curl -F "coolfiles=@fil1.txt;headers=@fil1.hdr" where |
| 438 | fil1.hdr contains extra headers like |
| Daniel Stenberg | 7cb10a1 | 2004-03-02 10:08:04 +0000 | [diff] [blame] | 439 | |
| Daniel Stenberg | 41d8186 | 2007-12-08 23:00:00 +0000 | [diff] [blame] | 440 | Content-Type: text/plain; charset=KOI8-R" |
| 441 | Content-Transfer-Encoding: base64 |
| 442 | X-User-Comment: Please don't use browser specific HTML code |
| Daniel Stenberg | 3de8577 | 2004-12-21 10:54:21 +0000 | [diff] [blame] | 443 | |
| Daniel Stenberg | 41d8186 | 2007-12-08 23:00:00 +0000 | [diff] [blame] | 444 | which should overwrite the program reasonable defaults (plain/text, |
| 445 | 8bit...) |
| Daniel Stenberg | e60e741 | 2001-11-02 12:51:18 +0000 | [diff] [blame] | 446 | |
| Daniel Stenberg | 41d8186 | 2007-12-08 23:00:00 +0000 | [diff] [blame] | 447 | 11.8 url-specific options |
| Daniel Stenberg | 0e899d7 | 2006-12-19 14:28:01 +0000 | [diff] [blame] | 448 | |
| Daniel Stenberg | 41d8186 | 2007-12-08 23:00:00 +0000 | [diff] [blame] | 449 | Provide a way to make options bound to a specific URL among several on the |
| 450 | command line. Possibly by letting ':' separate options between URLs, |
| 451 | similar to this: |
| Daniel Stenberg | 96b7131 | 2003-03-15 15:08:55 +0000 | [diff] [blame] | 452 | |
| Daniel Stenberg | 41d8186 | 2007-12-08 23:00:00 +0000 | [diff] [blame] | 453 | curl --data foo --url url.com : \ |
| 454 | --url url2.com : \ |
| 455 | --url url3.com --data foo3 |
| Daniel Stenberg | e60e741 | 2001-11-02 12:51:18 +0000 | [diff] [blame] | 456 | |
| Daniel Stenberg | 41d8186 | 2007-12-08 23:00:00 +0000 | [diff] [blame] | 457 | (More details: http://curl.haxx.se/mail/archive-2004-07/0133.html) |
| Daniel Stenberg | e60e741 | 2001-11-02 12:51:18 +0000 | [diff] [blame] | 458 | |
| Daniel Stenberg | 41d8186 | 2007-12-08 23:00:00 +0000 | [diff] [blame] | 459 | The example would do a POST-GET-POST combination on a single command line. |
| Daniel Stenberg | f3c7adc | 2007-08-17 22:21:41 +0000 | [diff] [blame] | 460 | |
| Dan Fandrich | ddfbe8b | 2008-05-23 20:52:46 +0000 | [diff] [blame] | 461 | 11.9 metalink support |
| 462 | |
| 463 | Add metalink support to curl (http://www.metalinker.org/). This is most useful |
| 464 | with simultaneous parallel transfers (11.6) but not necessary. |
| 465 | |
| 466 | 11.10 warning when setting an option |
| 467 | |
| 468 | Display a warning when libcurl returns an error when setting an option. |
| 469 | This can be useful to tell when support for a particular feature hasn't been |
| 470 | compiled into the library. |
| 471 | |
| Daniel Stenberg | 41d8186 | 2007-12-08 23:00:00 +0000 | [diff] [blame] | 472 | 12. Build |
| Daniel Stenberg | f3c7adc | 2007-08-17 22:21:41 +0000 | [diff] [blame] | 473 | |
| Daniel Stenberg | 41d8186 | 2007-12-08 23:00:00 +0000 | [diff] [blame] | 474 | 12.1 roffit |
| Dan Fandrich | 9f44a95 | 2007-08-30 20:34:57 +0000 | [diff] [blame] | 475 | |
| Daniel Stenberg | 41d8186 | 2007-12-08 23:00:00 +0000 | [diff] [blame] | 476 | Consider extending 'roffit' to produce decent ASCII output, and use that |
| 477 | instead of (g)nroff when building src/hugehelp.c |
| Dan Fandrich | 9f44a95 | 2007-08-30 20:34:57 +0000 | [diff] [blame] | 478 | |
| Daniel Stenberg | 41d8186 | 2007-12-08 23:00:00 +0000 | [diff] [blame] | 479 | 13. Test suite |
| Dan Fandrich | 9f44a95 | 2007-08-30 20:34:57 +0000 | [diff] [blame] | 480 | |
| Daniel Stenberg | 41d8186 | 2007-12-08 23:00:00 +0000 | [diff] [blame] | 481 | 13.1 SSL tunnel |
| Daniel Stenberg | 83a4638 | 2003-03-10 20:46:54 +0000 | [diff] [blame] | 482 | |
| Daniel Stenberg | 41d8186 | 2007-12-08 23:00:00 +0000 | [diff] [blame] | 483 | Make our own version of stunnel for simple port forwarding to enable HTTPS |
| 484 | and FTP-SSL tests without the stunnel dependency, and it could allow us to |
| 485 | provide test tools built with either OpenSSL or GnuTLS |
| Daniel Stenberg | 83a4638 | 2003-03-10 20:46:54 +0000 | [diff] [blame] | 486 | |
| Daniel Stenberg | 41d8186 | 2007-12-08 23:00:00 +0000 | [diff] [blame] | 487 | 13.2 nicer lacking perl message |
| Daniel Stenberg | 7cb10a1 | 2004-03-02 10:08:04 +0000 | [diff] [blame] | 488 | |
| Daniel Stenberg | 41d8186 | 2007-12-08 23:00:00 +0000 | [diff] [blame] | 489 | If perl wasn't found by the configure script, don't attempt to run the tests |
| 490 | but explain something nice why it doesn't. |
| Daniel Stenberg | 35840a2 | 2004-07-01 08:22:52 +0000 | [diff] [blame] | 491 | |
| Daniel Stenberg | 41d8186 | 2007-12-08 23:00:00 +0000 | [diff] [blame] | 492 | 13.3 more protocols supported |
| Daniel Stenberg | 7cb10a1 | 2004-03-02 10:08:04 +0000 | [diff] [blame] | 493 | |
| Daniel Stenberg | 41d8186 | 2007-12-08 23:00:00 +0000 | [diff] [blame] | 494 | Extend the test suite to include more protocols. The telnet could just do ftp |
| 495 | or http operations (for which we have test servers). |
| Daniel Stenberg | a00e7f0 | 2004-10-25 11:28:40 +0000 | [diff] [blame] | 496 | |
| Daniel Stenberg | 41d8186 | 2007-12-08 23:00:00 +0000 | [diff] [blame] | 497 | 13.4 more platforms supported |
| 498 | |
| 499 | Make the test suite work on more platforms. OpenBSD and Mac OS. Remove |
| 500 | fork()s and it should become even more portable. |
| 501 | |
| 502 | 14. Next SONAME bump |
| 503 | |
| 504 | 14.1 http-style HEAD output for ftp |
| 505 | |
| 506 | #undef CURL_FTP_HTTPSTYLE_HEAD in lib/ftp.c to remove the HTTP-style headers |
| 507 | from being output in NOBODY requests over ftp |
| 508 | |
| 509 | 14.2 combine error codes |
| 510 | |
| 511 | Combine some of the error codes to remove duplicates. The original |
| 512 | numbering should not be changed, and the old identifiers would be |
| 513 | macroed to the new ones in an CURL_NO_OLDIES section to help with |
| 514 | backward compatibility. |
| 515 | |
| 516 | Candidates for removal and their replacements: |
| 517 | |
| 518 | CURLE_FILE_COULDNT_READ_FILE => CURLE_REMOTE_FILE_NOT_FOUND |
| 519 | CURLE_FTP_COULDNT_RETR_FILE => CURLE_REMOTE_FILE_NOT_FOUND |
| 520 | CURLE_FTP_COULDNT_USE_REST => CURLE_RANGE_ERROR |
| 521 | CURLE_FUNCTION_NOT_FOUND => CURLE_FAILED_INIT |
| 522 | CURLE_LDAP_INVALID_URL => CURLE_URL_MALFORMAT |
| 523 | CURLE_TFTP_NOSUCHUSER => CURLE_TFTP_ILLEGAL |
| 524 | CURLE_TFTP_NOTFOUND => CURLE_REMOTE_FILE_NOT_FOUND |
| 525 | CURLE_TFTP_PERM => CURLE_REMOTE_ACCESS_DENIED |
| 526 | |
| Daniel Stenberg | fcc4850 | 2008-01-04 22:16:16 +0000 | [diff] [blame] | 527 | 14.3 extend CURLOPT_SOCKOPTFUNCTION prototype |
| 528 | |
| 529 | The current prototype only provides 'purpose' that tells what the |
| 530 | connection/socket is for, but not any protocol or similar. It makes it hard |
| 531 | for applications to differentiate on TCP vs UDP and even HTTP vs FTP and |
| 532 | similar. |
| 533 | |
| Daniel Stenberg | 41d8186 | 2007-12-08 23:00:00 +0000 | [diff] [blame] | 534 | 15. Next major release |
| 535 | |
| 536 | 15.1 cleanup return codes |
| 537 | |
| 538 | curl_easy_cleanup() returns void, but curl_multi_cleanup() returns a |
| 539 | CURLMcode. These should be changed to be the same. |
| 540 | |
| 541 | 15.2 remove obsolete defines |
| 542 | |
| 543 | remove obsolete defines from curl/curl.h |
| 544 | |
| 545 | 15.3 size_t |
| 546 | |
| 547 | make several functions use size_t instead of int in their APIs |
| 548 | |
| 549 | 15.4 remove several functions |
| 550 | |
| 551 | remove the following functions from the public API: |
| 552 | |
| 553 | curl_getenv |
| 554 | |
| 555 | curl_mprintf (and variations) |
| 556 | |
| 557 | curl_strequal |
| 558 | |
| 559 | curl_strnequal |
| 560 | |
| 561 | They will instead become curlx_ - alternatives. That makes the curl app |
| Daniel Stenberg | 44103ab | 2009-05-11 20:35:26 +0000 | [diff] [blame] | 562 | still capable of using them, by building with them from source. |
| 563 | |
| 564 | These functions have no purpose anymore: |
| 565 | |
| 566 | curl_multi_socket |
| 567 | |
| 568 | curl_multi_socket_all |
| Daniel Stenberg | 41d8186 | 2007-12-08 23:00:00 +0000 | [diff] [blame] | 569 | |
| 570 | 15.5 remove CURLOPT_FAILONERROR |
| 571 | |
| 572 | Remove support for CURLOPT_FAILONERROR, it has gotten too kludgy and weird |
| 573 | internally. Let the app judge success or not for itself. |
| Daniel Stenberg | 56f17d2 | 2008-01-15 22:15:55 +0000 | [diff] [blame] | 574 | |
| 575 | 15.6 remove CURLOPT_DNS_USE_GLOBAL_CACHE |
| 576 | |
| 577 | Remove support for a global DNS cache. Anything global is silly, and we |
| 578 | already offer the share interface for the same functionality but done |
| 579 | "right". |