]> sjero.net Git - wget/commitdiff
[svn] Document reasoning behind CLOSE_INVALIDATED more accurately.
authorhniksic <devnull@localhost>
Sat, 2 Jul 2005 13:23:54 +0000 (06:23 -0700)
committerhniksic <devnull@localhost>
Sat, 2 Jul 2005 13:23:54 +0000 (06:23 -0700)
src/http.c

index 7aaa499b8ccf9c7ad3e363f61e02a8c7ae0e5c26..b188971ceaaeb4970f5004c8cd7a66cb1f254332 100644 (file)
@@ -1892,8 +1892,9 @@ gethttp (struct url *u, struct http_stat *hs, int *dt, struct url *proxy)
       xfree_null (type);
       if (head_only)
        /* Pre-1.10 Wget used CLOSE_INVALIDATE here.  Now we trust the
-          servers not to send body in response to a HEAD request.  If
-          you encounter such a server (more likely a broken CGI), use
+          servers not to send body in response to a HEAD request, and
+          those that do will likely be caught by test_socket_open.
+          If not, they can be worked around using
           `--no-http-keep-alive'.  */
        CLOSE_FINISH (sock);
       else if (keep_alive && skip_short_body (sock, contlen))