passenger 5.2.1 → 5.2.2
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 +8 -0
- data/CODE_OF_CONDUCT.md +52 -0
- data/README.md +17 -9
- data/build/agent.rb +3 -1
- data/build/cxx_tests.rb +1 -0
- data/build/schema_printer.rb +1 -0
- data/build/support/cxx_dependency_map.rb +338 -31
- data/dev/configkit-schemas/index.json +64 -15
- data/dev/copy_boost_headers +1 -0
- data/images/justin.png +0 -0
- data/images/passenger_logo.svg +45 -0
- data/images/spark.png +0 -0
- data/resources/templates/standalone/http.erb +4 -0
- data/src/agent/AgentMain.cpp +4 -0
- data/src/agent/Core/AdminPanelConnector.h +133 -5
- data/src/agent/Core/ApplicationPool/Implementation.cpp +1 -0
- data/src/agent/Core/ApplicationPool/Options.h +7 -1
- data/src/agent/Core/ApplicationPool/Pool.h +1 -0
- data/src/agent/Core/ApplicationPool/Pool/GroupUtils.cpp +11 -0
- data/src/agent/Core/ApplicationPool/Process.cpp +52 -0
- data/src/agent/Core/ApplicationPool/Process.h +4 -8
- data/src/agent/Core/Config.h +6 -2
- data/src/agent/Core/ConfigChange.cpp +12 -1
- data/src/agent/Core/ConfigChange.h +3 -0
- data/src/agent/Core/Controller/Config.h +1 -1
- data/src/agent/Core/Controller/InitRequest.cpp +1 -1
- data/src/agent/Core/Controller/InternalUtils.cpp +2 -2
- data/src/agent/Core/CoreMain.cpp +18 -5
- data/src/agent/Core/SpawningKit/BackgroundIOCapturer.h +8 -4
- data/src/agent/Core/SpawningKit/DirectSpawner.h +3 -1
- data/src/agent/Core/SpawningKit/PipeWatcher.h +9 -4
- data/src/agent/Core/SpawningKit/SmartSpawner.h +5 -3
- data/src/agent/Core/SpawningKit/Spawner.h +1 -1
- data/src/agent/ExecHelper/ExecHelperMain.cpp +295 -0
- data/src/agent/Shared/Fundamentals/Initialization.cpp +11 -8
- data/src/agent/Shared/Fundamentals/Initialization.h +2 -2
- data/src/agent/Watchdog/Config.h +5 -2
- data/src/apache2_module/Config.cpp +13 -0
- data/src/apache2_module/ConfigGeneral/AutoGeneratedDefinitions.cpp +30 -0
- data/src/apache2_module/ConfigGeneral/AutoGeneratedSetterFuncs.cpp +90 -0
- data/src/apache2_module/ConfigGeneral/ManifestGeneration.h +18 -2
- data/src/apache2_module/DirConfig/AutoGeneratedCreateFunction.cpp +5 -0
- data/src/apache2_module/DirConfig/AutoGeneratedManifestGeneration.cpp +12 -0
- data/src/apache2_module/DirConfig/AutoGeneratedMergeFunction.cpp +7 -0
- data/src/apache2_module/DirConfig/AutoGeneratedStruct.h +13 -0
- data/src/apache2_module/Hooks.cpp +4 -0
- data/src/apache2_module/ServerConfig/AutoGeneratedManifestGeneration.cpp +55 -0
- data/src/apache2_module/ServerConfig/AutoGeneratedStruct.h +65 -0
- data/src/cxx_supportlib/BackgroundEventLoop.cpp +3 -3
- data/src/cxx_supportlib/ConfigKit/Schema.h +53 -31
- data/src/cxx_supportlib/ConfigKit/Store.h +12 -8
- data/src/cxx_supportlib/Constants.h +2 -1
- data/src/cxx_supportlib/DataStructures/StringKeyTable.h +4 -0
- data/src/cxx_supportlib/FileTools/PathManipCBindings.cpp +22 -1
- data/src/cxx_supportlib/FileTools/PathManipCBindings.h +3 -1
- data/src/cxx_supportlib/LoggingKit/Config.h +2 -0
- data/src/cxx_supportlib/LoggingKit/Context.h +28 -0
- data/src/cxx_supportlib/LoggingKit/Forward.h +0 -1
- data/src/cxx_supportlib/LoggingKit/Implementation.cpp +112 -9
- data/src/cxx_supportlib/LoggingKit/Logging.h +4 -2
- data/src/cxx_supportlib/WebSocketCommandReverseServer.h +34 -43
- data/src/cxx_supportlib/vendor-modified/boost/call_traits.hpp +20 -0
- data/src/cxx_supportlib/vendor-modified/boost/circular_buffer.hpp +62 -0
- data/src/cxx_supportlib/vendor-modified/boost/circular_buffer/base.hpp +3123 -0
- data/src/cxx_supportlib/vendor-modified/boost/circular_buffer/debug.hpp +248 -0
- data/src/cxx_supportlib/vendor-modified/boost/circular_buffer/details.hpp +498 -0
- data/src/cxx_supportlib/vendor-modified/boost/circular_buffer/space_optimized.hpp +1719 -0
- data/src/cxx_supportlib/vendor-modified/boost/circular_buffer_fwd.hpp +43 -0
- data/src/cxx_supportlib/vendor-modified/boost/detail/call_traits.hpp +172 -0
- data/src/nginx_module/ConfigGeneral/AutoGeneratedDefinitions.c +48 -0
- data/src/nginx_module/ConfigGeneral/AutoGeneratedSetterFuncs.c +72 -0
- data/src/nginx_module/ConfigGeneral/ManifestGeneration.c +32 -0
- data/src/nginx_module/ConfigGeneral/ManifestGeneration.h +3 -0
- data/src/nginx_module/Configuration.c +25 -0
- data/src/nginx_module/ContentHandler.c +42 -4
- data/src/nginx_module/LocationConfig/AutoGeneratedCreateFunction.c +5 -0
- data/src/nginx_module/LocationConfig/AutoGeneratedManifestGeneration.c +13 -0
- data/src/nginx_module/LocationConfig/AutoGeneratedMergeFunction.c +5 -0
- data/src/nginx_module/LocationConfig/AutoGeneratedStruct.h +4 -0
- data/src/nginx_module/MainConfig/AutoGeneratedCreateFunction.c +30 -0
- data/src/nginx_module/MainConfig/AutoGeneratedManifestGeneration.c +60 -0
- data/src/nginx_module/MainConfig/AutoGeneratedStruct.h +20 -0
- data/src/nginx_module/ngx_http_passenger_module.c +4 -0
- data/src/ruby_supportlib/phusion_passenger.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/apache2/config_options.rb +37 -1
- data/src/ruby_supportlib/phusion_passenger/constants.rb +1 -0
- data/src/ruby_supportlib/phusion_passenger/nginx/config_options.rb +42 -1
- data/src/ruby_supportlib/phusion_passenger/packaging.rb +2 -0
- data/src/ruby_supportlib/phusion_passenger/platform_info/crypto.rb +13 -3
- data/src/ruby_supportlib/phusion_passenger/standalone/config_options_list.rb +20 -0
- metadata +16 -2
@@ -60,6 +60,7 @@ module PhusionPassenger
|
|
60
60
|
'configure',
|
61
61
|
'Rakefile',
|
62
62
|
'README.md',
|
63
|
+
'CODE_OF_CONDUCT.md',
|
63
64
|
'CONTRIBUTORS',
|
64
65
|
'CONTRIBUTING.md',
|
65
66
|
'LICENSE',
|
@@ -71,6 +72,7 @@ module PhusionPassenger
|
|
71
72
|
'build/**/*',
|
72
73
|
'bin/*',
|
73
74
|
'doc/**/*',
|
75
|
+
'images/*',
|
74
76
|
'man/*',
|
75
77
|
'dev/**/*',
|
76
78
|
'src/**/*',
|
@@ -29,17 +29,27 @@ module PhusionPassenger
|
|
29
29
|
|
30
30
|
module PlatformInfo
|
31
31
|
def self.crypto_libs
|
32
|
+
prefix = ' -framework CoreFoundation -framework Security'
|
33
|
+
suffix = ' -lcrypto'
|
32
34
|
if os_name_simple == "macosx"
|
33
|
-
|
35
|
+
if os_version < '10.13'
|
36
|
+
return prefix
|
37
|
+
else
|
38
|
+
return "#{prefix} #{openssl_extra_ldflags} #{suffix}"
|
39
|
+
end
|
34
40
|
else
|
35
|
-
return
|
41
|
+
return suffix
|
36
42
|
end
|
37
43
|
end
|
38
44
|
memoize :crypto_libs
|
39
45
|
|
40
46
|
def self.crypto_extra_cflags
|
41
47
|
if os_name_simple == "macosx"
|
42
|
-
|
48
|
+
if os_version < '10.13'
|
49
|
+
return ' -Wno-deprecated-declarations'
|
50
|
+
else
|
51
|
+
return " -Wno-deprecated-declarations #{openssl_extra_cflags}"
|
52
|
+
end
|
43
53
|
else
|
44
54
|
return ''
|
45
55
|
end
|
@@ -537,6 +537,26 @@ module PhusionPassenger
|
|
537
537
|
:default => DEFAULT_LOG_LEVEL,
|
538
538
|
:desc => "Log level to use. Default: #{DEFAULT_LOG_LEVEL}"
|
539
539
|
},
|
540
|
+
{
|
541
|
+
:name => :admin_panel_url,
|
542
|
+
:type => :string,
|
543
|
+
:desc => 'Connect to an admin panel at the given connector URL'
|
544
|
+
},
|
545
|
+
{
|
546
|
+
:name => :admin_panel_auth_type,
|
547
|
+
:type => :string,
|
548
|
+
:desc => 'Authentication type to use when connecting to the admin panel'
|
549
|
+
},
|
550
|
+
{
|
551
|
+
:name => :admin_panel_username,
|
552
|
+
:type => :string,
|
553
|
+
:desc => 'Username to use when authenticating with the admin panel'
|
554
|
+
},
|
555
|
+
{
|
556
|
+
:name => :admin_panel_password,
|
557
|
+
:type => :string,
|
558
|
+
:desc => 'Password to use when authenticating with the admin panel'
|
559
|
+
},
|
540
560
|
{
|
541
561
|
:name => :auto,
|
542
562
|
:type => :boolean,
|
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.2.
|
4
|
+
version: 5.2.2
|
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: 2018-
|
11
|
+
date: 2018-03-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -54,6 +54,7 @@ extra_rdoc_files: []
|
|
54
54
|
files:
|
55
55
|
- ".editorconfig"
|
56
56
|
- CHANGELOG
|
57
|
+
- CODE_OF_CONDUCT.md
|
57
58
|
- CONTRIBUTING.md
|
58
59
|
- CONTRIBUTORS
|
59
60
|
- INSTALL.md
|
@@ -161,6 +162,9 @@ files:
|
|
161
162
|
- doc/templates/bootstrap.config.json
|
162
163
|
- doc/templates/bootstrap.min.css
|
163
164
|
- doc/templates/markdown.html.erb
|
165
|
+
- images/justin.png
|
166
|
+
- images/passenger_logo.svg
|
167
|
+
- images/spark.png
|
164
168
|
- man/passenger-config.1
|
165
169
|
- man/passenger-memory-stats.8
|
166
170
|
- man/passenger-status.8
|
@@ -259,6 +263,7 @@ files:
|
|
259
263
|
- src/agent/Core/ApplicationPool/Pool/Miscellaneous.cpp
|
260
264
|
- src/agent/Core/ApplicationPool/Pool/ProcessUtils.cpp
|
261
265
|
- src/agent/Core/ApplicationPool/Pool/StateInspection.cpp
|
266
|
+
- src/agent/Core/ApplicationPool/Process.cpp
|
262
267
|
- src/agent/Core/ApplicationPool/Process.h
|
263
268
|
- src/agent/Core/ApplicationPool/Session.h
|
264
269
|
- src/agent/Core/ApplicationPool/Socket.h
|
@@ -303,6 +308,7 @@ files:
|
|
303
308
|
- src/agent/Core/UnionStation/Context.h
|
304
309
|
- src/agent/Core/UnionStation/StopwatchLog.h
|
305
310
|
- src/agent/Core/UnionStation/Transaction.h
|
311
|
+
- src/agent/ExecHelper/ExecHelperMain.cpp
|
306
312
|
- src/agent/README.md
|
307
313
|
- src/agent/Shared/ApiAccountUtils.h
|
308
314
|
- src/agent/Shared/ApiServerUtils.h
|
@@ -1169,6 +1175,7 @@ files:
|
|
1169
1175
|
- src/cxx_supportlib/vendor-modified/boost/bind/placeholders.hpp
|
1170
1176
|
- src/cxx_supportlib/vendor-modified/boost/bind/protect.hpp
|
1171
1177
|
- src/cxx_supportlib/vendor-modified/boost/bind/storage.hpp
|
1178
|
+
- src/cxx_supportlib/vendor-modified/boost/call_traits.hpp
|
1172
1179
|
- src/cxx_supportlib/vendor-modified/boost/cerrno.hpp
|
1173
1180
|
- src/cxx_supportlib/vendor-modified/boost/checked_delete.hpp
|
1174
1181
|
- src/cxx_supportlib/vendor-modified/boost/chrono.hpp
|
@@ -1216,6 +1223,12 @@ files:
|
|
1216
1223
|
- src/cxx_supportlib/vendor-modified/boost/chrono/time_point.hpp
|
1217
1224
|
- src/cxx_supportlib/vendor-modified/boost/chrono/typeof/boost/chrono/chrono.hpp
|
1218
1225
|
- src/cxx_supportlib/vendor-modified/boost/chrono/typeof/boost/ratio.hpp
|
1226
|
+
- src/cxx_supportlib/vendor-modified/boost/circular_buffer.hpp
|
1227
|
+
- src/cxx_supportlib/vendor-modified/boost/circular_buffer/base.hpp
|
1228
|
+
- src/cxx_supportlib/vendor-modified/boost/circular_buffer/debug.hpp
|
1229
|
+
- src/cxx_supportlib/vendor-modified/boost/circular_buffer/details.hpp
|
1230
|
+
- src/cxx_supportlib/vendor-modified/boost/circular_buffer/space_optimized.hpp
|
1231
|
+
- src/cxx_supportlib/vendor-modified/boost/circular_buffer_fwd.hpp
|
1219
1232
|
- src/cxx_supportlib/vendor-modified/boost/concept/assert.hpp
|
1220
1233
|
- src/cxx_supportlib/vendor-modified/boost/concept/detail/backward_compatibility.hpp
|
1221
1234
|
- src/cxx_supportlib/vendor-modified/boost/concept/detail/concept_def.hpp
|
@@ -1518,6 +1531,7 @@ files:
|
|
1518
1531
|
- src/cxx_supportlib/vendor-modified/boost/detail/atomic_redef_macros.hpp
|
1519
1532
|
- src/cxx_supportlib/vendor-modified/boost/detail/atomic_undef_macros.hpp
|
1520
1533
|
- src/cxx_supportlib/vendor-modified/boost/detail/basic_pointerbuf.hpp
|
1534
|
+
- src/cxx_supportlib/vendor-modified/boost/detail/call_traits.hpp
|
1521
1535
|
- src/cxx_supportlib/vendor-modified/boost/detail/container_fwd.hpp
|
1522
1536
|
- src/cxx_supportlib/vendor-modified/boost/detail/endian.hpp
|
1523
1537
|
- src/cxx_supportlib/vendor-modified/boost/detail/fenv.hpp
|