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

Server miss first message #50

Closed roman-dowakin closed 8 years ago

roman-dowakin commented 8 years ago

Hey, James!

I catch error - When server get first web socket (after restart) and this message really fast one like:

socket.onopen = e => { socket.send("hi"); };

than server side miss it for some reason.

Sorry, I didn't spend time to investigate it. I didn't use ClojureScript for project, so I rewrite everything just with http-kit with plain on-receive.

Maybe you have a clue about it. If not, I'll spend some time this or next weekend.

jarohen commented 8 years ago

Hi Roman - thanks for the report. I've not seen anything like this I'm afraid - did you have any luck with it?

Failing that, could you post the example and I can take a look?

Cheers,

James

roman-dowakin commented 8 years ago

Hey, James!

Tried to reproduce it in simple app, but everything seems working. Don't have any clue why it happens. Maybe I did something wrong on serverside.

So I gonna close issue.

Thanks

jarohen commented 8 years ago

Hi Roman, thanks for letting me know!

James