Puma 3.9.0("Private Caller") 发布了,该版本包含了 2 个新特性和 9 个 bug 修复。详细如下: 新特性 当 Puma 通过 USR1/USR2 (#1260)重新启动(仅限 MRI,不支持 JRuby)时,ENV 现在将重置为其原始值 Puma 将不再接受比最大线程数更多的客户端 (#1278) Bug 修复 Reduce information leakage by preventing HTTP parse errors from writing environment hashes to STDERR (#1306) Fix SSL/WebSocket compatibility (#1274) HTTP headers with empty values are no longer omitted from responses. (#1261) Fix a Rack env key which was set to nil. (#1259) peercert has been implemented for JRuby (#1248) Fix port settings when using rails s (#1277, #1290) Fix compat w/LibreSSL (#1285) Fix restarting Puma w/symlinks and a new Gemfile (#1282) Replace Dir.exists? with Dir.exist? (#1294) 已知的问题 MRI 2.2+ 中的错误可能导致 IOError:流关闭。详见 #1206。这个问题至少从 Puma 3.6 开始就存在,可能还会回来 下载地址 Source code (zip) Source code (tar.gz) Puma 3.9.0 发布,Ruby 的 Web 服务器下载地址