Closed einaros closed 12 years ago
I noticed that websocket frames which are delivered across two or more packets will cause a badframe error - that's not ideal. You don't really have any guarantee that all Len bytes of the payload are readily available when unframe is executed.
Len
Thanks. This bug cropped up when I was benchmarking the wsdemo-ws.js server last night. It is fixed in the eleveldb-logging branch.
I noticed that websocket frames which are delivered across two or more packets will cause a badframe error - that's not ideal. You don't really have any guarantee that all
Len
bytes of the payload are readily available when unframe is executed.