mirror of
https://github.com/ipxe/ipxe
synced 2025-12-25 00:17:57 +03:00
[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.
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user