Issue #2592 - Rework of WriteFlusher

changes from review

Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
This commit is contained in:
Lachlan Roberts 2018-06-09 10:24:43 +10:00
parent f2893fdd0b
commit da58c20d90
1 changed files with 6 additions and 0 deletions

View File

@ -260,6 +260,12 @@ abstract public class WriteFlusher
{
callback = Objects.requireNonNull(callback);
if(isFailed())
{
fail(callback);
return;
}
if (DEBUG)
LOG.debug("write: {} {}", this, BufferUtil.toDetailString(buffers));