Peter Rossbach wrote:
Hi,

I have test the sendfile apr connector feature with MAC OS X 10.4.5, Java 1.5, APR 1.2.2, Tomcat svn head, Every time as sendfile is use the AprEndpoint.add(SendfileData data) Socket.sendfilen() L1417 returned code 70023 APR_ENOTIMPL
Not yet implemented?!


Looks like APR_HAS_SENDFILE is missing.
Try to compile the APR with --with-sendfile=yes

OTOH it might be that MAC simply does not support
sendfile on the OS level (hard to believe, but ...)

Any hint, have APR 1.2.6 a MAC OS X sendfile support?


Look at the generated apr.h
It should have
#define APR_HAS_SENDFILE 1

Tcnative is using this flag, and if not present
it returns 'not implemented (inside APR)'  error.

Regards
Mladen.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to