david/ipxe
Archived
1
0
This repository has been archived on 2020-12-06. You can view files and clone it, but cannot push or open issues or pull requests.
ipxe/src/net/tcp
Michael Brown 8f7cd88af5 [http] Fix HTTP SAN booting
Commit 501527d ("[http] Treat any unexpected connection close as an
error") introduced a regression causing HTTP SAN booting to fail.  At
the end of the response to the HEAD request, the call to http_done()
would erroneously believe that the server had disconnected in the
middle of the HTTP headers.

Fix by treating the header block from a HEAD request as a trailer
block.  This fixes the problem and also simplifies the logic in
http_rx_header().

Reported-by: Shao Miller <shao.miller@yrdsb.edu.on.ca>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
2012-08-17 18:00:40 +01:00
..
ftp.c [ftp] Add support for the FTP SIZE command 2012-08-15 17:04:41 +01:00
http.c [legal] Update FSF mailing address in GPL licence texts 2012-07-20 19:55:45 +01:00
httpcore.c [http] Fix HTTP SAN booting 2012-08-17 18:00:40 +01:00
https.c [legal] Update FSF mailing address in GPL licence texts 2012-07-20 19:55:45 +01:00
iscsi.c [legal] Update FSF mailing address in GPL licence texts 2012-07-20 19:55:45 +01:00
syslogs.c [legal] Update FSF mailing address in GPL licence texts 2012-07-20 19:55:45 +01:00