1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

Tone down the protocol.http.compression warning

AFAIK, all bugs in it have been fixed.  Some bugs may still be lurking
but they are more likely to get caught if compression is enabled.

I also replaced COMP_NOTE with static text because xgettext does not
support macros in the argument of N_.
(cherry picked from commit 3a9b5d091d)
This commit is contained in:
Kalle Olavi Niemitalo 2008-03-01 17:29:58 +02:00 committed by Kalle Olavi Niemitalo
parent a7f94dbbd1
commit 2a7346d371

View File

@ -178,20 +178,20 @@ static struct option_info http_options[] = {
"security risk because it tells web-masters and the FBI sniffers about\n"
"your language preference.")),
#if !(defined(CONFIG_GZIP) || defined(CONFIG_BZIP2))
#define COMP_NOTE "\nNote that this ELinks version has been compiled without compression\n" \
"support anyway. This option will have no effect.\n"
#else
#define COMP_NOTE
#endif
INIT_OPT_BOOL("protocol.http", N_("Enable on-the-fly compression (experimental)"),
/* After the compression support has been tested enough,
* we might wrap this option in #if CFG_DEBUG. */
INIT_OPT_BOOL("protocol.http", N_("Enable on-the-fly compression"),
"compression", 0, 1,
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"
"HOWEVER, please note that the ELinks implementation is unfortunately very\n"
"buggy and you may see incomplete pages, pages with garbage instead of\n"
"content, etc.!" COMP_NOTE)),
"\n"
"If ELinks displays a incomplete page or garbage, try disabling this\n"
"option. If that helps, there may be a bug in the decompression part\n"
"of ELinks. Please report such bugs.\n"
"\n"
"If ELinks has been compiled without compression support, this option\n"
"has no effect. To check the supported features, see Help -> About.")),
INIT_OPT_BOOL("protocol.http", N_("Activate HTTP TRACE debugging"),
"trace", 0, 0,