diff options
| author | Michael Brown | 2009-03-30 14:24:56 +0200 |
|---|---|---|
| committer | Michael Brown | 2009-03-30 14:24:56 +0200 |
| commit | 323cdf8c4c510fc6da081b96994d0131c11a29dd (patch) | |
| tree | 268806d5d1de34a96a446356a065057b060c7282 /src/include | |
| parent | [bzimage] Support old (pre-2.00 bootloader) Linux kernel formats (diff) | |
| download | ipxe-323cdf8c4c510fc6da081b96994d0131c11a29dd.tar.gz ipxe-323cdf8c4c510fc6da081b96994d0131c11a29dd.tar.xz ipxe-323cdf8c4c510fc6da081b96994d0131c11a29dd.zip | |
[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.
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/gpxe/open.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/gpxe/open.h b/src/include/gpxe/open.h index 61fb0ef51..136ff87f8 100644 --- a/src/include/gpxe/open.h +++ b/src/include/gpxe/open.h @@ -97,5 +97,7 @@ extern int xfer_open_socket ( struct xfer_interface *xfer, int semantics, struct sockaddr *peer, struct sockaddr *local ); extern int xfer_vopen ( struct xfer_interface *xfer, int type, va_list args ); extern int xfer_open ( struct xfer_interface *xfer, int type, ... ); +extern int xfer_vreopen ( struct xfer_interface *xfer, int type, + va_list args ); #endif /* _GPXE_OPEN_H */ |
