On 30 Sep 2005, Mark Nipper wrote: > Lastly, I'm also seeing some buggy behavior while serving > requests. I saw this with both 0.4.25 and 0.4.26 also. The > server in question mirrors a bunch of Linux distributions and > whenever I run dselect from Debian and update my list of > available packages from the mirror server running cherokee, I get > errors: > --- > Failed to fetch http://mirror.tamu.edu/debian/dists/unstable/Release.gpg The > HTTP server sent an invalid Content-Range header > Failed to fetch http://mirror.tamu.edu/debian/dists/experimental/Release.gpg > The HTTP server sent an invalid Content-Range header > > What is really strange about this is that I only get this > error every other time I run update. So it seems that cherokee > generates a valid Content-Range header the first time the > request comes across, and then generates trash the next time, ad > infinitum.
So I did a little more investigating on this after switching back to Cherokee 0.4.27. I'm attaching two runs from a client machine using: --- apt-get -o Debug::Acquire::Http=true update After looking at that, I went and looked up some information on Content-Range and then applied the attached patch and everything is happy now. I'm not certain that the patch is right, but it works on my end. I'm just not sure if "bytes" is always the correct thing with which to reply to a client! -- Mark Nipper e-contacts: 832 Tanglewood Drive [EMAIL PROTECTED] Bryan, Texas 77802-4013 http://nipsy.bitgnome.net/ (979)575-3193 AIM/Yahoo: texasnipsy ICQ: 66971617 -----BEGIN GEEK CODE BLOCK----- Version: 3.1 GG/IT d- s++:+ a- C++$ UBL++++$ P--->+++ L+++$ !E--- W++(--) N+ o K++ w(---) O++ M V(--) PS+++(+) PE(--) Y+ PGP t+ 5 X R tv b+++@ DI+(++) D+ G e h r++ y+(**) ------END GEEK CODE BLOCK------ ---begin random quote of the moment--- Adcocinrg to a seruvy dnoe by a Brstiih unriesitvy, it deos not mtetar in wcih oerdr the lretets in a word is wrttien as lnog as the frist and the lsat lteerts are in the rghit palce. The rset of the lteters in the wrod can be in any odrer and you wlil slitl be albe to raed the txet wioutht any pmrolbes. The rosean for tihs is taht we dnot raed ecah lteter seerpaatly but the wlohe wdors as a sginle uint. ----end random quote of the moment----
GET /debian/dists/unstable/Release.gpg HTTP/1.1 Host: mirror.tamu.edu Connection: keep-alive User-Agent: Debian APT-HTTP/1.3 GET /debian/dists/experimental/Release.gpg HTTP/1.1 Host: mirror.tamu.edu Connection: keep-alive User-Agent: Debian APT-HTTP/1.3 HTTP/1.1 200 OK Connection: Keep-Alive Keep-Alive: timeout=15 Date: Thu, 20 Oct 2005 10:44:39 GMT Server: Cherokee Content-Length: 189 Etag: 4356a78c=bd Last-Modified: Wed, 19 Oct 2005 20:07:40 GMT HTTP/1.1 200 OK Connection: Keep-Alive Keep-Alive: timeout=15 Date: Thu, 20 Oct 2005 10:44:39 GMT Server: Cherokee Content-Length: 189 Etag: 4356a78e=bd Last-Modified: Wed, 19 Oct 2005 20:07:42 GMT Get:1 http://mirror.tamu.edu unstable Release.gpg [189B] Get:2 http://mirror.tamu.edu experimental Release.gpg [189B] GET /debian/dists/unstable/Release HTTP/1.1 Host: mirror.tamu.edu Connection: keep-alive If-Modified-Since: Wed, 19 Oct 2005 20:07:40 GMT User-Agent: Debian APT-HTTP/1.3 HTTP/1.1 304 Not Modified Connection: Close Date: Thu, 20 Oct 2005 10:44:39 GMT Server: Cherokee Content-Type: text/html Content-length: 198 Cache-Control: no-cache Pragma: no-cache P3P: CP=3DNOI NID CURa OUR NOR UNI Hit http://mirror.tamu.edu unstable Release GET /debian/dists/experimental/Release HTTP/1.1 Host: mirror.tamu.edu Connection: keep-alive If-Modified-Since: Wed, 19 Oct 2005 20:07:42 GMT User-Agent: Debian APT-HTTP/1.3 GET /debian/dists/experimental/Release HTTP/1.1 Host: mirror.tamu.edu Connection: keep-alive If-Modified-Since: Wed, 19 Oct 2005 20:07:42 GMT User-Agent: Debian APT-HTTP/1.3 HTTP/1.1 304 Not Modified Connection: Close Date: Thu, 20 Oct 2005 10:44:39 GMT Server: Cherokee Content-Type: text/html Content-length: 198 Cache-Control: no-cache Pragma: no-cache P3P: CP=3DNOI NID CURa OUR NOR UNI Hit http://mirror.tamu.edu experimental Release GET /debian/dists/unstable/main/binary-i386/Packages.bz2 HTTP/1.1 Host: mirror.tamu.edu Connection: keep-alive If-Modified-Since: Wed, 19 Oct 2005 19:16:21 GMT User-Agent: Debian APT-HTTP/1.3 GET /debian/dists/unstable/main/binary-i386/Packages.bz2 HTTP/1.1 Host: mirror.tamu.edu Connection: keep-alive If-Modified-Since: Wed, 19 Oct 2005 19:16:21 GMT User-Agent: Debian APT-HTTP/1.3 HTTP/1.1 304 Not Modified Connection: Close Date: Thu, 20 Oct 2005 10:44:39 GMT Server: Cherokee Content-Type: text/html Content-length: 198 Cache-Control: no-cache Pragma: no-cache P3P: CP=3DNOI NID CURa OUR NOR UNI Hit http://mirror.tamu.edu unstable/main Packages GET /debian/dists/unstable/contrib/binary-i386/Packages.bz2 HTTP/1.1 Host: mirror.tamu.edu Connection: keep-alive If-Modified-Since: Wed, 19 Oct 2005 19:16:24 GMT User-Agent: Debian APT-HTTP/1.3 GET /debian/dists/unstable/non-free/binary-i386/Packages.bz2 HTTP/1.1 Host: mirror.tamu.edu Connection: keep-alive If-Modified-Since: Mon, 17 Oct 2005 19:23:06 GMT User-Agent: Debian APT-HTTP/1.3 GET /debian/dists/unstable/contrib/binary-i386/Packages.bz2 HTTP/1.1 Host: mirror.tamu.edu Connection: keep-alive If-Modified-Since: Wed, 19 Oct 2005 19:16:24 GMT User-Agent: Debian APT-HTTP/1.3 GET /debian/dists/unstable/non-free/binary-i386/Packages.bz2 HTTP/1.1 Host: mirror.tamu.edu Connection: keep-alive If-Modified-Since: Mon, 17 Oct 2005 19:23:06 GMT User-Agent: Debian APT-HTTP/1.3 HTTP/1.1 304 Not Modified Connection: Close Date: Thu, 20 Oct 2005 10:44:39 GMT Server: Cherokee Content-Type: text/html Content-length: 198 Cache-Control: no-cache Pragma: no-cache P3P: CP=3DNOI NID CURa OUR NOR UNI Hit http://mirror.tamu.edu unstable/contrib Packages GET /debian/dists/unstable/non-free/binary-i386/Packages.bz2 HTTP/1.1 Host: mirror.tamu.edu Connection: keep-alive If-Modified-Since: Mon, 17 Oct 2005 19:23:06 GMT User-Agent: Debian APT-HTTP/1.3 HTTP/1.1 304 Not Modified Connection: Close Date: Thu, 20 Oct 2005 10:44:39 GMT Server: Cherokee Content-Type: text/html Content-length: 198 Cache-Control: no-cache Pragma: no-cache P3P: CP=3DNOI NID CURa OUR NOR UNI Hit http://mirror.tamu.edu unstable/non-free Packages GET /debian/dists/experimental/main/binary-i386/Packages.bz2 HTTP/1.1 Host: mirror.tamu.edu Connection: keep-alive If-Modified-Since: Wed, 19 Oct 2005 19:16:33 GMT User-Agent: Debian APT-HTTP/1.3 GET /debian/dists/experimental/main/binary-i386/Packages.bz2 HTTP/1.1 Host: mirror.tamu.edu Connection: keep-alive If-Modified-Since: Wed, 19 Oct 2005 19:16:33 GMT User-Agent: Debian APT-HTTP/1.3 HTTP/1.1 404 Not Found Connection: Close Date: Thu, 20 Oct 2005 10:44:39 GMT Server: Cherokee Content-Type: text/html Content-length: 296 Cache-Control: no-cache Pragma: no-cache P3P: CP=3DNOI NID CURa OUR NOR UNI Ign http://mirror.tamu.edu experimental/main Packages GET /debian/dists/experimental/contrib/binary-i386/Packages.bz2 HTTP/1.1 Host: mirror.tamu.edu Connection: keep-alive If-Modified-Since: Mon, 17 Oct 2005 19:23:27 GMT User-Agent: Debian APT-HTTP/1.3 GET /debian/dists/experimental/non-free/binary-i386/Packages.bz2 HTTP/1.1 Host: mirror.tamu.edu Connection: keep-alive If-Modified-Since: Sun, 11 Sep 2005 19:14:31 GMT User-Agent: Debian APT-HTTP/1.3 GET /debian/dists/experimental/contrib/binary-i386/Packages.bz2 HTTP/1.1 Host: mirror.tamu.edu Connection: keep-alive If-Modified-Since: Mon, 17 Oct 2005 19:23:27 GMT User-Agent: Debian APT-HTTP/1.3 GET /debian/dists/experimental/non-free/binary-i386/Packages.bz2 HTTP/1.1 Host: mirror.tamu.edu Connection: keep-alive If-Modified-Since: Sun, 11 Sep 2005 19:14:31 GMT User-Agent: Debian APT-HTTP/1.3 HTTP/1.1 404 Not Found Connection: Close Date: Thu, 20 Oct 2005 10:44:39 GMT Server: Cherokee Content-Type: text/html Content-length: 299 Cache-Control: no-cache Pragma: no-cache P3P: CP=3DNOI NID CURa OUR NOR UNI Ign http://mirror.tamu.edu experimental/contrib Packages GET /debian/dists/experimental/non-free/binary-i386/Packages.bz2 HTTP/1.1 Host: mirror.tamu.edu Connection: keep-alive If-Modified-Since: Sun, 11 Sep 2005 19:14:31 GMT User-Agent: Debian APT-HTTP/1.3 GET /debian/dists/experimental/main/binary-i386/Packages.gz HTTP/1.1 Host: mirror.tamu.edu Connection: keep-alive If-Modified-Since: Wed, 19 Oct 2005 19:16:33 GMT User-Agent: Debian APT-HTTP/1.3 HTTP/1.1 404 Not Found Connection: Close Date: Thu, 20 Oct 2005 10:44:39 GMT Server: Cherokee Content-Type: text/html Content-length: 300 Cache-Control: no-cache Pragma: no-cache P3P: CP=3DNOI NID CURa OUR NOR UNI GET /debian/dists/experimental/main/binary-i386/Packages.gz HTTP/1.1 Host: mirror.tamu.edu Connection: keep-alive If-Modified-Since: Wed, 19 Oct 2005 19:16:33 GMT User-Agent: Debian APT-HTTP/1.3 Ign http://mirror.tamu.edu experimental/non-free Packages GET /debian/dists/experimental/contrib/binary-i386/Packages.gz HTTP/1.1 Host: mirror.tamu.edu Connection: keep-alive If-Modified-Since: Mon, 17 Oct 2005 19:23:27 GMT User-Agent: Debian APT-HTTP/1.3 HTTP/1.1 304 Not Modified Connection: Close Date: Thu, 20 Oct 2005 10:44:39 GMT Server: Cherokee Content-Type: text/html Content-length: 198 Cache-Control: no-cache Pragma: no-cache P3P: CP=3DNOI NID CURa OUR NOR UNI GET /debian/dists/experimental/contrib/binary-i386/Packages.gz HTTP/1.1 Host: mirror.tamu.edu Connection: keep-alive If-Modified-Since: Mon, 17 Oct 2005 19:23:27 GMT User-Agent: Debian APT-HTTP/1.3 GET /debian/dists/experimental/non-free/binary-i386/Packages.gz HTTP/1.1 Host: mirror.tamu.edu Connection: keep-alive If-Modified-Since: Sun, 11 Sep 2005 19:14:31 GMT User-Agent: Debian APT-HTTP/1.3 HTTP/1.1 304 Not Modified Connection: Close Date: Thu, 20 Oct 2005 10:44:39 GMT Server: Cherokee Content-Type: text/html Content-length: 198 Cache-Control: no-cache Pragma: no-cache P3P: CP=3DNOI NID CURa OUR NOR UNI Hit http://mirror.tamu.edu experimental/contrib Packages GET /debian/dists/experimental/non-free/binary-i386/Packages.gz HTTP/1.1 Host: mirror.tamu.edu Connection: keep-alive If-Modified-Since: Sun, 11 Sep 2005 19:14:31 GMT User-Agent: Debian APT-HTTP/1.3 HTTP/1.1 304 Not Modified Connection: Close Date: Thu, 20 Oct 2005 10:44:39 GMT Server: Cherokee Content-Type: text/html Content-length: 198 Cache-Control: no-cache Pragma: no-cache P3P: CP=3DNOI NID CURa OUR NOR UNI Hit http://mirror.tamu.edu experimental/non-free Packages Fetched 378B in 0s (8775B/s) Reading package lists...
GET /debian/dists/unstable/Release.gpg HTTP/1.1 Host: mirror.tamu.edu Connection: keep-alive Range: bytes=188- If-Range: Wed, 19 Oct 2005 20:07:40 GMT User-Agent: Debian APT-HTTP/1.3 GET /debian/dists/experimental/Release.gpg HTTP/1.1 Host: mirror.tamu.edu Connection: keep-alive Range: bytes=188- If-Range: Wed, 19 Oct 2005 20:07:42 GMT User-Agent: Debian APT-HTTP/1.3 HTTP/1.1 206 Partial Content Connection: Keep-Alive Keep-Alive: timeout=15 Date: Thu, 20 Oct 2005 10:44:45 GMT Server: Cherokee Content-Range: 188-188/189 Content-Length: 1 Etag: 4356a78c=bd Last-Modified: Wed, 19 Oct 2005 20:07:40 GMT HTTP/1.1 206 Partial Content Connection: Keep-Alive Keep-Alive: timeout=15 Date: Thu, 20 Oct 2005 10:44:45 GMT Server: Cherokee Content-Range: 188-188/189 Content-Length: 1 Etag: 4356a78e=bd Last-Modified: Wed, 19 Oct 2005 20:07:42 GMT Err http://mirror.tamu.edu unstable Release.gpg The HTTP server sent an invalid Content-Range header Err http://mirror.tamu.edu experimental Release.gpg The HTTP server sent an invalid Content-Range header GET /debian/dists/unstable/Release HTTP/1.1 Host: mirror.tamu.edu Connection: keep-alive If-Modified-Since: Wed, 19 Oct 2005 20:07:40 GMT User-Agent: Debian APT-HTTP/1.3 HTTP/1.1 304 Not Modified Connection: Close Date: Thu, 20 Oct 2005 10:44:45 GMT Server: Cherokee Content-Type: text/html Content-length: 198 Cache-Control: no-cache Pragma: no-cache P3P: CP=3DNOI NID CURa OUR NOR UNI Hit http://mirror.tamu.edu unstable Release GET /debian/dists/experimental/Release HTTP/1.1 Host: mirror.tamu.edu Connection: keep-alive If-Modified-Since: Wed, 19 Oct 2005 20:07:42 GMT User-Agent: Debian APT-HTTP/1.3 GET /debian/dists/experimental/Release HTTP/1.1 Host: mirror.tamu.edu Connection: keep-alive If-Modified-Since: Wed, 19 Oct 2005 20:07:42 GMT User-Agent: Debian APT-HTTP/1.3 HTTP/1.1 304 Not Modified Connection: Close Date: Thu, 20 Oct 2005 10:44:45 GMT Server: Cherokee Content-Type: text/html Content-length: 198 Cache-Control: no-cache Pragma: no-cache P3P: CP=3DNOI NID CURa OUR NOR UNI Hit http://mirror.tamu.edu experimental Release GET /debian/dists/unstable/main/binary-i386/Packages.bz2 HTTP/1.1 Host: mirror.tamu.edu Connection: keep-alive If-Modified-Since: Wed, 19 Oct 2005 19:16:21 GMT User-Agent: Debian APT-HTTP/1.3 GET /debian/dists/unstable/contrib/binary-i386/Packages.bz2 HTTP/1.1 Host: mirror.tamu.edu Connection: keep-alive If-Modified-Since: Wed, 19 Oct 2005 19:16:24 GMT User-Agent: Debian APT-HTTP/1.3 GET /debian/dists/unstable/non-free/binary-i386/Packages.bz2 HTTP/1.1 Host: mirror.tamu.edu Connection: keep-alive If-Modified-Since: Mon, 17 Oct 2005 19:23:06 GMT User-Agent: Debian APT-HTTP/1.3 GET /debian/dists/unstable/main/binary-i386/Packages.bz2 HTTP/1.1 Host: mirror.tamu.edu Connection: keep-alive If-Modified-Since: Wed, 19 Oct 2005 19:16:21 GMT User-Agent: Debian APT-HTTP/1.3 GET /debian/dists/unstable/contrib/binary-i386/Packages.bz2 HTTP/1.1 Host: mirror.tamu.edu Connection: keep-alive If-Modified-Since: Wed, 19 Oct 2005 19:16:24 GMT User-Agent: Debian APT-HTTP/1.3 GET /debian/dists/unstable/non-free/binary-i386/Packages.bz2 HTTP/1.1 Host: mirror.tamu.edu Connection: keep-alive If-Modified-Since: Mon, 17 Oct 2005 19:23:06 GMT User-Agent: Debian APT-HTTP/1.3 HTTP/1.1 304 Not Modified Connection: Close Date: Thu, 20 Oct 2005 10:44:45 GMT Server: Cherokee Content-Type: text/html Content-length: 198 Cache-Control: no-cache Pragma: no-cache P3P: CP=3DNOI NID CURa OUR NOR UNI Hit http://mirror.tamu.edu unstable/main Packages GET /debian/dists/unstable/contrib/binary-i386/Packages.bz2 HTTP/1.1 Host: mirror.tamu.edu Connection: keep-alive If-Modified-Since: Wed, 19 Oct 2005 19:16:24 GMT User-Agent: Debian APT-HTTP/1.3 GET /debian/dists/unstable/non-free/binary-i386/Packages.bz2 HTTP/1.1 Host: mirror.tamu.edu Connection: keep-alive If-Modified-Since: Mon, 17 Oct 2005 19:23:06 GMT User-Agent: Debian APT-HTTP/1.3 GET /debian/dists/experimental/main/binary-i386/Packages.bz2 HTTP/1.1 Host: mirror.tamu.edu Connection: keep-alive If-Modified-Since: Wed, 19 Oct 2005 19:16:33 GMT User-Agent: Debian APT-HTTP/1.3 GET /debian/dists/experimental/contrib/binary-i386/Packages.bz2 HTTP/1.1 Host: mirror.tamu.edu Connection: keep-alive If-Modified-Since: Mon, 17 Oct 2005 19:23:27 GMT User-Agent: Debian APT-HTTP/1.3 GET /debian/dists/experimental/non-free/binary-i386/Packages.bz2 HTTP/1.1 Host: mirror.tamu.edu Connection: keep-alive If-Modified-Since: Sun, 11 Sep 2005 19:14:31 GMT User-Agent: Debian APT-HTTP/1.3 HTTP/1.1 304 Not Modified Connection: Close Date: Thu, 20 Oct 2005 10:44:45 GMT Server: Cherokee Content-Type: text/html Content-length: 198 Cache-Control: no-cache Pragma: no-cache P3P: CP=3DNOI NID CURa OUR NOR UNI Hit http://mirror.tamu.edu unstable/contrib Packages GET /debian/dists/unstable/non-free/binary-i386/Packages.bz2 HTTP/1.1 Host: mirror.tamu.edu Connection: keep-alive If-Modified-Since: Mon, 17 Oct 2005 19:23:06 GMT User-Agent: Debian APT-HTTP/1.3 GET /debian/dists/experimental/main/binary-i386/Packages.bz2 HTTP/1.1 Host: mirror.tamu.edu Connection: keep-alive If-Modified-Since: Wed, 19 Oct 2005 19:16:33 GMT User-Agent: Debian APT-HTTP/1.3 GET /debian/dists/experimental/contrib/binary-i386/Packages.bz2 HTTP/1.1 Host: mirror.tamu.edu Connection: keep-alive If-Modified-Since: Mon, 17 Oct 2005 19:23:27 GMT User-Agent: Debian APT-HTTP/1.3 GET /debian/dists/experimental/non-free/binary-i386/Packages.bz2 HTTP/1.1 Host: mirror.tamu.edu Connection: keep-alive If-Modified-Since: Sun, 11 Sep 2005 19:14:31 GMT User-Agent: Debian APT-HTTP/1.3 HTTP/1.1 304 Not Modified Connection: Close Date: Thu, 20 Oct 2005 10:44:45 GMT Server: Cherokee Content-Type: text/html Content-length: 198 Cache-Control: no-cache Pragma: no-cache P3P: CP=3DNOI NID CURa OUR NOR UNI Hit http://mirror.tamu.edu unstable/non-free Packages GET /debian/dists/experimental/main/binary-i386/Packages.bz2 HTTP/1.1 Host: mirror.tamu.edu Connection: keep-alive If-Modified-Since: Wed, 19 Oct 2005 19:16:33 GMT User-Agent: Debian APT-HTTP/1.3 GET /debian/dists/experimental/contrib/binary-i386/Packages.bz2 HTTP/1.1 Host: mirror.tamu.edu Connection: keep-alive If-Modified-Since: Mon, 17 Oct 2005 19:23:27 GMT User-Agent: Debian APT-HTTP/1.3 GET /debian/dists/experimental/non-free/binary-i386/Packages.bz2 HTTP/1.1 Host: mirror.tamu.edu Connection: keep-alive If-Modified-Since: Sun, 11 Sep 2005 19:14:31 GMT User-Agent: Debian APT-HTTP/1.3 HTTP/1.1 404 Not Found Connection: Close Date: Thu, 20 Oct 2005 10:44:45 GMT Server: Cherokee Content-Type: text/html Content-length: 296 Cache-Control: no-cache Pragma: no-cache P3P: CP=3DNOI NID CURa OUR NOR UNI Ign http://mirror.tamu.edu experimental/main Packages GET /debian/dists/experimental/contrib/binary-i386/Packages.bz2 HTTP/1.1 Host: mirror.tamu.edu Connection: keep-alive If-Modified-Since: Mon, 17 Oct 2005 19:23:27 GMT User-Agent: Debian APT-HTTP/1.3 GET /debian/dists/experimental/non-free/binary-i386/Packages.bz2 HTTP/1.1 Host: mirror.tamu.edu Connection: keep-alive If-Modified-Since: Sun, 11 Sep 2005 19:14:31 GMT User-Agent: Debian APT-HTTP/1.3 HTTP/1.1 404 Not Found Connection: Close Date: Thu, 20 Oct 2005 10:44:45 GMT Server: Cherokee Content-Type: text/html Content-length: 299 Cache-Control: no-cache Pragma: no-cache P3P: CP=3DNOI NID CURa OUR NOR UNI Ign http://mirror.tamu.edu experimental/contrib Packages GET /debian/dists/experimental/non-free/binary-i386/Packages.bz2 HTTP/1.1 Host: mirror.tamu.edu Connection: keep-alive If-Modified-Since: Sun, 11 Sep 2005 19:14:31 GMT User-Agent: Debian APT-HTTP/1.3 GET /debian/dists/experimental/main/binary-i386/Packages.gz HTTP/1.1 Host: mirror.tamu.edu Connection: keep-alive If-Modified-Since: Wed, 19 Oct 2005 19:16:33 GMT User-Agent: Debian APT-HTTP/1.3 HTTP/1.1 404 Not Found Connection: Close Date: Thu, 20 Oct 2005 10:44:45 GMT Server: Cherokee Content-Type: text/html Content-length: 300 Cache-Control: no-cache Pragma: no-cache P3P: CP=3DNOI NID CURa OUR NOR UNI Ign http://mirror.tamu.edu experimental/non-free Packages GET /debian/dists/experimental/main/binary-i386/Packages.gz HTTP/1.1 Host: mirror.tamu.edu Connection: keep-alive If-Modified-Since: Wed, 19 Oct 2005 19:16:33 GMT User-Agent: Debian APT-HTTP/1.3 GET /debian/dists/experimental/contrib/binary-i386/Packages.gz HTTP/1.1 Host: mirror.tamu.edu Connection: keep-alive If-Modified-Since: Mon, 17 Oct 2005 19:23:27 GMT User-Agent: Debian APT-HTTP/1.3 HTTP/1.1 304 Not Modified Connection: Close Date: Thu, 20 Oct 2005 10:44:45 GMT Server: Cherokee Content-Type: text/html Content-length: 198 Cache-Control: no-cache Pragma: no-cache P3P: CP=3DNOI NID CURa OUR NOR UNI Hit http://mirror.tamu.edu experimental/main Packages GET /debian/dists/experimental/contrib/binary-i386/Packages.gz HTTP/1.1 Host: mirror.tamu.edu Connection: keep-alive If-Modified-Since: Mon, 17 Oct 2005 19:23:27 GMT User-Agent: Debian APT-HTTP/1.3 GET /debian/dists/experimental/non-free/binary-i386/Packages.gz HTTP/1.1 Host: mirror.tamu.edu Connection: keep-alive If-Modified-Since: Sun, 11 Sep 2005 19:14:31 GMT User-Agent: Debian APT-HTTP/1.3 HTTP/1.1 304 Not Modified Connection: Close Date: Thu, 20 Oct 2005 10:44:45 GMT Server: Cherokee Content-Type: text/html Content-length: 198 Cache-Control: no-cache Pragma: no-cache P3P: CP=3DNOI NID CURa OUR NOR UNI Hit http://mirror.tamu.edu experimental/contrib Packages GET /debian/dists/experimental/non-free/binary-i386/Packages.gz HTTP/1.1 Host: mirror.tamu.edu Connection: keep-alive If-Modified-Since: Sun, 11 Sep 2005 19:14:31 GMT User-Agent: Debian APT-HTTP/1.3 HTTP/1.1 304 Not Modified Connection: Close Date: Thu, 20 Oct 2005 10:44:45 GMT Server: Cherokee Content-Type: text/html Content-length: 198 Cache-Control: no-cache Pragma: no-cache P3P: CP=3DNOI NID CURa OUR NOR UNI Hit http://mirror.tamu.edu experimental/non-free Packages Failed to fetch http://mirror.tamu.edu/debian/dists/unstable/Release.gpg The HTTP server sent an invalid Content-Range header Failed to fetch http://mirror.tamu.edu/debian/dists/experimental/Release.gpg The HTTP server sent an invalid Content-Range header Reading package lists... E: Some index files failed to download, they have been ignored, or old ones used instead.
diff -urN cherokee-0.4.27/cherokee/handler_file.c cherokee-0.4.27.nipsy/cherokee/handler_file.c --- cherokee-0.4.27/cherokee/handler_file.c 2005-10-18 05:57:19.000000000 -0500 +++ cherokee-0.4.27.nipsy/cherokee/handler_file.c 2005-10-20 06:10:42.000000000 -0500 @@ -517,7 +517,7 @@ if (HANDLER_CONN(fhdl)->encoder == NULL) { if(HANDLER_CONN(fhdl)->error_code == http_partial_content) { cherokee_buffer_add_va (buffer, - "Content-Range: " FMT_OFFSET "-" + "Content-Range: bytes " FMT_OFFSET "-" FMT_OFFSET "/" FMT_OFFSET CRLF, HANDLER_CONN(fhdl)->range_start, HANDLER_CONN(fhdl)->range_end - 1,
_______________________________________________ Cherokee mailing list Cherokee@lists.alobbs.com http://www.alobbs.com/cgi-bin/mailman/listinfo/cherokee