JETTY-1214 dont invalidate when already invalid
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1568 7e9141cc-0065-0410-87d8-b60c137991c4
This commit is contained in:
parent
d95081150b
commit
1d10da1d95
|
@ -17,6 +17,7 @@ jetty-7.1.0-SNAPSHOT
|
||||||
+ JETTY-1200 SSL NIO Endpoint wraps non NIO buffers
|
+ JETTY-1200 SSL NIO Endpoint wraps non NIO buffers
|
||||||
+ JETTY-1202 Use platform default algorithm for SecureRandom
|
+ JETTY-1202 Use platform default algorithm for SecureRandom
|
||||||
+ JETTY-1212 handle long content lengths
|
+ JETTY-1212 handle long content lengths
|
||||||
|
+ JETTY-1214 avoid ISE when scavenging invalid session
|
||||||
+ Fix jetty-plus.xml reference to addLifeCycle
|
+ Fix jetty-plus.xml reference to addLifeCycle
|
||||||
+ Add AnnotationConfiguration to jetty-plus.xml
|
+ Add AnnotationConfiguration to jetty-plus.xml
|
||||||
+ 310467 Allow SocketConnector to create generic Connection objects
|
+ 310467 Allow SocketConnector to create generic Connection objects
|
||||||
|
|
|
@ -1009,6 +1009,8 @@ public abstract class AbstractSessionManager extends AbstractLifeCycle implement
|
||||||
|
|
||||||
// Notify listeners and unbind values
|
// Notify listeners and unbind values
|
||||||
synchronized (this)
|
synchronized (this)
|
||||||
|
{
|
||||||
|
if (!_invalid)
|
||||||
{
|
{
|
||||||
if (_requests<=0)
|
if (_requests<=0)
|
||||||
doInvalidate();
|
doInvalidate();
|
||||||
|
@ -1016,6 +1018,7 @@ public abstract class AbstractSessionManager extends AbstractLifeCycle implement
|
||||||
_doInvalidate=true;
|
_doInvalidate=true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/* ------------------------------------------------------------- */
|
/* ------------------------------------------------------------- */
|
||||||
public void invalidate() throws IllegalStateException
|
public void invalidate() throws IllegalStateException
|
||||||
|
|
Loading…
Reference in New Issue