diff options
author | Michael Brown <mcb30@etherboot.org> | 2009-03-30 13:24:56 +0100 |
---|---|---|
committer | Michael Brown <mcb30@etherboot.org> | 2009-03-30 13:24:56 +0100 |
commit | 323cdf8c4c510fc6da081b96994d0131c11a29dd (patch) | |
tree | 268806d5d1de34a96a446356a065057b060c7282 /src/net/tls.c | |
parent | abc13af0704a131f6eb165eefd977d2b8293a028 (diff) | |
download | ipxe-323cdf8c4c510fc6da081b96994d0131c11a29dd.tar.gz |
[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/net/tls.c')
-rw-r--r-- | src/net/tls.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/tls.c b/src/net/tls.c index 73f9ad06..25f18f79 100644 --- a/src/net/tls.c +++ b/src/net/tls.c @@ -1625,7 +1625,7 @@ static int tls_cipherstream_deliver_raw ( struct xfer_interface *xfer, /** TLS ciphertext stream operations */ static struct xfer_interface_operations tls_cipherstream_operations = { .close = tls_cipherstream_close, - .vredirect = xfer_vopen, + .vredirect = xfer_vreopen, .window = filter_window, .alloc_iob = default_xfer_alloc_iob, .deliver_iob = xfer_deliver_as_raw, |