Hook up maxPayloadLength, not for Zlib

This commit is contained in:
Alex Hultman
2018-12-29 13:32:49 +01:00
parent f5583b4a8a
commit 50de2cea89
4 changed files with 13 additions and 8 deletions
+1 -1
View File
@@ -288,7 +288,7 @@ protected:
}
wState->state.lastFin = isFin(src);
if (Impl::refusePayloadLength(payLength, wState)) {
if (Impl::refusePayloadLength(payLength, wState, user)) {
Impl::forceClose(wState, user);
return true;
}