mirror of
https://github.com/puma/puma.git
synced 2022-11-09 13:48:40 -05:00
Ignore sockets that are already closed
This commit is contained in:
parent
a3aefc1c51
commit
bfcd20054e
1 changed files with 4 additions and 1 deletions
|
@ -48,7 +48,10 @@ module Puma
|
|||
end
|
||||
|
||||
def close
|
||||
@io.close
|
||||
begin
|
||||
@io.close
|
||||
rescue IOError
|
||||
end
|
||||
end
|
||||
|
||||
# The object used for a request with no body. All requests with
|
||||
|
|
Loading…
Add table
Reference in a new issue