jarohen / chord

A library designed to bridge the gap between the triad of CLJ/CLJS, web-sockets and core.async.
439 stars 40 forks source link

Serializing large message fails with {:format :edn} #56

Closed aaronblenkush closed 5 years ago

aaronblenkush commented 6 years ago

Dispatching a large payload (~800KB) from websocket server using {:format :edn} results in {:error :invalid-format} on the ws-channel on the client side. I don't have this issue with a smaller payload.

I was able to work around this by changing to {:format :transit-json} on client and server.

jarohen commented 6 years ago

Hi Aaron, thanks for submitting the issue!

I'm afraid I haven't been repro that here as yet, do you have a small example case that you could post?

Cheers,

James