2018-07-01 19:22:53 +08:00
|
|
|
# Items to be removed from future curl releases
|
|
|
|
|
2018-07-02 14:14:53 +08:00
|
|
|
If any of these deprecated features is a cause for concern for you, please
|
|
|
|
email the curl-library mailing list as soon as possible and explain to us why
|
|
|
|
this is a problem for you and how your use case can't be satisfied properly
|
|
|
|
using a work around.
|
2018-07-01 19:22:53 +08:00
|
|
|
|
|
|
|
## axTLS backend
|
|
|
|
|
|
|
|
Here are some complaints on axTLS.
|
|
|
|
|
|
|
|
- home page without HTTPS
|
2018-07-02 19:16:09 +08:00
|
|
|
- [doesn't support modern TLS features like SNI](https://github.com/dsheets/axtls/issues/2)
|
|
|
|
- [lacks support for modern ciphers](https://github.com/micropython/micropython/issues/3198)
|
|
|
|
- [doesn't allow for outside bug report submissions](https://sourceforge.net/p/axtls/bugs/)
|
|
|
|
- there's virtually no discussion about it in its [forum](https://sourceforge.net/p/axtls/discussion/)
|
|
|
|
nor [mailing list](https://sourceforge.net/p/axtls/mailman/axtls-general/)
|
2018-07-01 19:22:53 +08:00
|
|
|
|
|
|
|
Combined, this list hints that this is not a library and project we should
|
|
|
|
recommend to users.
|
|
|
|
|
|
|
|
### State
|
|
|
|
|
2018-07-03 05:41:06 +08:00
|
|
|
Since June 1st, 2018 (curl 7.61.0) axTLS support is disabled in code and
|
|
|
|
requires a small code change to build without errors. [See
|
|
|
|
PR](https://github.com/curl/curl/pull/2628)
|
2018-07-01 19:22:53 +08:00
|
|
|
|
|
|
|
### Removal
|
|
|
|
|
|
|
|
Remove all axTLS related code from curl on December 1st, exactly six months
|
2018-07-03 05:41:06 +08:00
|
|
|
after previously mentioned commit. To be shipped on December 26, 2018
|
|
|
|
(possibly called version 7.64.0)
|
2018-07-01 19:22:53 +08:00
|
|
|
|
2018-07-02 14:14:53 +08:00
|
|
|
## HTTP pipelining
|
2018-07-01 19:22:53 +08:00
|
|
|
|
2018-07-02 14:14:53 +08:00
|
|
|
HTTP pipelining is badly supported by curl in the sense that we have bugs and
|
2018-07-01 19:22:53 +08:00
|
|
|
it is a fragile feature without enough tests. Also, when something turns out
|
2018-07-02 14:14:53 +08:00
|
|
|
to have problems it is really tricky to debug due to the timing sensitivity so
|
2018-07-01 19:22:53 +08:00
|
|
|
very often enabling debug outputs or similar completely changes the nature of
|
|
|
|
the behavior and things are not reproducing anymore!
|
|
|
|
|
2018-07-02 14:14:53 +08:00
|
|
|
HTTP pipelining was never enabled by default by the large desktop browsers due
|
2018-07-01 19:22:53 +08:00
|
|
|
to all the issues with it. Both Firefox and Chrome have also dropped
|
2018-07-02 14:14:53 +08:00
|
|
|
pipelining support entirely since a long time back now. We are in fact over
|
2018-07-01 19:22:53 +08:00
|
|
|
time becoming more and more lonely in supporting pipelining.
|
|
|
|
|
|
|
|
The bad state of HTTP pipelining was a primary driving factor behind HTTP/2
|
|
|
|
and its multiplexing feature. HTTP/2 multiplexing is truly and really
|
|
|
|
"pipelining done right". It is way more solid, practical and solves the use
|
|
|
|
case in a better way with better performance and fewer downsides and problems.
|
|
|
|
|
|
|
|
In 2018, pipelining *should* be abandoned and HTTP/2 should be used instead.
|
|
|
|
|
|
|
|
### State
|
|
|
|
|
2018-08-04 06:21:16 +08:00
|
|
|
In 7.62.0, we will add code that ignores the "enable pipeline" option
|
|
|
|
setting). The *setopt() function would still return "OK" though so the
|
|
|
|
application couldn't tell that this is happening.
|
2018-07-01 19:22:53 +08:00
|
|
|
|
|
|
|
Users who truly need pipelining from that version will need to modify the code
|
|
|
|
(ever so slightly) and rebuild.
|
|
|
|
|
|
|
|
### Removal
|
|
|
|
|
|
|
|
Six months later, in sync with the planned release happen in April 2019,
|
|
|
|
(might be 7.66.0), assuming no major riots have occurred due to this in the
|
|
|
|
mean time, we rip out the pipelining code. It is in the order of 1000 lines of
|
|
|
|
libcurl code.
|
|
|
|
|
|
|
|
Left to answer: should the *setopt() function start to return error when these
|
|
|
|
options are set to be able to tell when they're trying to use options that are
|
|
|
|
no longer around or should we maintain behavior as much as possible?
|
2018-09-05 06:05:46 +08:00
|
|
|
|
|
|
|
## CURLOPT_DNS_USE_GLOBAL_CACHE
|
|
|
|
|
|
|
|
This option makes libcurl use a global non-thread-safe cache for DNS if
|
|
|
|
enabled. The option has been marked as "obsolete" in the header file and in
|
|
|
|
documentation for several years already.
|
|
|
|
|
|
|
|
There's proper and safe method alternative provided since many years: the
|
|
|
|
share API.
|
|
|
|
|
|
|
|
### State
|
|
|
|
|
|
|
|
In curl 7.62.0 setting this option to TRUE will not have any effect. The
|
|
|
|
global cache will not be enabled. The code still remains so it is easy to
|
|
|
|
revert if need be.
|
|
|
|
|
|
|
|
### Removal
|
|
|
|
|
|
|
|
Remove all global-cache related code from curl around April 2019 (might be
|
|
|
|
7.66.0).
|
|
|
|
|