422703 Support reentrant HttpChannel and HttpConnection

use last in HttpChannel
This commit is contained in:
Greg Wilkins 2013-11-29 12:00:04 +11:00
parent 28f56f994e
commit 3238ddf3c8
1 changed files with 1 additions and 1 deletions

View File

@ -381,7 +381,7 @@ public class HttpChannel<T> implements HttpParser.RequestHandler<T>, Runnable
} }
finally finally
{ {
setCurrentHttpChannel(null); setCurrentHttpChannel(last);
if (threadName != null && LOG.isDebugEnabled()) if (threadName != null && LOG.isDebugEnabled())
Thread.currentThread().setName(threadName); Thread.currentThread().setName(threadName);
} }