Jonmichael Chambers
Jonmichael Chambers
Did you ever set up a login queue process? Also, when might you be on IRC? I had a few questions regarding the handling of returned data - specifically your...
Yep. When testing with a Puma server, Puma would end up dying from an uncaught IOError when I closed it. Rescuing it saved it from crashing, but yeah.
Might have been my code. I adjusted it and no longer get the IOError. However, again if I open it in a browser it still hangs as if it's loading,...
I'm pretty new with websockets, but I removed the close call from the JavaScript side, and I still see the PING/PONG frames coming through when I watch the request in...
Narrowed things down. I had originally been calling tubesock.close from a thread. Clearly a mistake. It would output the "Closed" message from the onclose handler, but it seems like the...
Seems like the current released version (0.2.2) doesn't have the rescues that the current github version has - including IOError.
Problem solved when using the latest from github. New issue: /Users/Jon/.rvm/gems/ruby-2.1.0/bundler/gems/tubesock-1952e99cbae4/lib/tubesock.rb:96:in `select': Bad file descriptor (Errno::EBADF) Here is the code in question: https://gist.github.com/tyrbo/83af7a6bc9d79c3c4884 Nothing too complicated, and the "onclose" handler...