Mercurial Hosting > luan
changeset 924:5c9cb5d00512
remove isContinuation()
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Sun, 09 Oct 2016 18:21:39 -0600 |
parents | 52d8b5c29d8e |
children | 720a98fb0253 |
files | src/org/eclipse/jetty/server/AbstractHttpConnection.java src/org/eclipse/jetty/server/AsyncContinuation.java |
diffstat | 2 files changed, 0 insertions(+), 13 deletions(-) [+] |
line wrap: on
line diff
diff -r 52d8b5c29d8e -r 5c9cb5d00512 src/org/eclipse/jetty/server/AbstractHttpConnection.java --- a/src/org/eclipse/jetty/server/AbstractHttpConnection.java Sun Oct 09 18:17:01 2016 -0600 +++ b/src/org/eclipse/jetty/server/AbstractHttpConnection.java Sun Oct 09 18:21:39 2016 -0600 @@ -416,7 +416,6 @@ // within the call to unhandle(). final Server server=_server; - boolean was_continuation=_request._async.isContinuation(); boolean handling=_request._async.handling() && server!=null && server.isRunning(); while (handling) { @@ -505,7 +504,6 @@ } finally { - was_continuation=_request._async.isContinuation(); handling = !_request._async.unhandle() && server.isRunning() && _server!=null; } }
diff -r 52d8b5c29d8e -r 5c9cb5d00512 src/org/eclipse/jetty/server/AsyncContinuation.java --- a/src/org/eclipse/jetty/server/AsyncContinuation.java Sun Oct 09 18:17:01 2016 -0600 +++ b/src/org/eclipse/jetty/server/AsyncContinuation.java Sun Oct 09 18:21:39 2016 -0600 @@ -86,7 +86,6 @@ private long _timeoutMs=DEFAULT_TIMEOUT; private AsyncEventState _event; private volatile long _expireAt; - private volatile boolean _continuation; /* ------------------------------------------------------------ */ protected AsyncContinuation() @@ -191,11 +190,6 @@ } } - public boolean isContinuation() - { - return _continuation; - } - /* ------------------------------------------------------------ */ /* (non-Javadoc) * @see javax.servlet.ServletRequest#isSuspended() @@ -271,8 +265,6 @@ { synchronized (this) { - _continuation=false; - switch(_state) { case __IDLE: @@ -550,7 +542,6 @@ } } - /* ------------------------------------------------------------ */ boolean isUncompleted() { synchronized (this) @@ -559,7 +550,6 @@ } } - /* ------------------------------------------------------------ */ public boolean isComplete() { synchronized (this) @@ -569,7 +559,6 @@ } - /* ------------------------------------------------------------ */ public boolean isAsync() { synchronized (this)