example/server.rb in http-2-0.9.1 vs example/server.rb in http-2-0.10.0

- old
+ new

@@ -128,10 +128,10 @@ data = sock.readpartial(1024) # puts "Received bytes: #{data.unpack("H*").first}" begin conn << data - rescue => e + rescue StandardError => e puts "#{e.class} exception: #{e.message} - closing socket." e.backtrace.each { |l| puts "\t" + l } sock.close end end