Added TODO, reminding to notify failure outside sync blocks.

This commit is contained in:
Simone Bordet 2014-01-14 21:32:07 +01:00
parent c06e65e798
commit 9f786402fd
1 changed files with 1 additions and 0 deletions

View File

@ -180,6 +180,7 @@ public class Flusher
// Has the stream been reset for this data frame ?
if (stream != null && stream.isReset() && frameBytes instanceof StandardSession.DataFrameBytes)
{
// TODO: notify from within sync block !
frameBytes.failed(new StreamException(frameBytes.getStream().getId(),
StreamStatus.INVALID_STREAM, "Stream: " + frameBytes.getStream() + " is reset!"));
continue;