Re: APR Sendfile Support with MAC OS X not yet implemented

2006-04-08 Thread Peter Rossbach
OK, but then all user need a new tcnative releas. I thing the correction at Library.java is the better option, but I am not sure! Peter Am 08.04.2006 um 14:25 schrieb Mladen Turk: Peter Rossbach wrote: Ups, now I find the root of my strange problem... I think that isn't correct or every one

Re: APR Sendfile Support with MAC OS X not yet implemented

2006-04-08 Thread Mladen Turk
Peter Rossbach wrote: Ups, now I find the root of my strange problem... I think that isn't correct or every one at the middle decrement the has() value! Can I change the Library.java ? Sorry... Fix the jnilib.c instead Library.java -- Mladen.

Re: APR Sendfile Support with MAC OS X not yet implemented

2006-04-08 Thread Mladen Turk
Peter Rossbach wrote: Ups, now I find the root of my strange problem... Start with zero, but jnilib.c starts with one?! I think that isn't correct or every one at the middle decrement the has() value! Can I change the Library.java ? If you have a commit right, sure :) It seems it's an typ

Re: APR Sendfile Support with MAC OS X not yet implemented

2006-04-08 Thread Peter Rossbach
Ups, now I find the root of my strange problem... Peter Rossbach wrote: Arrg, you are right! It seems that MAC OS X have no sendfile support. I have search, but I can't find sys/sendfile.h I don't understand why Library.APR_HAS_SENDFILE not set correctly :-( apr.h is correct generate witho

Re: APR Sendfile Support with MAC OS X not yet implemented

2006-04-08 Thread Mladen Turk
Peter Rossbach wrote: Arrg, you are right! It seems that MAC OS X have no sendfile support. I have search, but I can't find sys/sendfile.h I don't understand why Library.APR_HAS_SENDFILE not set correctly :-( apr.h is correct generate without sendfile support #define APR_HAS_SENDFILE 0 S

Re: APR Sendfile Support with MAC OS X not yet implemented

2006-04-08 Thread Peter Rossbach
Arrg, you are right! It seems that MAC OS X have no sendfile support. I have search, but I can't find sys/sendfile.h I don't understand why Library.APR_HAS_SENDFILE not set correctly :-( apr.h is correct generate without sendfile support #define APR_HAS_SENDFILE 0 Regards Peter Am 08.04

Re: APR Sendfile Support with MAC OS X not yet implemented

2006-04-08 Thread Mladen Turk
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 l

APR Sendfile Support with MAC OS X not yet implemented

2006-04-08 Thread Peter Rossbach
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?! Any hint, have APR 1.2.6 a MAC