Merged branch 'jetty-9.2.x' into 'master'.
This commit is contained in:
commit
d13cdf2592
|
@ -94,7 +94,6 @@ public class HttpChannel implements Runnable, HttpOutput.Interceptor
|
|||
private final HttpChannelState _state;
|
||||
private final Request _request;
|
||||
private final Response _response;
|
||||
private MetaData.Response _committedInfo;
|
||||
private RequestLog _requestLog;
|
||||
|
||||
public HttpChannel(Connector connector, HttpConfiguration configuration, EndPoint endPoint, HttpTransport transport, HttpInput input)
|
||||
|
@ -210,7 +209,6 @@ public class HttpChannel implements Runnable, HttpOutput.Interceptor
|
|||
_committed.set(false);
|
||||
_request.recycle();
|
||||
_response.recycle();
|
||||
_committedInfo=null;
|
||||
_requestLog=null;
|
||||
}
|
||||
|
||||
|
@ -366,14 +364,6 @@ public class HttpChannel implements Runnable, HttpOutput.Interceptor
|
|||
}
|
||||
}
|
||||
|
||||
}
|
||||
finally
|
||||
{
|
||||
setCurrentHttpChannel(last);
|
||||
if (threadName != null && LOG.isDebugEnabled())
|
||||
Thread.currentThread().setName(threadName);
|
||||
}
|
||||
|
||||
if (action==Action.COMPLETE)
|
||||
{
|
||||
try
|
||||
|
@ -404,6 +394,13 @@ public class HttpChannel implements Runnable, HttpOutput.Interceptor
|
|||
_transport.completed();
|
||||
}
|
||||
}
|
||||
}
|
||||
finally
|
||||
{
|
||||
setCurrentHttpChannel(last);
|
||||
if (threadName != null && LOG.isDebugEnabled())
|
||||
Thread.currentThread().setName(threadName);
|
||||
}
|
||||
|
||||
if (LOG.isDebugEnabled())
|
||||
LOG.debug("{} handle exit, result {}", this, action);
|
||||
|
@ -563,7 +560,6 @@ public class HttpChannel implements Runnable, HttpOutput.Interceptor
|
|||
final Callback committed = (status<200&&status>=100)?new Commit100Callback(callback):new CommitCallback(callback);
|
||||
|
||||
// committing write
|
||||
_committedInfo=info;
|
||||
_transport.send(info, _request.isHead(), content, complete, committed);
|
||||
}
|
||||
else if (info==null)
|
||||
|
|
Loading…
Reference in New Issue