]> sjero.net Git - wget/commitdiff
[svn] Document the --no-http-keep-alive option.
authorhniksic <devnull@localhost>
Fri, 6 Feb 2004 16:50:14 +0000 (08:50 -0800)
committerhniksic <devnull@localhost>
Fri, 6 Feb 2004 16:50:14 +0000 (08:50 -0800)
doc/ChangeLog
doc/wget.texi

index 5086e28e95d724533ddce3cbec4613805e652f3e..28525b1e83c805b261c97b3c49635a87ad0d5697 100644 (file)
@@ -1,3 +1,8 @@
+2004-02-06  Hrvoje Niksic  <hniksic@xemacs.org>
+
+       * wget.texi (Wgetrc Commands): Document --no-http-keep-alive and
+       the corresponding Wgetrc command.
+
 2003-12-06  Hrvoje Niksic  <hniksic@xemacs.org>
 
        * wget.texi (Download Options): Don't incorrectly claim that `-O'
index c1dd2db283bb1d9e37dd4964635daf1f6dfbbea4..3c14d1ca845c1c490dcf564d2478bd886c01abf6 100644 (file)
@@ -1282,6 +1282,19 @@ Note that when retrieving a file (not a directory) because it was
 specified on the command-line, rather than because it was recursed to,
 this option has no effect.  Symbolic links are always traversed in this
 case.
+
+@cindex Keep-Alive, turning off
+@cindex Persistent Connections, disabling
+@item --no-http-keep-alive
+Turn off the ``keep-alive'' feature for HTTP downloads.  Normally, Wget
+asks the server to keep the connection open so that, when you download
+more than one document from the same server, they get transferred over
+the same TCP connection.  This saves time and at the same time reduces
+the load on the server.
+
+This option is useful when, for some reason, persistent (keep-alive)
+connections don't work for you, for example due to a server bug or due
+to the inability of server-side scripts to cope with the connections.
 @end table
 
 @node Recursive Retrieval Options
@@ -2297,6 +2310,10 @@ Add a @samp{.html} extension to @samp{text/html} or
 @samp{application/xhtml+xml} files without it, like
 @samp{-E}.
 
+@item http_keep_alive = on/off
+Turn the keep-alive feature on or off (defaults to on).  The same as
+`--http-keep-alive'.
+
 @item http_passwd = @var{string}
 Set @sc{http} password.