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: Andrei Borzenkov
Subject: [bug #49531] HTTP module does not support HTTP Pipelining
Date: Sat, 12 Nov 2016 10:14:31 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/53.0.2785.143 Chrome/53.0.2785.143 Safari/537.36

Update of bug #49531 (project grub):

         Planned Release:                    None => 2.03+                  

    _______________________________________________________

Follow-up Comment #6:

I think at this point it is better to move discussion to grub-devel, savannah
bug tracker is not really suitable for patch review. Some comments regarding
second patch.

          if (file->device->net->packs.count >= 20)
-           {
-             file->device->net->stall = 1;
+           file->device->net->stall = 1;
+
+         if (file->device->net->packs.count >= 100)
              grub_net_tcp_stall (data->sock);
-           }

This changes logic without any explanation why.

+         if (data->size_recv && data->downloaded_size >= file->size)
+           file->device->net->stall = 1;

file size may also be unknown in advance. We also already have code in
parse_line() to set stall and eof. Why is it not kicked in?

As for the original problem, looks OK but I would prefer to delay it for post
2.02; it is not critical and such changes always have potential for
regressions. Thank you for understanding.

    _______________________________________________________

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]