cURL / Mailing Lists / curl-library / Single Mail

curl-library

BUG: HTTP server doesn't seem to support byte ranges. Cannot resume.

From: sdrfnord <sdrfnord_at_gmx.de>
Date: Thu, 04 Apr 2013 00:09:17 +0200

Hi everyone on this list

I noticed a problem with curl. When a file is already downloaded completely and
curl is executed again using -C - then curl says "curl: (33) HTTP server doesn't
seem to support byte ranges. Cannot resume."

$ curl -C - http://www.heise.de -o heise.de
  % Total % Received % Xferd Average Speed Time Time Time Current
                                 Dload Upload Total Spent Left Speed
100 118k 0 118k 0 0 5522 0 --:--:-- 0:00:21 --:--:-- 14107

$ curl -C - http://www.heise.de -o heise.de
** Resuming transfer from byte position 121015
  % Total % Received % Xferd Average Speed Time Time Time Current
                                 Dload Upload Total Spent Left Speed
  0 0 0 0 0 0 0 0 --:--:-- 0:00:05 --:--:-- 0
curl: (33) HTTP server doesn't seem to support byte ranges. Cannot resume.

I don't think that this is the intended behaviour. Wget does notice that the
file is already complete.

I last tried it with the current version: 962eb3d9eda88ec364526b2ad04eda03884bcc9d

  curl version: 7.30.0-DEV
  Host setup: i686-pc-linux-gnu
  Install prefix: /usr/local
  Compiler: gcc
  SSL support: enabled (OpenSSL)
  SSH support: no (--with-libssh2)
  zlib support: enabled
  krb4 support: no (--with-krb4*)
  GSSAPI support: no (--with-gssapi)
  SPNEGO support: no (--with-spnego)
  TLS-SRP support: enabled
  resolver: default (--enable-ares / --enable-threaded-resolver)
  ipv6 support: enabled
  IDN support: no (--with-{libidn,winidn})
  Build libcurl: Shared=yes, Static=yes
  Built-in manual: enabled
  --libcurl option: enabled (--disable-libcurl-option)
  Verbose errors: enabled (--disable-verbose)
  SSPI support: no (--enable-sspi)
  ca cert bundle: /etc/ssl/certs/ca-certificates.crt
  ca cert path: no
  LDAP support: no (--enable-ldap / --with-ldap-lib / --with-lber-lib)
  LDAPS support: no (--enable-ldaps)
  RTSP support: enabled
  RTMP support: no (--with-librtmp)
  metalink support: no (--with-libmetalink)
  Protocols: DICT FILE FTP FTPS GOPHER HTTP HTTPS IMAP IMAPS POP3 POP3S
RTSP SMTP SMTPS TELNET TFTP

-- 
Regards,
sdrfnord
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2013-04-04