tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Filip Hanik - Dev Lists <>
Subject Re: svn commit: r541337 - in /tomcat/trunk/java/org/apache/catalina/connector:
Date Fri, 25 May 2007 09:32:00 GMT
Remy Maucherat wrote:
> wrote:
>> Author: fhanik
>> Date: Thu May 24 08:47:29 2007
>> New Revision: 541337
>> URL:
>> Log:
>> Add in support to check if the current thread is a Tomcat 'worker' 
>> thread or not, that way we can decide if the invokations are 
>> appropriate or not
> I dislike this sort checks (mostly because of the ugly mechanics that 
> goes along, obviously). I don't really see the point either.
I know you do, however, it's not expensive, it's not a lot of code, and 
it will avoid a lot of bugs and questions on the user list.
Servlet programmers aren't really familiar with connection/poller 
mechanics, and we can't expect them to be either.
so what we need to do is that the API is so straight forward and throws 
the correct exceptions if they invoke methods that would interfere with 
the underlying connection asynchronously.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message