[xfer] Implement xfer_vreopen() to properly handle redirections
authorMichael Brown <mcb30@etherboot.org>
Mon, 30 Mar 2009 12:24:56 +0000 (13:24 +0100)
committerMichael Brown <mcb30@etherboot.org>
Mon, 30 Mar 2009 12:24:56 +0000 (13:24 +0100)
commit323cdf8c4c510fc6da081b96994d0131c11a29dd
tree268806d5d1de34a96a446356a065057b060c7282
parentabc13af0704a131f6eb165eefd977d2b8293a028
[xfer] Implement xfer_vreopen() to properly handle redirections

When handling a redirection event, we need to close the existing
connection before opening the new connection.
13 files changed:
src/arch/i386/interface/pxe/pxe_tftp.c
src/core/downloader.c
src/core/open.c
src/core/posix_io.c
src/include/gpxe/open.h
src/net/tcp/ftp.c
src/net/tcp/http.c
src/net/tcp/iscsi.c
src/net/tls.c
src/net/udp/dhcp.c
src/net/udp/dns.c
src/net/udp/slam.c
src/net/udp/tftp.c