[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v4 10/19] efinet: also use the firmware acceleration for http
From: |
Robbie Harwood |
Subject: |
[PATCH v4 10/19] efinet: also use the firmware acceleration for http |
Date: |
Mon, 9 Jan 2023 18:30:36 -0500 |
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.39.0
- [PATCH v4 00/19] UEFI networking support including ipv6 + dhcpv6, Robbie Harwood, 2023/01/09
- [PATCH v4 01/19] Revert "net/http: Allow use of non-standard TCP/IP ports", Robbie Harwood, 2023/01/09
- [PATCH v4 04/19] efinet: add structures for PXE messages, Robbie Harwood, 2023/01/09
- [PATCH v4 10/19] efinet: also use the firmware acceleration for http,
Robbie Harwood <=
- [PATCH v4 02/19] net: read bracketed ipv6 addrs and port numbers, Robbie Harwood, 2023/01/09
- [PATCH v4 11/19] efi/http: match protocol+hostname of boot url in root_url, Robbie Harwood, 2023/01/09
- [PATCH v4 14/19] Try mac/guid/etc before grub.cfg on tftp config files, Robbie Harwood, 2023/01/09
- [PATCH v4 06/19] bootp: Process DHCPACK packet during HTTP Boot, Robbie Harwood, 2023/01/09
- [PATCH v4 12/19] Add fw_path variable to detect config file on efi, Robbie Harwood, 2023/01/09
- [PATCH v4 13/19] use fw_path prefix when fallback searching for grub config, Robbie Harwood, 2023/01/09
- [PATCH v4 08/19] efinet: set DNS server from UEFI protocol, Robbie Harwood, 2023/01/09
- [PATCH v4 05/19] grub.texi: Add net_bootp6 doumentation, Robbie Harwood, 2023/01/09
- [PATCH v4 15/19] Prepend prefix when HTTP path is relative, Robbie Harwood, 2023/01/09
- [PATCH v4 16/19] efi/http: Enclose literal IPv6 addresses in square brackets, Robbie Harwood, 2023/01/09