diff --git a/NEWS b/NEWS index 08634fe3..b006894b 100644 --- a/NEWS +++ b/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: ---------------- diff --git a/src/protocol/http/http.c b/src/protocol/http/http.c index 88545bd0..e857f8e9 100644 --- a/src/protocol/http/http.c +++ b/src/protocol/http/http.c @@ -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 "