lib/httpx/connection.rb in httpx-0.3.0 vs lib/httpx/connection.rb in httpx-0.3.1
- old
+ new
@@ -59,10 +59,10 @@
@timeout.transition(:open) if @channels.size == @connected_channels
end
channel.on(:reset) do
@timeout.transition(:idle)
end
- channel.once(:unreachable) do
+ channel.on(:unreachable) do
@resolver.uncache(channel)
resolve_channel(channel)
end
channel
end