2014-06-19 20:16:14 +08:00
|
|
|
|
curl the next few years - perhaps
|
2014-09-11 06:15:12 +08:00
|
|
|
|
=================================
|
2014-06-19 20:16:14 +08:00
|
|
|
|
|
|
|
|
|
Roadmap of things Daniel Stenberg and Steve Holme want to work on next. It is
|
|
|
|
|
intended to serve as a guideline for others for information, feedback and
|
|
|
|
|
possible participation.
|
|
|
|
|
|
2015-04-24 16:49:31 +08:00
|
|
|
|
HTTP/2
|
|
|
|
|
------
|
|
|
|
|
|
|
|
|
|
- test suite
|
|
|
|
|
|
|
|
|
|
Base this on existing nghttp2 server to start with to make functional
|
|
|
|
|
tests. Later on we can adopt that code or work with nghttp2 to provide ways
|
|
|
|
|
to have the http2 server respond with broken responses to make sure we deal
|
|
|
|
|
with that nicely as well.
|
|
|
|
|
|
|
|
|
|
To decide: if we need to bundle parts of the nghttp2 stuff that probably
|
|
|
|
|
won't be shipped by many distros.
|
|
|
|
|
|
|
|
|
|
- stream properties API
|
|
|
|
|
|
|
|
|
|
Provide options for setting priorities and dependencies among the streams
|
|
|
|
|
(easy handles). They are mostly information set for the stream and sent to
|
|
|
|
|
the server so we don't have to add much logic for this.
|
|
|
|
|
|
|
|
|
|
- server push
|
|
|
|
|
|
|
|
|
|
Not exactly clear exactly how to support this API-wise, but by adding
|
|
|
|
|
handles without asking for a resource it could be a way to be prepared to
|
|
|
|
|
receive pushes in case such are sent. We probably need it to still specify
|
|
|
|
|
a URL with host name, port etc but we probably need a special option to
|
|
|
|
|
tell libcurl it is for server push purposes.
|
|
|
|
|
|
|
|
|
|
- provide option for HTTP/2 "prior knowledge" over clear text
|
2014-06-19 20:16:14 +08:00
|
|
|
|
|
2015-04-24 16:49:31 +08:00
|
|
|
|
As it would avoid the roundtrip-heavy Upgrade: procedures when you _know_
|
|
|
|
|
it speaks HTTP/2.
|
2014-06-19 20:16:14 +08:00
|
|
|
|
|
2015-04-24 16:49:31 +08:00
|
|
|
|
- provide option to allow curl to default to HTTP/2 only when using HTTPS
|
2014-06-19 20:16:14 +08:00
|
|
|
|
|
2015-04-24 16:49:31 +08:00
|
|
|
|
We could switch on HTTP/2 by-default for HTTPS quite easily and it
|
|
|
|
|
shouldn't hurt anyone, while HTTP/2 for HTTP by default could introduce
|
|
|
|
|
lots of Upgrade: roundtrips that users won't like. So a separated option
|
|
|
|
|
alternative makes sense.
|
2014-06-19 20:16:14 +08:00
|
|
|
|
|
2015-04-24 16:49:31 +08:00
|
|
|
|
SRV records
|
|
|
|
|
-----------
|
2014-06-19 20:16:14 +08:00
|
|
|
|
|
2015-04-24 16:49:31 +08:00
|
|
|
|
How to find services for specific domains/hosts.
|
2014-06-19 20:16:14 +08:00
|
|
|
|
|
2015-04-24 16:49:31 +08:00
|
|
|
|
HTTPS to proxy
|
|
|
|
|
--------------
|
2014-06-19 20:16:14 +08:00
|
|
|
|
|
2015-04-24 16:49:31 +08:00
|
|
|
|
To avoid network traffic to/from the proxy getting snooped on.
|
2014-06-19 20:16:14 +08:00
|
|
|
|
|
2015-04-24 16:49:31 +08:00
|
|
|
|
curl_formadd()
|
|
|
|
|
--------------
|
2014-06-19 20:16:14 +08:00
|
|
|
|
|
2015-04-24 16:49:31 +08:00
|
|
|
|
make sure there's an easy handle passed in to `curl_formadd()`,
|
|
|
|
|
`curl_formget()` and `curl_formfree()` by adding replacement functions and
|
|
|
|
|
deprecating the old ones to allow custom mallocs and more
|
2014-06-19 20:16:14 +08:00
|
|
|
|
|
2015-04-24 16:49:31 +08:00
|
|
|
|
third-party SASL
|
|
|
|
|
----------------
|
|
|
|
|
|
|
|
|
|
add support for third-party SASL libraries such as Cyrus SASL - may need to
|
|
|
|
|
move existing native and SSPI based authentication into vsasl folder after
|
|
|
|
|
reworking HTTP and SASL code
|
|
|
|
|
|
|
|
|
|
SASL authentication in LDAP
|
|
|
|
|
---------------------------
|
|
|
|
|
|
|
|
|
|
...
|
|
|
|
|
|
|
|
|
|
Simplify the SMTP email
|
|
|
|
|
-----------------------
|
|
|
|
|
|
|
|
|
|
Simplify the SMTP email interface so that programmers don't have to
|
|
|
|
|
construct the body of an email that contains all the headers, alternative
|
|
|
|
|
content, images and attachments - maintain raw interface so that
|
|
|
|
|
programmers that want to do this can
|
|
|
|
|
|
|
|
|
|
email capabilities
|
|
|
|
|
------------------
|
|
|
|
|
|
|
|
|
|
Allow the email protocols to return the capabilities before
|
|
|
|
|
authenticating. This will allow an application to decide on the best
|
|
|
|
|
authentication mechanism
|
|
|
|
|
|
|
|
|
|
Win32 pthreads
|
|
|
|
|
--------------
|
|
|
|
|
|
|
|
|
|
Allow Windows threading model to be replaced by Win32 pthreads port
|
|
|
|
|
|
|
|
|
|
dynamic buffer size
|
|
|
|
|
-------------------
|
2014-06-19 20:16:14 +08:00
|
|
|
|
|
2015-04-24 16:49:31 +08:00
|
|
|
|
Implement a dynamic buffer size to allow SFTP to use much larger buffers and
|
|
|
|
|
possibly allow the size to be customizable by applications. Use less memory
|
|
|
|
|
when handles are not in use?
|
2014-06-19 20:16:14 +08:00
|
|
|
|
|
|
|
|
|
New stuff - curl
|
2014-09-11 06:15:12 +08:00
|
|
|
|
----------------
|
2014-06-19 20:16:14 +08:00
|
|
|
|
|
|
|
|
|
1. Embed a language interpreter (lua?). For that middle ground where curl
|
|
|
|
|
isn’t enough and a libcurl binding feels “too much”. Build-time conditional
|
|
|
|
|
of course.
|
|
|
|
|
|
|
|
|
|
2. Simplify the SMTP command line so that the headers and multi-part content
|
|
|
|
|
don't have to be constructed before calling curl
|
|
|
|
|
|
|
|
|
|
Improve
|
2014-09-11 06:15:12 +08:00
|
|
|
|
-------
|
2014-06-19 20:16:14 +08:00
|
|
|
|
|
|
|
|
|
1. build for windows (considered hard by many users)
|
|
|
|
|
|
|
|
|
|
2. curl -h output (considered overwhelming to users)
|
|
|
|
|
|
|
|
|
|
3. we have > 160 command line options, is there a way to redo things to
|
|
|
|
|
simplify or improve the situation as we are likely to keep adding
|
|
|
|
|
features/options in the future too
|
|
|
|
|
|
|
|
|
|
4. docs (considered "bad" by users but how do we make it better?)
|
2014-09-11 16:56:20 +08:00
|
|
|
|
|
|
|
|
|
- split up curl.1
|
2014-06-19 20:16:14 +08:00
|
|
|
|
|
|
|
|
|
5. authentication framework (consider merging HTTP and SASL authentication to
|
|
|
|
|
give one API for protocols to call)
|
|
|
|
|
|
|
|
|
|
6. Perform some of the clean up from the TODO document, removing old
|
|
|
|
|
definitions and such like that are currently earmarked to be removed years
|
|
|
|
|
ago
|
|
|
|
|
|
|
|
|
|
Remove
|
2014-09-11 06:15:12 +08:00
|
|
|
|
------
|
2014-06-19 20:16:14 +08:00
|
|
|
|
|
2015-02-21 06:31:59 +08:00
|
|
|
|
1. makefile.vc files as there is no point in maintaining two sets of Windows
|
2014-06-19 20:16:14 +08:00
|
|
|
|
makefiles. Note: These are currently being used by the Windows autobuilds
|