em-websocket
em-websocket copied to clipboard
EventMachine based WebSocket server
Based on https://github.com/faye/permessage-deflate-ruby I did not implement full header param processing ('client_max_window_bits' is ignored). Basically, I added changes until it started to work for me in my environment with some...
Here's an example WebSocket connection: ``` [31] pry(main)> wss.getWsList[0] => #"0.0.0.0", :port=>443, :secure=>true, :tls_options=>{:private_key_file=>"privkey.pem", :cert_chain_file=>"cert.pem"}}, @secure=true, @secure_proxy=false, @signature=3, @tls_options={:private_key_file=>"privkey.pem", :cert_chain_file=>"cert.pem"}> ``` I want to get the IP address of the...
``` Error during WebSocket handshake: Sent non-empty 'Sec-WebSocket-Protocol' header but no response was received ``` How can I set the header to be binary?
it's ok when start rails with command: rails s -b0.0.0.0 -p8080. but start rails with command:rails s -b0.0.0.0 -p8080 -d can't connect to websocket server: config/initializers/websocket.rb EM.run { EM::WebSocket.run(:host =>...
Hello ! I'm trying to start an encrypted WebSocket server. I had called the method EM:WebSocket.run(:host => "0.0.0.0", :port => 8080, :secure => True, :tls_options => [.. My key and...
em-websocket wont connect over SSL When trying to connect on `secure => false` connection is working perfectly but when we try to include `tls_options` and set secure to true. server...
ERROR: Error installing em-websocket: invalid gem: package is corrupt, exception while verifying: undefined method 'size' for nil:NilClass
I am looking for a ballpark estimate of the number of websocket connections em-websocket could handle on, say, a standard heroku dyno? And, if you know, how does it compare...
One of two suggestions: - The new unack-close detection should never throw exception to server, in the argument that a em-websocket server implementation can't do anything useful with it. A...
Apparently, to support operating behind an haproxy you can't wait for the nonce string. see the gist: https://gist.github.com/729332 I'm not 100% sure about how this works but reading references in...