mirror of
https://github.com/rkd77/elinks.git
synced 2025-01-03 14:57:44 -05:00
bug 1017: Disable protocol.http.compression by default
To work around buggy servers until bug 1017 has actually been fixed, i.e., ELinks reports decompression errors to the user.
This commit is contained in:
parent
7ae20dc0c2
commit
da4bd42e43
10
NEWS
10
NEWS
@ -5,6 +5,16 @@ You can see the complete list of recent changes, bugfixes and new features
|
||||
in the http://repo.or.cz/w/elinks.git[gitweb interface]. See the ChangeLog
|
||||
file for details.
|
||||
|
||||
ELinks 0.12pre4.GIT now:
|
||||
------------------------
|
||||
|
||||
To be released as 0.12pre5, 0.12rc1, or even 0.12.0. This branch also
|
||||
includes the changes listed under ``ELinks 0.11.6.GIT now'' below.
|
||||
|
||||
* minor bug 1017: To work around HTTP server bugs, disable
|
||||
protocol.http.compression by default, until ELinks can report
|
||||
decompression errors or automatically retry the connection.
|
||||
|
||||
ELinks 0.12pre4:
|
||||
----------------
|
||||
|
||||
|
@ -182,10 +182,17 @@ static struct option_info http_options[] = {
|
||||
"risk because it tells web-masters and the FBI sniffers "
|
||||
"about your language preference.")),
|
||||
|
||||
/* After the compression support has been tested enough,
|
||||
* we might wrap this option in #if CFG_DEBUG. */
|
||||
/* http://www.eweek.com/c/a/Desktops-and-Notebooks/Intel-Psion-End-Dispute-Concerning-Netbook-Trademark-288875/
|
||||
* responds with "Transfer-Encoding: chunked" and
|
||||
* "Content-Encoding: gzip" but does not compress the first chunk
|
||||
* and the last chunk, causing ELinks to display garbage.
|
||||
* (If User-Agent includes "Gecko" (case sensitive), then
|
||||
* that server correctly compresses the whole stream.)
|
||||
* ELinks should instead report the decompression error (bug 1017)
|
||||
* or perhaps even blacklist the server for compression and retry.
|
||||
* Until that has been implemented, disable compression by default. */
|
||||
INIT_OPT_BOOL("protocol.http", N_("Enable on-the-fly compression"),
|
||||
"compression", 0, 1,
|
||||
"compression", 0, 0,
|
||||
N_("If enabled, the capability to receive compressed content "
|
||||
"(gzip and/or bzip2) is announced to the server, which "
|
||||
"usually sends the reply compressed, thus saving some "
|
||||
|
Loading…
Reference in New Issue
Block a user