快捷搜索:

您的位置:澳门新葡4473网站 > 项目 > Puma 4.1.0 发布,Ruby 的 Web 框架

Puma 4.1.0 发布,Ruby 的 Web 框架

发布时间:2020-04-15 13:11编辑:项目浏览(158)

    Puma 4.1.0 公布,Puma是为速度与出新而生的。Puma是八个为Ruby web程序提供快捷管理以至HTTP 1.1并发的服务器迷你库。它被设计只用来运行Rack程序

    Phusion Passenger 明日透露了 4.0 的第 6 个 RC 版本,那大概是 4.0 的最后三个 RC 版本。Phusion Passenger,原名 mod_rails ,是一个目的在于从Apache和Nginx网页服务器上更省心的部署Ruby on Rails项目的Apache模块。

    进程相比较:

    该版本首要校勘包蕴:

    图片 1

    • The default config snippet for Apache has changed! It must now contain a PassengerDefaultRuby option. The installer has been updated to output this option. The PassengerRuby option still exists, but it’s only used for configuring different Ruby interpreters in different contexts. Please refer to the manual for more information.
    • We now provide GPG digital signatures for all file releases by Phusion. More information can be found in the manual.
    • WebSocket support on Nginx. Requires Nginx >= 1.3.15.
    • passenger-status now displays process memory usage and time when it was last used. The latter fixes issue #853.
    • Exceptions in Rack application objects are now caught to prevent application processes from exiting.
    • The passenger-config tool now supports the --ruby-command argument, which helps the user with figuring out the correct Ruby command to use in case s/he wants to use multiple Ruby interpreters. The manual has also been updated to mention this tool.
    • Fixed streaming responses on Apache.
    • Worked around an OS X Unix domain socket bug. Fixes issue #854.
    • Out-of-Band Garbage Collection now works properly when the application has disabled garbage collection. Fixes issue #859.
    • Fixed support for /usr/bin/python on OS X. Fixes issue #855.
    • Fixed looping-without-sleeping in the ApplicationPool garbage collector if PassengerPoolIdleTime is set to 0. Fixes issue #858.
    • Fixed some process memory usage measurement bugs.
    • Fixed process memory usage measurement on NetBSD. Fixes issue #736.
    • Fixed a file descriptor leak in the Out-of-Band Work feature. Fixes issue #864.
    • The PassengerPreStart helper script now uses the default Ruby interpreter specified in the web server configuration, and no longer requires a ruby command to be in $PATH.
    • Updated preferred PCRE version to 8.32.
    • Worked around some RVM bugs and generally improved RVM support.
    • The ngx_http_stub_status_module is now enabled by default.
    • Performance optimizations.

    该版本详细改良记录包蕴:

    详尽介绍和装置表明请看批发表明。

    • 4 新特性

      • Add REQUEST_PATH on parse error message (#1831)
      • You can now easily add custom log formatters with the log_formatter config option (#1816)
      • Puma.stats now provides process start times (#1844)
      • Add support for disabling TLSv1.1 (#1836)
    • 7 个 bug 修复

      • Fix issue where Puma was creating zombie process entries (#1887)
      • Fix bugs with line-endings and chunked encoding (#1812)
      • RACK_URL_SCHEME is now set correctly in all conditions (#1491)
      • We no longer mutate global STDOUT/STDERR, particularly the sync setting (#1837)
      • SSL read_nonblock no longer blocks (#1857)
      • Swallow connection errors when sending early hints (#1822)
      • Backtrace no longer dumped when invalid pumactl commands are run (#1863)
    • 5 个别的修改

      • Avoid casting worker_timeout twice (#1838)
      • Removed a call to private that wasn't doing anything (#1882)
      • README, Rakefile, docs and test cleanups (#1848, #1847, #1846, #1853, #1859, #1850, #1866, #1870, #1872, #1833, #1888)
      • Puma.io has proper documentation now ()
      • Added the Contributor Covenant CoC
    • 1 已知难点

      • Some users are still experiencing issues surrounding socket activation and Unix sockets (#1842)

    (文/开源中夏族民共和国卡塔尔国    

    本文由澳门新葡4473网站发布于项目,转载请注明出处:Puma 4.1.0 发布,Ruby 的 Web 框架

    关键词: