Skip to content

Commit

Permalink
[http] Pass through unknown interface method calls
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Brown <mcb30@ipxe.org>
  • Loading branch information
mcb30 committed Jun 22, 2010
1 parent 65bc070 commit b707f15
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/net/tcp/http.c
Expand Up @@ -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[] = {
Expand All @@ -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
Expand Down

0 comments on commit b707f15

Please sign in to comment.