You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since cramp is depedent of 'faye-websocket', '~> 0.7.1' I have problem with websockets connection. Looks like Thin breaking something
On latest version websockets response looks like this:
So simple app in cramp does not work in current version
class WsAction < Cramp::Websocket
on_start :on_start
on_finish :on_finish
on_data :on_data
def on_start
end
def on_finish
end
def on_data
end
end
The text was updated successfully, but these errors were encountered:
mateuszdw
changed the title
websockets and 'faye-websocket', '~> 0.7.1' not work
cramp websockets not work since 'faye-websocket', '~> 0.7.1'
May 31, 2014
mateuszdw
changed the title
cramp websockets not work since 'faye-websocket', '~> 0.7.1'
cramp websockets not work on Thin since faye-websocket ~> 0.7.1
May 31, 2014
I recently ran across this problem myself and isolated the problem to Cramp's send_initial_response method. It was erroneously sending additional responses after a WebSocket connection had been negotiated by Faye, thus displaying the errors you were seeing. I have an open PR that appears to fix the problem.
Since cramp is depedent of
'faye-websocket', '~> 0.7.1'
I have problem with websockets connection. Looks like Thin breaking somethingOn latest version websockets response looks like this:
Previous dependency
'faye-websocket', '~> 0.4.6'
givesTested with 1.9.3-p392 and Gemfile dependencies
So simple app in cramp does not work in current version
The text was updated successfully, but these errors were encountered: