Marcus

Results 36 comments of Marcus

Yeah, and you can extract an id from a custom hash (afaik) so it's not really an problem for users, but `Resolver` could in theory reduce a hash to just...

With SOCKET_DEBUG=1 it works correctly, and logs the payloads I expect to see, it only errors without the debug variable set.

That seems likely, is there a way for me to collect the debug data into a file?

https://ghostbin.com/paste/a6czk You can see it cut off reading here. It is crashing consistently it seems upon further inspection. I think I jumped the gun a little when it managed to...

I added a xpcall handler to inspect the internals here is an example of a frame which errors: ```json { "RSV2": false, "RSV3": false, "RSV1": false, "MASK": false, "length": 12964,...

Any idea what could cause this? When this happens my receive loop breaks down and I dont know if i can handle it without reconnecting.

I'll try get some more data (I've lost the old log). What seems to happen is that the websocket cannot read the frame in 0 timeout https://github.com/daurnimator/lua-http/blob/master/http/websocket.lua#L282 I've made this...

Why should these reads be 0 timeout exactly? In practice this isn't readable without waiting. ```lua if frame.MASK then local key = assert(sock:xread(4, "b", 0)) frame.key = { key:byte(1, 4)...

Hello, im so sorry i've not been more proactive with this. I'll try and get a reproducible example to work, and as far as im aware yes there's still something...

I think being sent a large enough message over websocket is enough to trigger this. EDIT: ``` Mon May 13 14:32:22 2019 INF uncompressed payload size 6675863 bytes ``` It...