Skip to content

Commit

Permalink
Add closed to MinSSL. Fixes #1510
Browse files Browse the repository at this point in the history
  • Loading branch information
evanphx committed Mar 6, 2018
1 parent dc9fa77 commit 1638b2a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/puma/minissl.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ def to_io
@socket
end

def closed?
@socket.closed?
end

def readpartial(size)
while true
output = @engine.read
Expand Down

0 comments on commit 1638b2a

Please sign in to comment.