mirror of
https://github.com/jetty/jetty.project.git
synced 2025-03-03 12:29:31 +00:00
improve commit debug
This commit is contained in:
parent
5718726a8c
commit
3c0859d034
@ -677,6 +677,15 @@ public class HttpChannel implements Runnable, HttpOutput.Interceptor
|
||||
protected boolean sendResponse(MetaData.Response info, ByteBuffer content, boolean complete, final Callback callback)
|
||||
{
|
||||
boolean committing = _committed.compareAndSet(false, true);
|
||||
|
||||
if (LOG.isDebugEnabled())
|
||||
LOG.debug("sendResponse info={} content={} complete={} committing={} callback={}",
|
||||
info,
|
||||
BufferUtil.toDetailString(content),
|
||||
complete,
|
||||
committing,
|
||||
callback);
|
||||
|
||||
if (committing)
|
||||
{
|
||||
// We need an info to commit
|
||||
|
Loading…
x
Reference in New Issue
Block a user