tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mladen Turk <mt...@apache.org>
Subject Re: cvs commit: jakarta-tomcat-connectors/http11/src/java/org/apache/coyote/http11 Http11AprProcessor.java
Date Sat, 14 May 2005 10:40:46 GMT
Remy Maucherat wrote:
> Bill Barker wrote:
>>   if(useSendfile && !Apr.hasFeature(Apr.SENDFILE)) {
>>         log.warn("disabling sendfile, since your apr version doesn't 
>> support it");
>>         useSendfile = false;
>>   }
> 
> I didn't know that. Yes, the check is needed then.
>

Yes seems it's needed.
You already have the :
Library.APR_HAS_SENDFILE boolean, that is meant to be used
for that (checking if the OS supports sendfile).


Regards,
Mladen.

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message