tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mladen Turk" <mt...@apache.org>
Subject RE: jk2 evolution plan
Date Mon, 20 Oct 2003 11:02:29 GMT


> From: Henri Gomez 
> 
> 
> Mladen Turk wrote:
> 
> > 
> >>From: Bill Barker
> >>
> >>I could get on-board with this, after Mladen's suggestion to
> >>change the return-type of most methods to jk_status_t.  
> >>Without this, mod_jk2 is hopelessly broken (and I'll contunue 
> >>to ignore it :).
> >>
> > 
> > 
> > 
> > It's to apr_status_t ;-).
> > Sill, takes a bit more time then I thought It would.
> > Not just to return APR_SUCCESS, but to return the meaningful error 
> > codes that can be logged.
> > 
> > So day or two...
> 
> So it will be apr_status_t ?
> 

Yes, It is IMO the most straighforward.
If the APR API call fails the calee will return the same error code,
without the need to reinvent our own error codes.
The jk2 specific error codes will beging from
APR_OS_START_USERERR + 1.

MT.


---------------------------------------------------------------------
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