X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=src%2Finit.c;h=e7b974f4d4353b539c4b347b75d9cabb814bf4f9;hp=b511c724859ddf3260482eb26deaaf5b45bc7c09;hb=f2f77d87fd956da619e2bed2b24c1542bafe0125;hpb=b27144fcce6ba4618b74787980acda91ee13763b diff --git a/src/init.c b/src/init.c index b511c724..e7b974f4 100644 --- a/src/init.c +++ b/src/init.c @@ -122,6 +122,7 @@ static struct { { "header", NULL, cmd_spec_header }, { "htmlextension", &opt.html_extension, cmd_boolean }, { "htmlify", NULL, cmd_spec_htmlify }, + { "httpkeepalive", &opt.http_keep_alive, cmd_boolean }, { "httppasswd", &opt.http_passwd, cmd_string }, { "httpproxy", &opt.http_proxy, cmd_string }, { "httpuser", &opt.http_user, cmd_string }, @@ -214,6 +215,7 @@ defaults (void) opt.netrc = 1; opt.ftp_glob = 1; opt.htmlify = 1; + opt.http_keep_alive = 1; opt.use_proxy = 1; tmp = getenv ("no_proxy"); if (tmp)