Skip to contentSkip to conversation

Is anyone using the http module to do largish transfers?

DISCUSSION Alan Perry 2 participants 5 messages Feb 5, 2015 – Feb 9, 2015

lore
Share & tools
lore

Alan Perry

author
#0 lore raw

Hi,

I am trying to debug a problem involving largish HTTP data transfers (around 80M). I have no problem transferring around 3M with the grub http module. Has anyone here observed a similar issue or is this not a problem for others and I should be looking for the problem somewhere other than the http module?

Thanks,

alan

#1 lore raw

В Wed, 04 Feb 2015 16:39:20 -0800
Alan Perry <[email protected]> пишет:

Quoted 8 lines

Hi,

I am trying to debug a problem involving largish HTTP data transfers (around 80M). I have no problem transferring around 3M with the grub http module. Has anyone here observed a similar issue or is this not a problem for others and I should be looking for the problem somewhere other than the http module?

I did a quick test and was able to do "initrd (http)/initrd" for ~90MB file using current git. This is under QEMU. Physical hardware may be different.

Quoted 10 lines

Thanks,

alan

_______________________________________________
Grub-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/grub-devel

author
#2 lore raw
Quoted 5 lines · Andrei Borzenkov

В Wed, 04 Feb 2015 16:39:20 -0800
Alan Perry <[email protected]> пишет:

Quoted 2 lines

Hi,

Quoted 8 lines
Quoted 5 lines

I am trying to debug a problem involving largish HTTP data transfers (around 80M). I have no problem transferring around 3M with the grub http module. Has anyone here observed a similar issue or is this not a problem for others and I should be looking for the problem somewhere other than the http module?

I did a quick test and was able to do "initrd (http)/initrd" for ~90MB file using current git. This is under QEMU. Physical hardware may be different.

OK, knowing that it works in some instances is good. As I have been digging into the problem, it seems to be somewhere other than http. I would elaborate further, but I am still working through why the code is doing what I see on the network.

Another question about the http module. http_establish() builds a GET request that may have a Content-Range header. However, looking at the HTTP/1.1 RFCs, Content-Range is something that appears in a status 206 response, not in a request. The http module shouldn't insert this header, should it?

alan

Quoted 10 lines
Quoted 10 lines

Thanks,

alan

_______________________________________________
Grub-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/grub-devel

#3 lore raw

В Sun, 08 Feb 2015 12:26:53 -0800
Alan Perry <[email protected]> пишет:

Quoted 3 lines

Another question about the http module. http_establish() builds a GET request that may have a Content-Range header.

Where do you see it?

Quoted 18 lines

However, looking at the
HTTP/1.1 RFCs, Content-Range is something that appears in a status 206 response, not in a request. The http module shouldn't insert this header, should it?

alan

Quoted 10 lines
Quoted 10 lines

Thanks,

alan

_______________________________________________
Grub-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/grub-devel

author
#4 lore raw
Quoted 6 lines · Andrei Borzenkov

В Sun, 08 Feb 2015 12:26:53 -0800
Alan Perry <[email protected]> пишет:

Quoted 2 lines

Another question about the http module. http_establish() builds a GET request that may have a Content-Range header.

Where do you see it?

My mistake - looks like this has been changed since I last updated my local repo.

alan

Quoted 17 lines
Quoted 17 lines

However, looking at the
HTTP/1.1 RFCs, Content-Range is something that appears in a status 206 response, not in a request. The http module shouldn't insert this header, should it?

alan

Quoted 9 lines
Quoted 9 lines

Thanks,

alan

_______________________________________________
Grub-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/grub-devel