lib/em-websocket/framing03.rb in em-websocket-0.5.0 vs lib/em-websocket/framing03.rb in em-websocket-0.5.1
- old
+ new
@@ -7,10 +7,10 @@
@data = ''
@application_data_buffer = '' # Used for MORE frames
@frame_type = nil
end
- def process_data(newdata)
+ def process_data
error = false
while !error && @data.size > 1
pointer = 0