1
0
Fork 0
mirror of https://github.com/puma/puma.git synced 2022-11-09 13:48:40 -05:00
* fix #1775

* Check socket file exist after restart

* Add entry in HISTORY.md

* link on PR
This commit is contained in:
Yuri S 2019-07-09 20:26:43 +05:00 committed by Richard Schneeman
parent 18140082d6
commit 3b48d320b7
3 changed files with 5 additions and 2 deletions

View file

@ -2,7 +2,8 @@
x features
* ? bugfixes
* 2 bugfixes
* Socket removed after reload (#1829)
* Add extconf tests for DTLS_method & TLS_server_method, use in minissl.rb. (#1832)
## 4.0.0 / 2019-06-25

View file

@ -53,7 +53,8 @@ module Puma
@unix_paths.each do |i|
# Errno::ENOENT is intermittently raised
begin
File.unlink i
unix_socket = UNIXSocket.new i
unix_socket.close
rescue Errno::ENOENT
end
end

View file

@ -197,6 +197,7 @@ class TestIntegration < Minitest::Test
ccli.run
assert_kind_of Thread, t.join, "server didn't stop"
assert File.exist? @bind_path
end
def test_kill_unknown_via_pumactl