tubesock icon indicating copy to clipboard operation
tubesock copied to clipboard

undefined method `recvfrom'

Open leckylao opened this issue 10 years ago • 1 comments

tubesock-0.2.4/lib/tubesock.rb:97:in each_frame': undefined methodrecvfrom' for #Puma::MiniSSL::Socket:0x000000091162b0 (NoMethodError)

env: puma v2.9.2

Looks like there's no recvfrom method when using ssl.

leckylao avatar Nov 11 '14 03:11 leckylao

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

leckylao avatar Nov 11 '14 04:11 leckylao