Return-Path: Delivered-To: apmail-apr-dev-archive@www.apache.org Received: (qmail 8615 invoked from network); 21 Apr 2008 20:41:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 Apr 2008 20:41:13 -0000 Received: (qmail 8085 invoked by uid 500); 21 Apr 2008 20:41:13 -0000 Delivered-To: apmail-apr-dev-archive@apr.apache.org Received: (qmail 8046 invoked by uid 500); 21 Apr 2008 20:41:13 -0000 Mailing-List: contact dev-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Id: Delivered-To: mailing list dev@apr.apache.org Received: (qmail 8035 invoked by uid 99); 21 Apr 2008 20:41:12 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Apr 2008 13:41:12 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [208.97.187.133] (HELO webmail1.sd.dreamhost.com) (208.97.187.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Apr 2008 20:40:29 +0000 Received: from webmail.mipsisrisc.com (localhost [127.0.0.1]) by webmail1.sd.dreamhost.com (Postfix) with ESMTP id 98F482C210 for ; Mon, 21 Apr 2008 13:40:40 -0700 (PDT) Received: from 64.172.17.3 (SquirrelMail authenticated user angryparsley@mipsisrisc.com) by webmail.mipsisrisc.com with HTTP; Mon, 21 Apr 2008 13:40:40 -0700 (PDT) Message-ID: <37890.64.172.17.3.1208810440.squirrel@webmail.mipsisrisc.com> Date: Mon, 21 Apr 2008 13:40:40 -0700 (PDT) Subject: Sendfile enabled on OS X in APR versions > 1.2 From: angryparsley@mipsisrisc.com To: dev@apr.apache.org User-Agent: SquirrelMail/1.4.10a MIME-Version: 1.0 Content-Type: multipart/mixed;boundary="----=_20080421134040_81160" X-Virus-Checked: Checked by ClamAV on apache.org ------=_20080421134040_81160 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit I recently checked out a copies of trunk apr, apr-util, and httpd to play around with. After building everything I noticed images were cut off in my browser. Setting EnableSendFile off fixed the problem, but APR 1.2 was smart enough to disable sendfile on OS X. Configure.in in APR 1.2 has the following lines: *darwin*) # darwin semantics in 9.0.0 appear to be fubar sendfile="0" ;; ...which are missing in trunk's configure.in. Even though it's only a one line change, a patch is attached. Paul Querna says this should also be backported to the 1.3 branch. Geoff Greer ------=_20080421134040_81160 Content-Type: /; name="configure.in.patch" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="configure.in.patch" LS0tIGNvbmZpZ3VyZS5pbgkyMDA4LTA0LTIxIDExOjU3OjQ0LjAwMDAwMDAwMCAtMDcwMAorKysg Y29uZmlndXJlLmluLm5ldwkyMDA4LTA0LTIxIDExOjU3OjMyLjAwMDAwMDAwMCAtMDcwMApAQCAt MTM2OCw2ICsxMzY4LDcgQEAKICAgICAgICAgICAgICAgOzsKICAgICAgICAgZXNhYwogICAgICAg ICBzaXplX3RfZm10PSJsdSIKKyAgICAgICAgc2VuZGZpbGU9IjAiCiAgICAgICAgIDs7CiBlc2Fj CiAK ------=_20080421134040_81160--