2
0
mirror of https://github.com/xcat2/xNBA.git synced 2025-01-12 18:57:55 +00:00

[http] Pass through unknown interface method calls

Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Michael Brown 2010-06-22 19:33:39 +01:00
parent 65bc070b05
commit b707f15ecb

View File

@ -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