lib/envoy/server/trunk.rb in envoy-proxy-0.0.11 vs lib/envoy/server/trunk.rb in envoy-proxy-0.0.12
- old
+ new
@@ -28,10 +28,12 @@
send_object :start_tls
start_tls
end
def receive_stream id, data
- channels[id].web.send_data data
+ c = channels[id]
+ w = c && c.web
+ w && w.send_data(data)
end
def key
@options[:key]
end