Handle invalid deflate frames:

This fixes a problem where an assert is generated or an
error is ignored when an invalid deflate stream is produced
after appending the final empty deflate block.
This commit is contained in:
Vinnie Falco
2017-12-04 12:05:36 -08:00
parent 1b86bc3c36
commit 4053c1bb09
7 changed files with 206 additions and 18 deletions
+1
View File
@@ -41,6 +41,7 @@ public:
check("boost.beast.websocket", error::failed);
check("boost.beast.websocket", error::handshake_failed);
check("boost.beast.websocket", error::buffer_overflow);
check("boost.beast.websocket", error::partial_deflate_block);
}
};