mturk 2005/04/19 12:55:42 Modified: jni/native/src error.c Log: Add APR_TIMEUP testing to ETIMEDOUT. Revision Changes Path 1.6 +4 -1 jakarta-tomcat-connectors/jni/native/src/error.c Index: error.c =================================================================== RCS file: /home/cvs/jakarta-tomcat-connectors/jni/native/src/error.c,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- error.c 19 Apr 2005 16:32:11 -0000 1.5 +++ error.c 19 Apr 2005 19:55:42 -0000 1.6 @@ -17,6 +17,9 @@ #include "apr_pools.h" #include "tcn.h" +/* Merge IS_ETIMEDOUT with APR_TIMEUP + */ +#define TCN_STATUS_IS_ETIMEDOUT(x) (APR_STATUS_IS_ETIMEDOUT((x)) || ((x) == APR_TIMEUP)) /* * Convenience function to help throw an Exception. */ @@ -180,7 +183,7 @@ APR_IS(75, APR_STATUS_IS_EBUSY); /* Socket errors */ APR_IS(90, APR_STATUS_IS_EAGAIN); - APR_IS(91, APR_STATUS_IS_ETIMEDOUT); + APR_IS(91, TCN_STATUS_IS_ETIMEDOUT); APR_IS(92, APR_STATUS_IS_ECONNABORTED); APR_IS(93, APR_STATUS_IS_ECONNRESET); APR_IS(94, APR_STATUS_IS_EINPROGRESS);
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]