bug-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #49531] HTTP module does not support HTTP Pipelining


From: Walter Huf
Subject: [bug #49531] HTTP module does not support HTTP Pipelining
Date: Fri, 4 Nov 2016 07:41:18 +0000 (UTC)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.71 Safari/537.36

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/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]