update fastwebsockets, revert custom asyncread impl

This commit is contained in:
Toshit Chawda 2024-07-10 21:59:17 -07:00
parent 1916a8e7c8
commit 5571a63f40
No known key found for this signature in database
GPG key ID: 91480ED99E2B3D9D
13 changed files with 646 additions and 703 deletions

View file

@ -196,9 +196,11 @@ onmessage = async (msg) => {
[],
{ "x-header": "abc" },
);
let i = 0;
while (true) {
log("sending `data`");
await ws.send("data");
log(`sending \`data${i}\``);
await ws.send("data"+i);
i++;
await (new Promise((res, _) => setTimeout(res, 10)));
}
} else if (should_tls_test) {