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

