Browse Source

[http] Pass through unknown interface method calls

Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Michael Brown 14 years ago
parent
commit
b707f15ecb
1 changed files with 4 additions and 2 deletions
  1. 4
    2
      src/net/tcp/http.c

+ 4
- 2
src/net/tcp/http.c View File

473
 
473
 
474
 /** HTTP socket interface descriptor */
474
 /** HTTP socket interface descriptor */
475
 static struct interface_descriptor http_socket_desc =
475
 static struct interface_descriptor http_socket_desc =
476
-	INTF_DESC ( struct http_request, socket, http_socket_operations );
476
+	INTF_DESC_PASSTHRU ( struct http_request, socket,
477
+			     http_socket_operations, xfer );
477
 
478
 
478
 /** HTTP data transfer interface operations */
479
 /** HTTP data transfer interface operations */
479
 static struct interface_operation http_xfer_operations[] = {
480
 static struct interface_operation http_xfer_operations[] = {
482
 
483
 
483
 /** HTTP data transfer interface descriptor */
484
 /** HTTP data transfer interface descriptor */
484
 static struct interface_descriptor http_xfer_desc =
485
 static struct interface_descriptor http_xfer_desc =
485
-	INTF_DESC ( struct http_request, xfer, http_xfer_operations );
486
+	INTF_DESC_PASSTHRU ( struct http_request, xfer,
487
+			     http_xfer_operations, socket );
486
 
488
 
487
 /**
489
 /**
488
  * Initiate an HTTP connection, with optional filter
490
  * Initiate an HTTP connection, with optional filter

Loading…
Cancel
Save