Return-Path: X-Original-To: apmail-tomcat-dev-archive@www.apache.org Delivered-To: apmail-tomcat-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 32357105DE for ; Sat, 12 Oct 2013 22:27:42 +0000 (UTC) Received: (qmail 91658 invoked by uid 500); 12 Oct 2013 22:27:41 -0000 Delivered-To: apmail-tomcat-dev-archive@tomcat.apache.org Received: (qmail 91588 invoked by uid 500); 12 Oct 2013 22:27:41 -0000 Mailing-List: contact dev-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Developers List" Delivered-To: mailing list dev@tomcat.apache.org Received: (qmail 91579 invoked by uid 99); 12 Oct 2013 22:27:41 -0000 Received: from minotaur.apache.org (HELO minotaur.apache.org) (140.211.11.9) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 12 Oct 2013 22:27:41 +0000 Received: from localhost (HELO NamePC) (127.0.0.1) (smtp-auth username kpreisser, mechanism login) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Sat, 12 Oct 2013 22:27:41 +0000 From: =?UTF-8?Q?Konstantin_Prei=C3=9Fer?= To: "'Tomcat Developers List'" References: <525889A6.7080505@gmail.com> <000001cec6ed$adc12c30$09438490$@apache.org> <5259C90C.90500@gmail.com> In-Reply-To: <5259C90C.90500@gmail.com> Subject: RE: [Tomcat 8.0.x trunk] APR sendfile problem Date: Sun, 13 Oct 2013 00:27:11 +0200 Message-ID: <000101cec79a$338135c0$9a83a140$@apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 15.0 Thread-Index: AQJN5jWwvyv6gtQffkrUJKweO0LD8QH7q72jARnoejiY2rpZgA== Content-Language: de > -----Original Message----- > From: Ognjen Blagojevic [mailto:ognjen.d.blagojevic@gmail.com] > Sent: Sunday, October 13, 2013 12:11 AM > To: Tomcat Developers List > Subject: Re: [Tomcat 8.0.x trunk] APR sendfile problem >=20 > Konstantin, >=20 > On 12.10.2013 3:52, Konstantin Prei=C3=9Fer wrote: > > I also tried this now with trunk (r1531312) and Native 1.1.29 RC on = Windows > 8 64-bit with Java 1.7.0_40, and can confirm the behavior: > > With the above configuration for a SSL HTTP APR connector, I cannot > receive the contents of "/docs/manager-howto.html", whereas it works = if I > either add useSendfile=3D"true" or useSendfile=3D"false". >=20 > Thank you for verifying. >=20 > I now re-read the docs, and realized that sendfile is not allowed with > HTTPS, so one should always add useSendfile=3D"false" to HTTPS APR > connector. >=20 > It is strange that useSendfile=3D"true", and not adding attribute > useSendfile at all behaves differently, but this is, IMO, minor issue = in > interpreting server.xml. BTW, if I revert the changes in r1530269 (in AprEndpoint) then that = specific issue does no longer appear when "useSendfile" attribute is not = specified on the SSL connector - then Firefox shows the correct contents = if I request "/docs/manager-howto.html". Regards, Konstantin Prei=C3=9Fer --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org For additional commands, e-mail: dev-help@tomcat.apache.org