Fixed case of writing a zero-length buffer that is not the last content:

we should return FLUSH instead of DONE, waiting for the last content flag.
This commit is contained in:
Simone Bordet 2012-10-26 17:39:57 +02:00
parent b0306adf8d
commit 6ef412b776
1 changed files with 1 additions and 1 deletions

View File

@ -255,7 +255,7 @@ public class HttpGenerator
return len>0?Result.FLUSH:Result.CONTINUE;
}
return len>0?Result.FLUSH:Result.DONE;
return Result.FLUSH;
}
case COMPLETING: