Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

We don't want to send the bloody frame twice.

  • Loading branch information...
commit 1ae699ed4c73658fe91f12a7788705e0dfd79abd 1 parent 14dfc72
James C Russell botanicus authored

Showing 1 changed file with 7 additions and 0 deletions. Show diff stats Hide diff stats

  1. +7 0 lib/sockjs/session.rb
7 lib/sockjs/session.rb
@@ -336,6 +336,13 @@ def send(*messages)
336 336 self.buffer.push(*messages)
337 337 end
338 338
  339 + def run_user_app(response)
  340 + puts "~ Executing user's SockJS app"
  341 + frame = self.process_buffer(false)
  342 + # self.send_data(frame) if frame and not frame.match(/^c\[\d+,/)
  343 + puts "~ User's SockJS app finished"
  344 + end
  345 +
339 346 def send_data(frame)
340 347 super(frame)
341 348

0 comments on commit 1ae699e

Please sign in to comment.
Something went wrong with that request. Please try again.