]> git.ipfire.org Git - thirdparty/ipxe.git/commitdiff
[http] Pass through unknown interface method calls
authorMichael Brown <mcb30@ipxe.org>
Tue, 22 Jun 2010 18:33:39 +0000 (19:33 +0100)
committerMichael Brown <mcb30@ipxe.org>
Tue, 22 Jun 2010 18:33:39 +0000 (19:33 +0100)
Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/net/tcp/http.c

index 13c500d503e2c490ef7fd1202158aeceda7187ff..3b59ed9f276faea4f0f9eb265acf1f2ccb90d3f8 100644 (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