[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v5 11/20] efinet: also use the firmware acceleration for http
From: |
Robbie Harwood |
Subject: |
[PATCH v5 11/20] efinet: also use the firmware acceleration for http |
Date: |
Tue, 25 Apr 2023 11:05:22 -0400 |
From: Peter Jones <pjones@redhat.com>
Signed-off-by: Peter Jones <pjones@redhat.com>
Signed-off-by: Robbie Harwood <rharwood@redhat.com>
---
grub-core/net/efi/net.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/grub-core/net/efi/net.c b/grub-core/net/efi/net.c
index 012dc654c5..9ea7ed141f 100644
--- a/grub-core/net/efi/net.c
+++ b/grub-core/net/efi/net.c
@@ -1307,7 +1307,10 @@ grub_efi_net_boot_from_https (void)
&& (subtype == GRUB_EFI_URI_DEVICE_PATH_SUBTYPE))
{
grub_efi_uri_device_path_t *uri_dp = (grub_efi_uri_device_path_t *)
dp;
- return (grub_strncmp ((const char*) uri_dp->uri, "https://", sizeof
("https://") - 1) == 0) ? 1 : 0;
+
+ grub_dprintf ("efinet", "url:%s\n", (const char *) uri_dp->uri);
+ return (grub_strncmp ((const char *) uri_dp->uri, "https://", sizeof
("https://") - 1) == 0 ||
+ grub_strncmp ((const char *) uri_dp->uri, "http://", sizeof
("http://") - 1) == 0);
}
if (GRUB_EFI_END_ENTIRE_DEVICE_PATH (dp))
--
2.40.0
- [PATCH v5 00/20] UEFI networking support including ipv6 + dhcpv6, Robbie Harwood, 2023/04/25
- [PATCH v5 04/20] efinet + bootp: add net_bootp6 command supporting dhcpv6, Robbie Harwood, 2023/04/25
- [PATCH v5 01/20] Revert "net/http: Allow use of non-standard TCP/IP ports", Robbie Harwood, 2023/04/25
- [PATCH v5 13/20] Add fw_path variable to detect config file on efi, Robbie Harwood, 2023/04/25
- [PATCH v5 19/20] normal/main: Discover the device to read the config from as a fallback, Robbie Harwood, 2023/04/25
- [PATCH v5 10/20] Support UEFI networking protocols, Robbie Harwood, 2023/04/25
- [PATCH v5 03/20] net/http: check result of grub_netbuff_put() in http_receive(), Robbie Harwood, 2023/04/25
- [PATCH v5 16/20] Prepend prefix when HTTP path is relative, Robbie Harwood, 2023/04/25
- [PATCH v5 11/20] efinet: also use the firmware acceleration for http,
Robbie Harwood <=
- [PATCH v5 08/20] efinet Configure network from UEFI device path, Robbie Harwood, 2023/04/25
- [PATCH v5 06/20] grub.texi: Add net_bootp6 doumentation, Robbie Harwood, 2023/04/25
- [PATCH v5 15/20] Try mac/guid/etc before grub.cfg on tftp config files, Robbie Harwood, 2023/04/25
- [PATCH v5 20/20] efinet: Add DHCP proxy support, Robbie Harwood, 2023/04/25
- [PATCH v5 05/20] efinet: add structures for PXE messages, Robbie Harwood, 2023/04/25
- [PATCH v5 18/20] http: Prepend prefix when the HTTP path is relative, Robbie Harwood, 2023/04/25
- [PATCH v5 07/20] bootp: Process DHCPACK packet during HTTP Boot, Robbie Harwood, 2023/04/25
- [PATCH v5 09/20] efinet: set DNS server from UEFI protocol, Robbie Harwood, 2023/04/25
- [PATCH v5 02/20] net: read bracketed ipv6 addrs and port numbers, Robbie Harwood, 2023/04/25
- [PATCH v5 17/20] efi/http: Enclose literal IPv6 addresses in square brackets, Robbie Harwood, 2023/04/25