mirror of
https://github.com/puma/puma.git
synced 2022-11-09 13:48:40 -05:00
Add closed to MinSSL. Fixes #1510
This commit is contained in:
parent
dc9fa77f85
commit
1638b2af5a
1 changed files with 4 additions and 0 deletions
|
@ -16,6 +16,10 @@ module Puma
|
|||
@socket
|
||||
end
|
||||
|
||||
def closed?
|
||||
@socket.closed?
|
||||
end
|
||||
|
||||
def readpartial(size)
|
||||
while true
|
||||
output = @engine.read
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue