[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-janitors] #727: sendfile broken for files > 1MB
From: |
Chicken Trac |
Subject: |
[Chicken-janitors] #727: sendfile broken for files > 1MB |
Date: |
Thu, 17 Nov 2011 12:02:23 -0000 |
#727: sendfile broken for files > 1MB
------------------------+---------------------------------------------------
Reporter: mario | Owner: certainty
Type: defect | Status: new
Priority: critical | Milestone: 4.8.0
Component: extensions | Version: 4.7.x
Keywords: sendfile |
------------------------+---------------------------------------------------
[http://paste.call-
cc.org/paste?id=1edbe668ac529ce5f062b7216250d017a962a8cb Here's] the error
when using spiffy to serve a file generated with
{{{
dd if=/dev/zero of=foo.data bs=1024 count=1025
}}}
If the data file is generated with
{{{
dd if=/dev/zero of=foo.data bs=1024 count=1024
}}}
no error occurs.
Moritz has provided a patch: http://moritz.twoticketsplease.de/files
/excellent-sendfile-fix.patch which fixes that.
--
Ticket URL: <http://bugs.call-cc.org/ticket/727>
Chicken Scheme <http://www.call-with-current-continuation.org/>
Chicken Scheme is a compiler for the Scheme programming language.
- [Chicken-janitors] #727: sendfile broken for files > 1MB,
Chicken Trac <=