Fixed logging statement.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
This commit is contained in:
Simone Bordet 2019-11-14 10:13:04 +01:00
parent 7add2cbc30
commit 2ffed618aa
1 changed files with 1 additions and 1 deletions

View File

@ -418,7 +418,7 @@ public class HpackEncoder
if (_debug)
{
if (LOG.isDebugEnabled())
LOG.debug("encode {}:'{}' to '{}'", encoding, field, BufferUtil.toHexString(buffer));
LOG.debug("encode {}:'{}' to '{}'", encoding, field, BufferUtil.toHexString(buffer.duplicate().flip()));
}
}