tubesock
tubesock copied to clipboard
undefined method `recvfrom'
tubesock-0.2.4/lib/tubesock.rb:97:in each_frame': undefined method
recvfrom' for #Puma::MiniSSL::Socket:0x000000091162b0 (NoMethodError)
env: puma v2.9.2
Looks like there's no recvfrom method when using ssl.
Looks like need to deal with puma case with tubesock.rb97: in each_frame:
if @socket.class == Puma::MiniSSL::Socket
data, addrinfo = @socket.readpartial(2000)
else
data, addrinfo = @socket.recvfrom(2000)
end