[http] Hide HTTP transport-layer filter implementation details

Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Michael Brown
2020-12-08 15:04:28 +00:00
parent 1b112e9d18
commit be47c2c72c
3 changed files with 17 additions and 6 deletions
+1 -2
View File
@@ -301,8 +301,7 @@ int http_connect ( struct interface *xfer, struct uri *uri ) {
goto err_open;
/* Add filter, if any */
if ( scheme->filter &&
( ( rc = scheme->filter ( &conn->socket, uri->host ) ) != 0 ) )
if ( scheme->filter && ( ( rc = scheme->filter ( conn ) ) != 0 ) )
goto err_filter;
/* Attach to parent interface, mortalise self, and return */