You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to verify the ReadMaxPayloadSize config option but i can't quite make sense of it.
In readMessage() if I add print("contentLength = ", contentLength, " continuation? ", opcode == OpcodeContinuation, "\n") and then use this test script in Chrome:
I would expect contentLength to be 1024. However, it prints contentLength = 11 continuation? false. Is there some unit mismatch or is it reading the contentLength incorrectly?
The text was updated successfully, but these errors were encountered:
I'm trying to verify the
ReadMaxPayloadSize
config option but i can't quite make sense of it.In
readMessage()
if I addprint("contentLength = ", contentLength, " continuation? ", opcode == OpcodeContinuation, "\n")
and then use this test script in Chrome:I would expect
contentLength
to be 1024. However, it printscontentLength = 11 continuation? false
. Is there some unit mismatch or is it reading the contentLength incorrectly?The text was updated successfully, but these errors were encountered: