diff options
| author | Michael Brown | 2012-08-17 19:00:40 +0200 |
|---|---|---|
| committer | Michael Brown | 2012-08-17 19:00:40 +0200 |
| commit | 8f7cd88af543b0b95e4f6663251ba9d392389b8b (patch) | |
| tree | 800ff42d5dc0a613d6b565407a1220be14e1c42c /src/drivers | |
| parent | [ftp] Add support for the FTP SIZE command (diff) | |
| download | ipxe-8f7cd88af543b0b95e4f6663251ba9d392389b8b.tar.gz ipxe-8f7cd88af543b0b95e4f6663251ba9d392389b8b.tar.xz ipxe-8f7cd88af543b0b95e4f6663251ba9d392389b8b.zip | |
[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>
Diffstat (limited to 'src/drivers')
0 files changed, 0 insertions, 0 deletions
