URL:
  <http://savannah.gnu.org/bugs/?49531>

                 Summary: HTTP module does not support HTTP Pipelining
                 Project: GNU GRUB
            Submitted by: snes_rocks
            Submitted on: Fri 04 Nov 2016 07:41:15 AM GMT
                Category: Network
                Severity: Major
                Priority: 5 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 
                 Release: Git master
         Reproducibility: Every Time
         Planned Release: None

    _______________________________________________________

Details:

The HTTP module declares support for HTTP/1.0, which defaults to
Connection:keepalive. However, Grub's HTTP client doesn't seem to properly
support pipelining, and waits for 300ms at the end of a request before closing
the connection and opening a new connection for the next request.
The proper fix would be to notice when the Content-Length number of bytes have
arrived and then keep the connection around for the next request.
An easier solution is to have the client declare Connection:close, which will
make the server close the connection at the end of the file and allows Grub to
fetch the next file much faster.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Fri 04 Nov 2016 07:41:15 AM GMT  Name: grub-disable-http-keepalive.patch
 Size: 1kB   By: snes_rocks
A patch that disables HTTP Pipelining
<http://savannah.gnu.org/bugs/download.php?file_id=38883>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?49531>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/


_______________________________________________
Bug-grub mailing list
Bug-grub@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-grub

Reply via email to