Sergei Vassilvitskii <[EMAIL PROTECTED]> writes: > Running wget version 1.10 on a winxp machine.
The server is sending a malformed status line: HTTP/1.1 HTTP 404 - Finner ikke dokumentet Server: Microsoft-IIS/4.0 Date: Wed, 06 Jul 2005 09:17:26 GMT ... The following patch fixes the crash, but such responses still don't get downloaded. I'm not sure what would be the best way to handle a response whose status cannot be determined. Thanks for the report. 2005-07-06 Hrvoje Niksic <[EMAIL PROTECTED]> * http.c (gethttp): When freeing MESSAGE, take into account that it can be NULL. Index: src/http.c =================================================================== --- src/http.c (revision 1972) +++ src/http.c (working copy) @@ -1704,7 +1704,7 @@ hs->error = xstrdup (_("(no description)")); else hs->error = xstrdup (message); - xfree (message); + xfree_null (message); type = resp_header_strdup (resp, "Content-Type"); if (type)