Date: prev next · Thread: first prev next last


Hi,

On 11/2/2011 2:42 AM, Christian Lohmaier wrote:

PS: I also cannot confirm that the server doesn't report size or
doesn't accept byte-ranges/resume:

curl -I 
http://mirrors.supportex.net/tdf/libreoffice/stable/3.3.4/win/x86/LibO_3.3.4_Win_x86_install_multi.exe
HTTP/1.1 200 OK
Date: Wed, 02 Nov 2011 00:38:10 GMT
Server: Apache
Last-Modified: Thu, 04 Aug 2011 22:10:47 GMT
ETag: "3a308ff-d88df02-4a9b540bac7c0"
Accept-Ranges: bytes
Content-Length: 227073794
Vary: Accept-Encoding,User-Agent
Content-Type: application/octet-stream

It does report size and accept byte range. However, the way it does is odd. Please check:

--------------------------------------------------------------------
wget -cNS http://mirrors.supportex.net/tdf/libreoffice/stable/3.3.4/win/x86/LibO_3.3.4_Win_x86_install_multi.exe --2011-11-02 15:53:50-- http://mirrors.supportex.net/tdf/libreoffice/stable/3.3.4/win/x86/LibO_3.3.4_Win_x86_install_multi.exe
Resolving mirrors.supportex.net... 83.149.104.10
Connecting to mirrors.supportex.net|83.149.104.10|:80... connected.
HTTP request sent, awaiting response...
  HTTP/1.1 200 OK
  Date: Wed, 02 Nov 2011 12:53:50 GMT
  Server: Apache
  Last-Modified: Thu, 04 Aug 2011 22:10:47 GMT
  ETag: "3a308ff-d88df02-4a9b540bac7c0"
  Accept-Ranges: bytes
  Content-Length: 227073794
  Vary: Accept-Encoding,User-Agent
  Keep-Alive: timeout=5, max=60
  Connection: Keep-Alive
  Content-Type: application/octet-stream
Length: 227073794 (217M) [application/octet-stream]
Saving to: `LibO_3.3.4_Win_x86_install_multi.exe'
--------------------------------------------------------------------

then ^C. wget reports 13965625 bytes downloaded. Start again:

--------------------------------------------------------------------
wget -cNS http://mirrors.supportex.net/tdf/libreoffice/stable/3.3.4/win/x86/LibO_3.3.4_Win_x86_install_multi.exe --2011-11-02 15:53:55-- http://mirrors.supportex.net/tdf/libreoffice/stable/3.3.4/win/x86/LibO_3.3.4_Win_x86_install_multi.exe
Resolving mirrors.supportex.net... 83.149.104.10
Connecting to mirrors.supportex.net|83.149.104.10|:80... connected.
HTTP request sent, awaiting response...
  HTTP/1.1 200 OK
  Date: Wed, 02 Nov 2011 12:53:55 GMT
  Server: Apache
  Last-Modified: Thu, 04 Aug 2011 22:10:47 GMT
  ETag: "3a308ff-d88df02-4a9b540bac7c0"
  Accept-Ranges: bytes
  Content-Length: 227073794
  Vary: Accept-Encoding,User-Agent
  Keep-Alive: timeout=5, max=60
  Connection: Keep-Alive
  Content-Type: application/octet-stream
Length: 227073794 (217M) [application/octet-stream]
The sizes do not match (local 13965625) -- retrieving.

--2011-11-02 15:53:55-- http://mirrors.supportex.net/tdf/libreoffice/stable/3.3.4/win/x86/LibO_3.3.4_Win_x86_install_multi.exe
Reusing existing connection to mirrors.supportex.net:80.
HTTP request sent, awaiting response...
  HTTP/1.1 200 OK
  Date: Wed, 02 Nov 2011 12:53:55 GMT
  Server: Apache
  Last-Modified: Thu, 04 Aug 2011 22:10:47 GMT
  ETag: "3a308ff-d88df02-4a9b540bac7c0"
  Accept-Ranges: bytes
  Content-Length: 227073794
  Vary: Accept-Encoding,User-Agent
  Keep-Alive: timeout=5, max=59
  Connection: Keep-Alive
  Content-Type: application/octet-stream
Length: 227073794 (217M) [application/octet-stream]
Saving to: `LibO_3.3.4_Win_x86_install_multi.exe'
--------------------------------------------------------------------

There is no 'Content-Range: bytes' header, also 'Content-Length: 227073794' is wrong since it should report not the length of file but the length of data http server will send to client. As in a sample below:

--------------------------------------------------------------------
wget -cNS http://ftp.byfly.by/pub/tdf/libreoffice/stable/3.3.4/win/x86/LibO_3.3.4_Win_x86_install_multi.exe --2011-11-02 15:54:20-- http://ftp.byfly.by/pub/tdf/libreoffice/stable/3.3.4/win/x86/LibO_3.3.4_Win_x86_install_multi.exe
Resolving ftp.byfly.by... 86.57.151.3
Connecting to ftp.byfly.by|86.57.151.3|:80... connected.
HTTP request sent, awaiting response...
  HTTP/1.1 206 Partial Content
  Server: nginx
  Date: Wed, 02 Nov 2011 12:54:20 GMT
  Content-Type: application/octet-stream
  Content-Length: 213108169
  Last-Modified: Thu, 04 Aug 2011 22:10:47 GMT
  Connection: keep-alive
  Content-Range: bytes 13965625-227073793/227073794
Length: 227073794 (217M), 213108169 (203M) remaining [application/octet-stream]
The sizes do not match (local 13965625) -- retrieving.

--2011-11-02 15:54:20-- http://ftp.byfly.by/pub/tdf/libreoffice/stable/3.3.4/win/x86/LibO_3.3.4_Win_x86_install_multi.exe
Reusing existing connection to ftp.byfly.by:80.
HTTP request sent, awaiting response...
  HTTP/1.1 206 Partial Content
  Server: nginx
  Date: Wed, 02 Nov 2011 12:54:20 GMT
  Content-Type: application/octet-stream
  Content-Length: 213108169
  Last-Modified: Thu, 04 Aug 2011 22:10:47 GMT
  Connection: keep-alive
  Content-Range: bytes 13965625-227073793/227073794
Length: 227073794 (217M), 213108169 (203M) remaining [application/octet-stream]
Saving to: `LibO_3.3.4_Win_x86_install_multi.exe'
--------------------------------------------------------------------

Regards,
Mitry.

--
Unsubscribe instructions: E-mail to mirrors+help@documentfoundation.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.documentfoundation.org/www/mirrors/
All messages sent to this list will be publicly archived and cannot be deleted

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.