jetty-9 - Just returning in case we want to fail an already failed write flusher.

This commit is contained in:
Simone Bordet 2012-09-14 00:29:00 +02:00
parent 6a851b5a52
commit 24cbb6385b
1 changed files with 2 additions and 1 deletions

View File

@ -371,7 +371,7 @@ abstract public class WriteFlusher
return;
}
}
// If updateState didn't succeed, we don't care as our buffers have been written
if (!updateState(__COMPLETING,__IDLE))
ignoreFail();
@ -397,6 +397,7 @@ abstract public class WriteFlusher
switch(current.getType())
{
case IDLE:
case FAILED:
return;
case PENDING: