lib/envoy/server/trunk.rb in envoy-proxy-0.0.14 vs lib/envoy/server/trunk.rb in envoy-proxy-0.0.15
- old
+ new
@@ -20,12 +20,12 @@
def channels
@channels ||= {}
end
- def receive_close id
+ def receive_close id, code = nil
if chan = channels[id]
- chan.web.close_connection(true)
+ chan.web.close(code)
channels.delete id
end
end
def receive_start_tls