lib/httpx/resolver/native.rb in httpx-1.2.2 vs lib/httpx/resolver/native.rb in httpx-1.2.3
- old
+ new
@@ -185,13 +185,13 @@
@large_packet << @read_buffer
next unless @large_packet.full?
parse(@large_packet.to_s)
-
@socket_type = @resolver_options.fetch(:socket_type, :udp)
@large_packet = nil
- transition(:closed)
+ transition(:idle)
+ transition(:open)
return
else
size = @read_buffer[0, 2].unpack1("n")
buffer = @read_buffer.byteslice(2..-1)