Package: boa
Severity: important
Hi,
When serving big files, boa uses sendfile(), but this function is not
available in every kernel. on 2.4.27-2-sparc64 for instance, I get
140.77.128.4 - - [30/Sep/2005:07:59:48 +0000] request "GET /adresses.txt
HTTP/1.0" ("/var/www/adresses.txt"): sendfile write: Function not implemented
in the log, and the file is not served.
Boa should check for sendfile() returning ENOSYS, and then fall back to
a read/write loop.
Regards,
Samuel
-- System Information:
Debian Release: testing/unstable
APT prefers testing
APT policy: (900, 'testing'), (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.13
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)
--
Samuel Thibault <[EMAIL PROTECTED]>
<Y> C'ETAIT PAS UN BUG !
<y> :ppp
<y> c ce qu'on dit ;)
<Y> (j'ai appuye sur ON, ca peut arriver, non ?)
-+- #hp debuggue IRCprime -+-
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]