passenger 5.0.23 → 5.0.24
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of passenger might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/CHANGELOG +16 -1
- data/bin/passenger-install-apache2-module +1 -1
- data/build/basics.rb +1 -1
- data/build/cplusplus_support.rb +1 -1
- data/build/integration_tests.rb +1 -1
- data/build/packaging.rb +1 -1
- data/resources/templates/standalone/http.erb +1 -0
- data/src/agent/Core/ApiServer.h +91 -38
- data/src/agent/Core/ApplicationPool/Pool.h +2 -1
- data/src/agent/Core/ApplicationPool/Pool/GroupUtils.cpp +2 -1
- data/src/agent/Core/ApplicationPool/Pool/Miscellaneous.cpp +28 -1
- data/src/agent/Core/ApplicationPool/Process.h +3 -0
- data/src/agent/Core/Controller/CheckoutSession.cpp +2 -2
- data/src/agent/Core/Controller/ForwardResponse.cpp +1 -1
- data/src/agent/Core/Controller/Request.h +2 -2
- data/src/agent/Core/CoreMain.cpp +3 -2
- data/src/agent/Core/OptionParser.h +5 -0
- data/src/agent/Core/UnionStation/StopwatchLog.h +34 -60
- data/src/agent/UstRouter/ApiServer.h +27 -14
- data/src/apache2_module/Configuration.cpp +6 -0
- data/src/apache2_module/Configuration.hpp +4 -0
- data/src/apache2_module/Hooks.cpp +1 -0
- data/src/cxx_supportlib/Constants.h +3 -1
- data/src/cxx_supportlib/ServerKit/FdSinkChannel.h +1 -1
- data/src/cxx_supportlib/Utils.cpp +1 -1
- data/src/nginx_module/CacheLocationConfig.c +26 -0
- data/src/nginx_module/Configuration.c +5 -0
- data/src/nginx_module/Configuration.h +1 -0
- data/src/nginx_module/ConfigurationCommands.c +10 -0
- data/src/nginx_module/ConfigurationFields.h +2 -0
- data/src/nginx_module/CreateLocationConfig.c +4 -0
- data/src/nginx_module/MergeLocationConfig.c +6 -0
- data/src/nginx_module/ngx_http_passenger_module.c +1 -0
- data/src/ruby_supportlib/phusion_passenger.rb +3 -3
- data/src/ruby_supportlib/phusion_passenger/admin_tools/memory_stats.rb +11 -11
- data/src/ruby_supportlib/phusion_passenger/apache2/config_options.rb +3 -3
- data/src/ruby_supportlib/phusion_passenger/constants.rb +1 -0
- data/src/ruby_supportlib/phusion_passenger/native_support.rb +30 -10
- data/src/ruby_supportlib/phusion_passenger/nginx/config_options.rb +6 -0
- data/src/ruby_supportlib/phusion_passenger/platform_info/apache.rb +7 -7
- data/src/ruby_supportlib/phusion_passenger/platform_info/binary_compatibility.rb +3 -3
- data/src/ruby_supportlib/phusion_passenger/platform_info/compiler.rb +8 -8
- data/src/ruby_supportlib/phusion_passenger/platform_info/cxx_portability.rb +7 -7
- data/src/ruby_supportlib/phusion_passenger/platform_info/depcheck.rb +4 -4
- data/src/ruby_supportlib/phusion_passenger/platform_info/linux.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/platform_info/openssl.rb +2 -2
- data/src/ruby_supportlib/phusion_passenger/platform_info/operating_system.rb +22 -9
- data/src/ruby_supportlib/phusion_passenger/platform_info/ruby.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/ruby_core_enhancements.rb +2 -2
- data/src/ruby_supportlib/phusion_passenger/standalone/config_options_list.rb +14 -1
- data/src/ruby_supportlib/phusion_passenger/standalone/start_command.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/standalone/start_command/builtin_engine.rb +1 -0
- data/src/ruby_supportlib/phusion_passenger/utils/hosts_file_parser.rb +1 -1
- metadata +3 -2
@@ -108,6 +108,14 @@ module PhusionPassenger
|
|
108
108
|
:desc => "Bind to Unix domain socket instead of TCP\n" \
|
109
109
|
'socket'
|
110
110
|
},
|
111
|
+
{
|
112
|
+
:name => :socket_backlog,
|
113
|
+
:type => :integer,
|
114
|
+
:cli => '--socket-backlog',
|
115
|
+
:default => DEFAULT_SOCKET_BACKLOG,
|
116
|
+
:desc => "Override size of the socket backlog.\n" \
|
117
|
+
"Default: %DEFAULT%"
|
118
|
+
},
|
111
119
|
{
|
112
120
|
:name => :ssl,
|
113
121
|
:type => :boolean,
|
@@ -261,6 +269,11 @@ module PhusionPassenger
|
|
261
269
|
{
|
262
270
|
:name => :load_shell_envvars,
|
263
271
|
:type => :boolean,
|
272
|
+
# The Standalone mode is primarily used for serving a single app (except
|
273
|
+
# when in mass deployment mode), so load_shell_envvars id disabled by
|
274
|
+
# default. However, it's enabled by default in the Core, so we need to
|
275
|
+
# explicitly set it to disabled here.
|
276
|
+
:default => false,
|
264
277
|
:desc => "Load shell startup files before loading\n" \
|
265
278
|
'application'
|
266
279
|
},
|
@@ -636,7 +649,7 @@ module PhusionPassenger
|
|
636
649
|
if !spec_item.key?(:cli)
|
637
650
|
spec_item[:cli] = make_default_cli_value.call(spec_item)
|
638
651
|
end
|
639
|
-
if spec_item
|
652
|
+
if spec_item.key?(:default)
|
640
653
|
CONFIG_DEFAULTS[spec_item[:name]] = spec_item[:default]
|
641
654
|
end
|
642
655
|
CONFIG_NAME_INDEX[spec_item[:name]] = spec_item
|
@@ -130,6 +130,7 @@ module PhusionPassenger
|
|
130
130
|
# so we know @apps always has 1 app.
|
131
131
|
command << " --listen #{listen_address(@apps[0])}"
|
132
132
|
command << " --no-graceful-exit"
|
133
|
+
add_param(command, :socket_backlog, "--socket-backlog")
|
133
134
|
add_param(command, :environment, "--environment")
|
134
135
|
add_param(command, :app_type, "--app-type")
|
135
136
|
add_param(command, :startup_file, "--startup-file")
|
@@ -31,7 +31,7 @@ module PhusionPassenger
|
|
31
31
|
# A /etc/hosts parser. Also supports writing groups of data to the file.
|
32
32
|
class HostsFileParser
|
33
33
|
def self.flush_dns_cache!
|
34
|
-
if PlatformInfo.
|
34
|
+
if PlatformInfo.os_name_simple == "macosx"
|
35
35
|
system("dscacheutil -flushcache")
|
36
36
|
end
|
37
37
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: passenger
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.0.
|
4
|
+
version: 5.0.24
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Phusion - http://www.phusion.nl/
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-02-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -3131,3 +3131,4 @@ specification_version: 4
|
|
3131
3131
|
summary: A fast and robust web server and application server for Ruby, Python and
|
3132
3132
|
Node.js
|
3133
3133
|
test_files: []
|
3134
|
+
has_rdoc:
|