tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Remy Maucherat <r...@apache.org>
Subject Re: svn commit: r471309 - in /tomcat/container/tc5.5.x: catalina/src/share/org/apache/catalina/session/StandardSession.java webapps/docs/changelog.xml
Date Wed, 08 Nov 2006 21:16:41 GMT
Sandy McArthur wrote:
> Attached is what I think may be an even more improved fix for 37356.
> It does away with the accessCount which should make Remy happy.
> It should prevent sessions currently in use from expiring which should
> make those other 2 people and myself happy.
> It doesn't add any synchronization but I believe it to be thread-safe
> which should make speed people happy.

That's ok: I think long requests are an aberration (they tie up a 
thread, so it really won't scale), so I'm ok with having a switch for 
that, with syncs (5.5) or atomic ints (6.0).

We can look into other strategies to do the same thing, of course. Your 
trick is quite smart.

Rémy

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message