spec/support/servers/echo_tls.rb in arachni-reactor-0.1.0.beta5 vs spec/support/servers/echo_tls.rb in arachni-reactor-0.1.0

- old
+ new

@@ -10,11 +10,11 @@ end Thread.new do begin loop do - next if (line = socket.gets).to_s.empty? - socket.write( line ) + next if (data = socket.gets).to_s.empty? + socket.write( data ) end rescue EOFError, Errno::EPIPE socket.close end end