diff options
author | Michael Brown | 2010-06-22 20:33:39 +0200 |
---|---|---|
committer | Michael Brown | 2010-06-22 20:33:39 +0200 |
commit | b707f15ecbd71e5d0f9eedafb389f2fdfeb95913 (patch) | |
tree | cd49dc7e646037da58b432d4196d4a285b6a17b3 | |
parent | [interface] Allow for non-pass-through interface methods (diff) | |
download | ipxe-b707f15ecbd71e5d0f9eedafb389f2fdfeb95913.tar.gz ipxe-b707f15ecbd71e5d0f9eedafb389f2fdfeb95913.tar.xz ipxe-b707f15ecbd71e5d0f9eedafb389f2fdfeb95913.zip |
[http] Pass through unknown interface method calls
Signed-off-by: Michael Brown <mcb30@ipxe.org>
-rw-r--r-- | src/net/tcp/http.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/net/tcp/http.c b/src/net/tcp/http.c index 13c500d5..3b59ed9f 100644 --- a/src/net/tcp/http.c +++ b/src/net/tcp/http.c @@ -473,7 +473,8 @@ static struct interface_operation http_socket_operations[] = { /** HTTP socket interface descriptor */ static struct interface_descriptor http_socket_desc = - INTF_DESC ( struct http_request, socket, http_socket_operations ); + INTF_DESC_PASSTHRU ( struct http_request, socket, + http_socket_operations, xfer ); /** HTTP data transfer interface operations */ static struct interface_operation http_xfer_operations[] = { @@ -482,7 +483,8 @@ static struct interface_operation http_xfer_operations[] = { /** HTTP data transfer interface descriptor */ static struct interface_descriptor http_xfer_desc = - INTF_DESC ( struct http_request, xfer, http_xfer_operations ); + INTF_DESC_PASSTHRU ( struct http_request, xfer, + http_xfer_operations, socket ); /** * Initiate an HTTP connection, with optional filter |