fix: websocket's 64bit length calculation

This commit is contained in:
Tobias Pankrath 2021-09-25 12:33:51 +02:00
parent 65e9f3302c
commit ee1d4befb3
1 changed files with 1 additions and 1 deletions

View File

@ -4188,7 +4188,7 @@ public {
if(d.length < 8) return needsMoreData();
foreach(i; 0 .. 8) {
msg.realLength |= d[0] << ((7-i) * 8);
msg.realLength |= ulong(d[0]) << ((7-i) * 8);
d = d[1 .. $];
}
} else {