1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-10-01 03:36:26 -04:00

Disable protocol.http.compression by default

The compression support in ELinks has always been buggy, with some large pages
failing to decompress and containing garbage at the end instead. However,
with the recent attempts to fix the compression support, it has been actually
made *so* buggy that not only these cases seem to occur more often, but in
some cases, the page is just silently chopped and no content visible; in other
cases, "Resource temporarily unavailable" is displayed. Etc.

The compression support got now to the point where it is so awfully unstable
that it is actively harmful to have it enabled by default. I've been burnt by
it several times already and once made a very serious error because of page
being chopped silently.
This commit is contained in:
Petr Baudis 2007-11-01 02:28:00 +01:00 committed by Petr Baudis
parent d4cec950ec
commit 6c4e01f483

View File

@ -185,7 +185,7 @@ static struct option_info http_options[] = {
#define COMP_NOTE
#endif
INIT_OPT_BOOL("protocol.http", N_("Enable on-the-fly compression (experimental)"),
"compression", 0, 1,
"compression", 0, 0,
N_("If enabled, the capability to receive compressed content (gzip and/or\n"
"bzip2) is announced to the server, which usually sends the reply\n"
"compressed, thus saving some bandwidth at slight CPU expense.\n"