Fixed masking for continuations (#1406)
This commit is contained in:
@@ -401,7 +401,7 @@ protected:
|
|||||||
if (isServer) {
|
if (isServer) {
|
||||||
/* No need to unmask if mask is 0 */
|
/* No need to unmask if mask is 0 */
|
||||||
uint32_t nullmask = 0;
|
uint32_t nullmask = 0;
|
||||||
if (!memcmp(wState->mask, &nullmask, sizeof(uint32_t))) {
|
if (memcmp(wState->mask, &nullmask, sizeof(uint32_t))) {
|
||||||
if /*constexpr*/ (LIBUS_RECV_BUFFER_LENGTH == length) {
|
if /*constexpr*/ (LIBUS_RECV_BUFFER_LENGTH == length) {
|
||||||
unmaskAll(src, wState->mask);
|
unmaskAll(src, wState->mask);
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user