bugGNU GRUB - Bugs: bug #66029, UEFI HTTP Boot fails when web...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #66029: UEFI HTTP Boot fails when web server is running behind HAProxy (2.06, probably older too)

Submitter:  Dimitar Nikov <dnikov_20i>
Submitted:  Fri 26 Jul 2024 09:56:54 AM UTC
Votes: 100
 
Category:  Network Severity:  Major
Priority:  5 - Normal Item Group:  Feature Request
Status:  None Privacy:  Public
Assigned to:  None Originator Name:  Dimitar Nikov
Open/Closed:  Open Release:  other
Release:  Reproducibility:  Every Time
Planned Release:  None

Fri 26 Jul 2024 09:56:54 AM UTC, original submission:  

UEFI HTTP Boot fails when running a web server behind HAProxy (or other proxy) to provide initial ramdisk and kernel.

HAproxy (and probably other proxies) is changing HTTP response headers to lowercase. On the other hand, grub2 uses a case-sensitive comparison for the Content-Lenght header leading to prematurely closing the connection and leaving the client with a partially downloaded initrd/kernel.

A possible fix for this issue is to use a case-insensitive comparison for that header (or any headers where necessary).

A simple fix is available in the attached path file.
Thank you.

Best regards,
Dimitar Nikov



Dimitar Nikov <dnikov_20i>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by dnikov_20i (Voted in favor of this item)
  • -email is unavailable- added by dnikov_20i (Submitted the item)
  •  

    There are 100 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2024-07-30 dnikov_20i Carbon-Copy- Added dnikov_20i
    2024-07-26 dnikov_20i Attached File- Added grub2-http-client-lowercase-headers.patch, #56312

    Back to the top

    Powered by Savane 3.13-72d9.
    Corresponding source code