passenger 5.2.3 → 5.3.0
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 +13 -0
- data/CONTRIBUTORS +5 -1
- data/build/agent.rb +22 -2
- data/build/cxx_tests.rb +41 -5
- data/build/misc.rb +4 -1
- data/build/support/cxx_dependency_map.rb +1746 -908
- data/build/support/vendor/cxx_hinted_parser/CxxHintedParser.sublime-project +8 -0
- data/build/support/vendor/cxx_hinted_parser/Gemfile +5 -0
- data/build/support/vendor/cxx_hinted_parser/Gemfile.lock +30 -0
- data/{src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_core → build/support/vendor/cxx_hinted_parser}/LICENSE.md +1 -1
- data/build/support/vendor/cxx_hinted_parser/README.md +95 -0
- data/build/support/vendor/cxx_hinted_parser/Rakefile +4 -0
- data/{src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_rails/lib/union_station_hooks_rails/initialize.rb → build/support/vendor/cxx_hinted_parser/lib/cxx_hinted_parser.rb} +2 -9
- data/build/support/vendor/cxx_hinted_parser/lib/cxx_hinted_parser/parser.rb +239 -0
- data/dev/ci/README.md +15 -2
- data/dev/ci/lib/set-container-envvars.sh +6 -0
- data/dev/ci/lib/setup-container.sh +4 -1
- data/dev/ci/scripts/debug-console-wrapper.sh +3 -1
- data/dev/ci/setup-host +5 -0
- data/dev/ci/tests/binaries/Jenkinsfile +105 -0
- data/dev/ci/tests/binaries/build-linux +38 -0
- data/dev/ci/tests/binaries/build-macos +40 -0
- data/dev/ci/tests/binaries/prepare-macos +38 -0
- data/dev/ci/tests/binaries/test-linux +45 -0
- data/dev/ci/tests/binaries/test-macos +38 -0
- data/dev/ci/tests/debian/Jenkinsfile +2 -2
- data/dev/ci/tests/rpm/Jenkinsfile +1 -1
- data/dev/configkit-schemas/index.json +3 -24
- data/dev/vagrant/nginx_rakefile +0 -1
- data/package.json +15 -5
- data/resources/templates/error_renderer/.editorconfig +19 -0
- data/resources/templates/error_renderer/with_details/README.md +9 -0
- data/resources/templates/error_renderer/with_details/dist/bundle.js +33 -0
- data/resources/templates/error_renderer/with_details/dist/styles.css +17 -0
- data/resources/templates/error_renderer/with_details/src/DetailsView.jsx +52 -0
- data/resources/templates/error_renderer/with_details/src/GetHelpView.jsx +61 -0
- data/resources/templates/error_renderer/with_details/src/JourneyView.css +50 -0
- data/resources/templates/error_renderer/with_details/src/JourneyView.jsx +621 -0
- data/resources/templates/error_renderer/with_details/src/PageMain.css +114 -0
- data/resources/templates/error_renderer/with_details/src/PageMain.jsx +136 -0
- data/resources/templates/error_renderer/with_details/src/ProblemDescriptionView.jsx +14 -0
- data/resources/templates/error_renderer/with_details/src/ProcessDetailsView.jsx +56 -0
- data/resources/templates/error_renderer/with_details/src/SolutionDescriptionView.css +5 -0
- data/resources/templates/error_renderer/with_details/src/SolutionDescriptionView.jsx +15 -0
- data/resources/templates/error_renderer/with_details/src/SummaryView.jsx +35 -0
- data/resources/templates/error_renderer/with_details/src/SystemComponentView.css +34 -0
- data/resources/templates/error_renderer/with_details/src/SystemComponentView.jsx +168 -0
- data/resources/templates/error_renderer/with_details/src/SystemComponentsView.css +13 -0
- data/resources/templates/error_renderer/with_details/src/SystemComponentsView.jsx +116 -0
- data/resources/templates/error_renderer/with_details/src/Tab.jsx +12 -0
- data/resources/templates/error_renderer/with_details/src/Tabs.jsx +104 -0
- data/resources/templates/error_renderer/with_details/src/bootstrap/bootstrap.css +3446 -0
- data/resources/templates/error_renderer/with_details/src/bootstrap/bootstrap.js +293 -0
- data/resources/templates/error_renderer/with_details/src/bootstrap/config.json +401 -0
- data/resources/templates/error_renderer/with_details/src/index.html.template +22 -0
- data/resources/templates/error_renderer/with_details/src/index.jsx +23 -0
- data/resources/templates/error_renderer/with_details/webpack.config.js +47 -0
- data/resources/templates/error_renderer/without_details/dist/bundle.js +1 -0
- data/resources/templates/error_renderer/without_details/dist/styles.css +1 -0
- data/resources/templates/{undisclosed_error.html.template → error_renderer/without_details/src/index.html.template} +7 -11
- data/resources/templates/error_renderer/without_details/src/index.js +1 -0
- data/resources/templates/{error_layout.css → error_renderer/without_details/src/main.css} +5 -2
- data/resources/templates/error_renderer/without_details/webpack.config.js +42 -0
- data/src/agent/AgentMain.cpp +3 -3
- data/src/agent/Core/ApplicationPool/BasicProcessInfo.h +13 -0
- data/src/agent/Core/ApplicationPool/Common.h +3 -4
- data/src/agent/Core/ApplicationPool/Context.h +27 -17
- data/src/agent/Core/ApplicationPool/Group.h +3 -1
- data/src/agent/Core/ApplicationPool/Group/InitializationAndShutdown.cpp +2 -12
- data/src/agent/Core/ApplicationPool/Group/InternalUtils.cpp +55 -10
- data/src/agent/Core/ApplicationPool/Group/LifetimeAndBasics.cpp +1 -1
- data/src/agent/Core/ApplicationPool/Group/OutOfBandWork.cpp +1 -1
- data/src/agent/Core/ApplicationPool/Group/SpawningAndRestarting.cpp +13 -6
- data/src/agent/Core/ApplicationPool/Implementation.cpp +16 -100
- data/src/agent/Core/ApplicationPool/Options.h +8 -65
- data/src/agent/Core/ApplicationPool/Pool.h +4 -21
- data/src/agent/Core/ApplicationPool/Pool/AnalyticsCollection.cpp +1 -60
- data/src/agent/Core/ApplicationPool/Pool/GeneralUtils.cpp +10 -13
- data/src/agent/Core/ApplicationPool/Pool/InitializationAndShutdown.cpp +3 -8
- data/src/agent/Core/ApplicationPool/Pool/Miscellaneous.cpp +2 -34
- data/src/agent/Core/ApplicationPool/Pool/StateInspection.cpp +1 -1
- data/src/agent/Core/ApplicationPool/Process.cpp +17 -12
- data/src/agent/Core/ApplicationPool/Process.h +146 -93
- data/src/agent/Core/ApplicationPool/Session.h +2 -2
- data/src/agent/Core/ApplicationPool/Socket.h +28 -27
- data/src/agent/Core/Config.h +1 -3
- data/src/agent/Core/ConfigChange.cpp +2 -4
- data/src/agent/Core/Controller.h +2 -8
- data/src/agent/Core/Controller/BufferBody.cpp +0 -2
- data/src/agent/Core/Controller/CheckoutSession.cpp +12 -24
- data/src/agent/Core/Controller/Config.h +1 -9
- data/src/agent/Core/Controller/ForwardResponse.cpp +0 -34
- data/src/agent/Core/Controller/Hooks.cpp +0 -7
- data/src/agent/Core/Controller/InitRequest.cpp +0 -43
- data/src/agent/Core/Controller/InitializationAndShutdown.cpp +0 -4
- data/src/agent/Core/Controller/Request.h +1 -35
- data/src/agent/Core/Controller/SendRequest.cpp +0 -32
- data/src/agent/Core/CoreMain.cpp +19 -32
- data/src/agent/Core/SpawningKit/Config.h +329 -55
- data/src/agent/Core/SpawningKit/Config/AutoGeneratedCode.h +369 -0
- data/src/agent/Core/SpawningKit/Config/AutoGeneratedCode.h.cxxcodebuilder +307 -0
- data/src/agent/Core/SpawningKit/Context.h +211 -0
- data/src/agent/Core/SpawningKit/DirectSpawner.h +112 -122
- data/src/agent/Core/SpawningKit/DummySpawner.h +59 -20
- data/src/agent/Core/SpawningKit/ErrorRenderer.h +117 -0
- data/src/agent/Core/SpawningKit/Exceptions.h +1157 -0
- data/src/agent/Core/SpawningKit/Factory.h +24 -17
- data/src/agent/Core/SpawningKit/{BackgroundIOCapturer.h → Handshake/BackgroundIOCapturer.h} +48 -18
- data/src/agent/Core/SpawningKit/Handshake/Perform.h +1650 -0
- data/src/agent/Core/SpawningKit/Handshake/Prepare.h +582 -0
- data/src/agent/Core/SpawningKit/Handshake/Session.h +91 -0
- data/src/agent/Core/SpawningKit/Handshake/WorkDir.h +100 -0
- data/src/agent/Core/SpawningKit/Journey.h +561 -0
- data/src/agent/Core/SpawningKit/PipeWatcher.h +41 -18
- data/src/agent/Core/SpawningKit/README.md +534 -0
- data/src/agent/Core/SpawningKit/Result.h +182 -7
- data/src/agent/Core/SpawningKit/Result/AutoGeneratedCode.h +69 -0
- data/src/agent/Core/SpawningKit/Result/AutoGeneratedCode.h.cxxcodebuilder +110 -0
- data/src/agent/Core/SpawningKit/SmartSpawner.h +1027 -562
- data/src/agent/Core/SpawningKit/Spawner.h +70 -1134
- data/src/agent/Core/SpawningKit/UserSwitchingRules.h +3 -33
- data/src/agent/README.md +2 -3
- data/src/agent/Shared/ApiServerUtils.h +2 -3
- data/src/agent/SpawnEnvSetupper/SpawnEnvSetupperMain.cpp +932 -0
- data/src/agent/Watchdog/Config.h +1 -3
- data/src/agent/Watchdog/WatchdogMain.cpp +2 -1
- data/src/apache2_module/ConfigGeneral/AutoGeneratedDefinitions.cpp +5 -0
- data/src/apache2_module/ConfigGeneral/AutoGeneratedManifestDefaultsInitialization.cpp +5 -0
- data/src/apache2_module/ConfigGeneral/ManifestGeneration.h +22 -13
- data/src/apache2_module/DirConfig/AutoGeneratedCreateFunction.cpp +5 -0
- data/src/apache2_module/DirConfig/AutoGeneratedHeaderSerialization.cpp +3 -0
- data/src/apache2_module/DirConfig/AutoGeneratedManifestGeneration.cpp +13 -0
- data/src/apache2_module/DirConfig/AutoGeneratedMergeFunction.cpp +7 -0
- data/src/apache2_module/DirConfig/AutoGeneratedStruct.h +13 -0
- data/src/cxx_supportlib/Constants.h +3 -1
- data/src/cxx_supportlib/Exceptions.h +0 -121
- data/src/cxx_supportlib/LoggingKit/Implementation.cpp +7 -6
- data/src/cxx_supportlib/LoggingKit/Logging.h +3 -1
- data/src/cxx_supportlib/Utils.cpp +42 -0
- data/src/cxx_supportlib/Utils.h +7 -0
- data/src/cxx_supportlib/Utils/IOUtils.cpp +58 -0
- data/src/cxx_supportlib/Utils/IOUtils.h +13 -0
- data/src/cxx_supportlib/Utils/JsonUtils.h +130 -23
- data/src/cxx_supportlib/Utils/ScopeGuard.h +9 -4
- data/src/cxx_supportlib/Utils/StrIntUtils.cpp +7 -0
- data/src/cxx_supportlib/Utils/StrIntUtils.h +1 -0
- data/src/cxx_supportlib/Utils/SystemTime.h +1 -1
- data/src/cxx_supportlib/Utils/Timer.h +1 -1
- data/src/cxx_supportlib/WebSocketCommandReverseServer.h +6 -4
- data/src/cxx_supportlib/vendor-copy/adhoc_lve.h +1 -0
- data/src/helper-scripts/node-loader.js +54 -59
- data/src/helper-scripts/rack-loader.rb +63 -60
- data/src/helper-scripts/rack-preloader.rb +125 -72
- data/src/helper-scripts/wsgi-loader.py +100 -43
- data/src/nginx_module/ConfigGeneral/AutoGeneratedDefinitions.c +120 -112
- data/src/nginx_module/ConfigGeneral/AutoGeneratedManifestDefaultsInitialization.c +15 -8
- data/src/nginx_module/ConfigGeneral/AutoGeneratedSetterFuncs.c +142 -142
- data/src/nginx_module/ConfigGeneral/ManifestGeneration.c +26 -15
- data/src/nginx_module/ConfigGeneral/ManifestGeneration.h +3 -0
- data/src/nginx_module/LocationConfig/AutoGeneratedCreateFunction.c +76 -70
- data/src/nginx_module/LocationConfig/AutoGeneratedHeaderSerialization.c +114 -99
- data/src/nginx_module/LocationConfig/AutoGeneratedManifestGeneration.c +170 -156
- data/src/nginx_module/LocationConfig/AutoGeneratedMergeFunction.c +38 -35
- data/src/nginx_module/LocationConfig/AutoGeneratedStruct.h +5 -1
- data/src/ruby_supportlib/phusion_passenger.rb +5 -5
- data/src/ruby_supportlib/phusion_passenger/admin_tools/instance.rb +14 -1
- data/src/ruby_supportlib/phusion_passenger/apache2/config_options.rb +8 -0
- data/src/ruby_supportlib/phusion_passenger/common_library.rb +0 -3
- data/src/ruby_supportlib/phusion_passenger/config/nginx_engine_compiler.rb +0 -1
- data/src/ruby_supportlib/phusion_passenger/constants.rb +2 -0
- data/src/ruby_supportlib/phusion_passenger/loader_shared_helpers.rb +646 -238
- data/src/ruby_supportlib/phusion_passenger/nginx/config_options.rb +117 -95
- data/src/ruby_supportlib/phusion_passenger/packaging.rb +0 -1
- data/src/ruby_supportlib/phusion_passenger/platform_info/depcheck_specs/apache2.rb +5 -1
- data/src/ruby_supportlib/phusion_passenger/preloader_shared_helpers.rb +92 -69
- data/src/ruby_supportlib/phusion_passenger/public_api.rb +0 -17
- data/src/ruby_supportlib/phusion_passenger/rack/thread_handler_extension.rb +0 -3
- data/src/ruby_supportlib/phusion_passenger/request_handler.rb +4 -5
- data/src/ruby_supportlib/phusion_passenger/request_handler/thread_handler.rb +0 -22
- metadata +64 -67
- data/resources/templates/error_layout.html.template +0 -86
- data/resources/templates/general_error.html.template +0 -1
- data/resources/templates/general_error_with_html.html.template +0 -1
- data/src/agent/Core/ApplicationPool/ErrorRenderer.h +0 -131
- data/src/agent/Core/SpawningKit/Options.h +0 -41
- data/src/agent/Core/UnionStation/Connection.h +0 -173
- data/src/agent/Core/UnionStation/Context.h +0 -536
- data/src/agent/Core/UnionStation/StopwatchLog.h +0 -147
- data/src/agent/Core/UnionStation/Transaction.h +0 -249
- data/src/agent/SpawnPreparer/SpawnPreparerMain.cpp +0 -208
- data/src/cxx_supportlib/UnionStationFilterSupport.cpp +0 -67
- data/src/cxx_supportlib/UnionStationFilterSupport.h +0 -1622
- data/src/nodejs_supportlib/phusion_passenger/log_express.js +0 -106
- data/src/nodejs_supportlib/phusion_passenger/log_mongodb.js +0 -202
- data/src/nodejs_supportlib/phusion_passenger/ustreporter.js +0 -227
- data/src/nodejs_supportlib/phusion_passenger/ustrouter_connector.js +0 -448
- data/src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_core/CONFIG.md +0 -37
- data/src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_core/Gemfile +0 -17
- data/src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_core/Gemfile.lock +0 -59
- data/src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_core/README-API.md +0 -5
- data/src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_core/README.md +0 -117
- data/src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_core/Rakefile +0 -115
- data/src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_core/lib/union_station_hooks_core.rb +0 -423
- data/src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_core/lib/union_station_hooks_core/api.rb +0 -238
- data/src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_core/lib/union_station_hooks_core/connection.rb +0 -67
- data/src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_core/lib/union_station_hooks_core/context.rb +0 -281
- data/src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_core/lib/union_station_hooks_core/lock.rb +0 -62
- data/src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_core/lib/union_station_hooks_core/log.rb +0 -66
- data/src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_core/lib/union_station_hooks_core/message_channel.rb +0 -157
- data/src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_core/lib/union_station_hooks_core/request_reporter.rb +0 -150
- data/src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_core/lib/union_station_hooks_core/request_reporter/basics.rb +0 -199
- data/src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_core/lib/union_station_hooks_core/request_reporter/controllers.rb +0 -187
- data/src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_core/lib/union_station_hooks_core/request_reporter/misc.rb +0 -303
- data/src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_core/lib/union_station_hooks_core/request_reporter/view_rendering.rb +0 -91
- data/src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_core/lib/union_station_hooks_core/simple_json.rb +0 -396
- data/src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_core/lib/union_station_hooks_core/spec_helper.rb +0 -279
- data/src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_core/lib/union_station_hooks_core/time_point.rb +0 -39
- data/src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_core/lib/union_station_hooks_core/transaction.rb +0 -173
- data/src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_core/lib/union_station_hooks_core/utils.rb +0 -177
- data/src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_core/lib/union_station_hooks_core/version.rb +0 -32
- data/src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_core/lib/union_station_hooks_core/version_data.rb +0 -44
- data/src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_core/ruby_versions.yml.example +0 -16
- data/src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_core/ruby_versions.yml.travis +0 -20
- data/src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_core/ruby_versions.yml.travis-with-sudo +0 -18
- data/src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_core/union_station_hooks_core.gemspec +0 -23
- data/src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_rails/Gemfile +0 -14
- data/src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_rails/Gemfile.lock +0 -45
- data/src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_rails/LICENSE.md +0 -19
- data/src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_rails/README.md +0 -104
- data/src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_rails/Rakefile +0 -160
- data/src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_rails/lib/union_station_hooks_rails.rb +0 -200
- data/src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_rails/lib/union_station_hooks_rails/action_controller_extension.rb +0 -45
- data/src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_rails/lib/union_station_hooks_rails/action_view_subscriber.rb +0 -55
- data/src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_rails/lib/union_station_hooks_rails/active_record_subscriber.rb +0 -41
- data/src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_rails/lib/union_station_hooks_rails/active_support_benchmarkable_extension.rb +0 -47
- data/src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_rails/lib/union_station_hooks_rails/active_support_cache_subscriber.rb +0 -79
- data/src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_rails/lib/union_station_hooks_rails/exception_logger.rb +0 -57
- data/src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_rails/lib/union_station_hooks_rails/version.rb +0 -32
- data/src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_rails/lib/union_station_hooks_rails/version_data.rb +0 -44
- data/src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_rails/union_station_hooks_rails.gemspec +0 -34
@@ -31,7 +31,6 @@ module PhusionPassenger
|
|
31
31
|
@@event_after_installing_signal_handlers = []
|
32
32
|
@@event_oob_work = []
|
33
33
|
@@advertised_concurrency_level = nil
|
34
|
-
@@union_station_key = nil
|
35
34
|
|
36
35
|
def on_event(name, &block)
|
37
36
|
callback_list_for_event(name) << block
|
@@ -45,14 +44,6 @@ module PhusionPassenger
|
|
45
44
|
|
46
45
|
# For backward compatibility
|
47
46
|
def install_framework_extensions!(user_options = {})
|
48
|
-
if PhusionPassenger::App.options["analytics"]
|
49
|
-
config = PhusionPassenger::App.options.merge(UnionStationHooks.config)
|
50
|
-
user_options.each_pair do |key, value|
|
51
|
-
config[key.to_s] = value
|
52
|
-
end
|
53
|
-
UnionStationHooks.config.update(config)
|
54
|
-
UnionStationHooks.initialize!
|
55
|
-
end
|
56
47
|
end
|
57
48
|
|
58
49
|
def advertised_concurrency_level
|
@@ -63,14 +54,6 @@ module PhusionPassenger
|
|
63
54
|
@@advertised_concurrency_level = value
|
64
55
|
end
|
65
56
|
|
66
|
-
def union_station_key
|
67
|
-
@@union_station_key
|
68
|
-
end
|
69
|
-
|
70
|
-
def union_station_key=(value)
|
71
|
-
@@union_station_key = value
|
72
|
-
end
|
73
|
-
|
74
57
|
private
|
75
58
|
def callback_list_for_event(name)
|
76
59
|
return case name
|
@@ -101,7 +101,6 @@ module PhusionPassenger
|
|
101
101
|
# otherwise maliciously crafted responses can crash the app,
|
102
102
|
# forcing it to be respawned, and thereby effectively DoSing it.
|
103
103
|
print_exception("Rack application object", e)
|
104
|
-
log_exception_to_union_station(env, e)
|
105
104
|
end
|
106
105
|
return false
|
107
106
|
end
|
@@ -148,7 +147,6 @@ module PhusionPassenger
|
|
148
147
|
rescue => e
|
149
148
|
if !should_swallow_app_error?(e, socket_wrapper)
|
150
149
|
print_exception("Rack response body object", e)
|
151
|
-
log_exception_to_union_station(env, e)
|
152
150
|
end
|
153
151
|
ensure
|
154
152
|
close_body(body, env, socket_wrapper)
|
@@ -318,7 +316,6 @@ module PhusionPassenger
|
|
318
316
|
rescue => e
|
319
317
|
if !should_swallow_app_error?(e, socket_wrapper)
|
320
318
|
print_exception("Rack response body object's #close method", e)
|
321
|
-
log_exception_to_union_station(env, e)
|
322
319
|
end
|
323
320
|
ensure
|
324
321
|
if @ush_reporter && ush_log_id
|
@@ -80,8 +80,7 @@ module PhusionPassenger
|
|
80
80
|
install_options_as_ivars(self, options,
|
81
81
|
"app",
|
82
82
|
"app_group_name",
|
83
|
-
"connect_password"
|
84
|
-
"union_station_core"
|
83
|
+
"connect_password"
|
85
84
|
)
|
86
85
|
|
87
86
|
@keepalive = options.fetch("keepalive", true).to_s == "true"
|
@@ -105,8 +104,9 @@ module PhusionPassenger
|
|
105
104
|
@server_sockets[:main] = {
|
106
105
|
:address => @main_socket_address,
|
107
106
|
:socket => @main_socket,
|
108
|
-
:protocol => @force_http_session ? :
|
109
|
-
:concurrency => @concurrency
|
107
|
+
:protocol => @force_http_session ? :http : :session,
|
108
|
+
:concurrency => @concurrency,
|
109
|
+
:accept_http_requests => true
|
110
110
|
}
|
111
111
|
|
112
112
|
@http_socket_address, @http_socket = create_tcp_socket
|
@@ -368,7 +368,6 @@ module PhusionPassenger
|
|
368
368
|
:app => @app,
|
369
369
|
:app_group_name => @app_group_name,
|
370
370
|
:connect_password => @connect_password,
|
371
|
-
:union_station_core => @union_station_core,
|
372
371
|
:keepalive_enabled => @keepalive
|
373
372
|
}
|
374
373
|
main_socket_options = common_options.merge(
|
@@ -69,7 +69,6 @@ module PhusionPassenger
|
|
69
69
|
@app_group_name = Utils.require_option(options, :app_group_name)
|
70
70
|
Utils.install_options_as_ivars(self, options,
|
71
71
|
:app,
|
72
|
-
:union_station_core,
|
73
72
|
:connect_password,
|
74
73
|
:keepalive_enabled
|
75
74
|
)
|
@@ -105,8 +104,6 @@ module PhusionPassenger
|
|
105
104
|
buffer = ''
|
106
105
|
buffer.force_encoding('binary') if buffer.respond_to?(:force_encoding)
|
107
106
|
|
108
|
-
@union_station_hooks_defined = defined?(UnionStationHooks)
|
109
|
-
|
110
107
|
begin
|
111
108
|
finish_callback.call
|
112
109
|
while true
|
@@ -184,9 +181,6 @@ module PhusionPassenger
|
|
184
181
|
print_exception("Passenger RequestHandler's client socket", e)
|
185
182
|
end
|
186
183
|
else
|
187
|
-
if headers
|
188
|
-
log_exception_to_union_station(headers, e)
|
189
|
-
end
|
190
184
|
# should_reraise_error? returns true except in unit tests,
|
191
185
|
# so we normally stop the request handler upon encountering
|
192
186
|
# non-EPIPE errors. We do this because process_request is already
|
@@ -321,10 +315,6 @@ module PhusionPassenger
|
|
321
315
|
connection.simulate_eof!
|
322
316
|
end
|
323
317
|
|
324
|
-
if @union_station_hooks_defined
|
325
|
-
@ush_reporter = UnionStationHooks.begin_rack_request(headers)
|
326
|
-
end
|
327
|
-
|
328
318
|
#################
|
329
319
|
end
|
330
320
|
|
@@ -333,11 +323,6 @@ module PhusionPassenger
|
|
333
323
|
connection.stop_simulating_eof!
|
334
324
|
end
|
335
325
|
|
336
|
-
if @union_station_hooks_defined
|
337
|
-
UnionStationHooks.end_rack_request(headers, has_error)
|
338
|
-
@ush_reporter = nil
|
339
|
-
end
|
340
|
-
|
341
326
|
if !has_error && @keepalive_performed && connection
|
342
327
|
trace(3, "Keep-aliving connection.")
|
343
328
|
@last_connection = connection
|
@@ -346,13 +331,6 @@ module PhusionPassenger
|
|
346
331
|
#################
|
347
332
|
end
|
348
333
|
|
349
|
-
def log_exception_to_union_station(env, exception)
|
350
|
-
reporter = env['union_station_hooks']
|
351
|
-
if reporter
|
352
|
-
reporter.log_exception(exception)
|
353
|
-
end
|
354
|
-
end
|
355
|
-
|
356
334
|
def should_reraise_error?(e)
|
357
335
|
# Stubable by unit tests.
|
358
336
|
return true
|
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.
|
4
|
+
version: 5.3.0
|
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-05-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -85,6 +85,14 @@ files:
|
|
85
85
|
- build/support/cplusplus.rb
|
86
86
|
- build/support/cxx_dependency_map.rb
|
87
87
|
- build/support/general.rb
|
88
|
+
- build/support/vendor/cxx_hinted_parser/CxxHintedParser.sublime-project
|
89
|
+
- build/support/vendor/cxx_hinted_parser/Gemfile
|
90
|
+
- build/support/vendor/cxx_hinted_parser/Gemfile.lock
|
91
|
+
- build/support/vendor/cxx_hinted_parser/LICENSE.md
|
92
|
+
- build/support/vendor/cxx_hinted_parser/README.md
|
93
|
+
- build/support/vendor/cxx_hinted_parser/Rakefile
|
94
|
+
- build/support/vendor/cxx_hinted_parser/lib/cxx_hinted_parser.rb
|
95
|
+
- build/support/vendor/cxx_hinted_parser/lib/cxx_hinted_parser/parser.rb
|
88
96
|
- build/support/vendor/cxxcodebuilder/CxxCodeBuilder.sublime-project
|
89
97
|
- build/support/vendor/cxxcodebuilder/Gemfile
|
90
98
|
- build/support/vendor/cxxcodebuilder/Gemfile.lock
|
@@ -114,6 +122,12 @@ files:
|
|
114
122
|
- dev/ci/setup-host
|
115
123
|
- dev/ci/tests/apache2/run
|
116
124
|
- dev/ci/tests/apache2/setup
|
125
|
+
- dev/ci/tests/binaries/Jenkinsfile
|
126
|
+
- dev/ci/tests/binaries/build-linux
|
127
|
+
- dev/ci/tests/binaries/build-macos
|
128
|
+
- dev/ci/tests/binaries/prepare-macos
|
129
|
+
- dev/ci/tests/binaries/test-linux
|
130
|
+
- dev/ci/tests/binaries/test-macos
|
117
131
|
- dev/ci/tests/cxx/run
|
118
132
|
- dev/ci/tests/cxx/setup
|
119
133
|
- dev/ci/tests/debian/Jenkinsfile
|
@@ -194,10 +208,39 @@ files:
|
|
194
208
|
- resources/templates/config/installation_utils/unexpected_filesystem_problem.txt.erb
|
195
209
|
- resources/templates/config/installation_utils/user_support_binaries_dir_not_writable.txt.erb
|
196
210
|
- resources/templates/config/nginx_engine_compiler/possible_solutions_for_download_and_extraction_problems.txt.erb
|
197
|
-
- resources/templates/
|
198
|
-
- resources/templates/
|
199
|
-
- resources/templates/
|
200
|
-
- resources/templates/
|
211
|
+
- resources/templates/error_renderer/.editorconfig
|
212
|
+
- resources/templates/error_renderer/with_details/README.md
|
213
|
+
- resources/templates/error_renderer/with_details/dist/bundle.js
|
214
|
+
- resources/templates/error_renderer/with_details/dist/styles.css
|
215
|
+
- resources/templates/error_renderer/with_details/src/DetailsView.jsx
|
216
|
+
- resources/templates/error_renderer/with_details/src/GetHelpView.jsx
|
217
|
+
- resources/templates/error_renderer/with_details/src/JourneyView.css
|
218
|
+
- resources/templates/error_renderer/with_details/src/JourneyView.jsx
|
219
|
+
- resources/templates/error_renderer/with_details/src/PageMain.css
|
220
|
+
- resources/templates/error_renderer/with_details/src/PageMain.jsx
|
221
|
+
- resources/templates/error_renderer/with_details/src/ProblemDescriptionView.jsx
|
222
|
+
- resources/templates/error_renderer/with_details/src/ProcessDetailsView.jsx
|
223
|
+
- resources/templates/error_renderer/with_details/src/SolutionDescriptionView.css
|
224
|
+
- resources/templates/error_renderer/with_details/src/SolutionDescriptionView.jsx
|
225
|
+
- resources/templates/error_renderer/with_details/src/SummaryView.jsx
|
226
|
+
- resources/templates/error_renderer/with_details/src/SystemComponentView.css
|
227
|
+
- resources/templates/error_renderer/with_details/src/SystemComponentView.jsx
|
228
|
+
- resources/templates/error_renderer/with_details/src/SystemComponentsView.css
|
229
|
+
- resources/templates/error_renderer/with_details/src/SystemComponentsView.jsx
|
230
|
+
- resources/templates/error_renderer/with_details/src/Tab.jsx
|
231
|
+
- resources/templates/error_renderer/with_details/src/Tabs.jsx
|
232
|
+
- resources/templates/error_renderer/with_details/src/bootstrap/bootstrap.css
|
233
|
+
- resources/templates/error_renderer/with_details/src/bootstrap/bootstrap.js
|
234
|
+
- resources/templates/error_renderer/with_details/src/bootstrap/config.json
|
235
|
+
- resources/templates/error_renderer/with_details/src/index.html.template
|
236
|
+
- resources/templates/error_renderer/with_details/src/index.jsx
|
237
|
+
- resources/templates/error_renderer/with_details/webpack.config.js
|
238
|
+
- resources/templates/error_renderer/without_details/dist/bundle.js
|
239
|
+
- resources/templates/error_renderer/without_details/dist/styles.css
|
240
|
+
- resources/templates/error_renderer/without_details/src/index.html.template
|
241
|
+
- resources/templates/error_renderer/without_details/src/index.js
|
242
|
+
- resources/templates/error_renderer/without_details/src/main.css
|
243
|
+
- resources/templates/error_renderer/without_details/webpack.config.js
|
201
244
|
- resources/templates/installer_common/cannot_access_files_as_root.txt.erb
|
202
245
|
- resources/templates/installer_common/gem_install_permission_problems.txt.erb
|
203
246
|
- resources/templates/installer_common/low_amount_of_memory_warning.txt.erb
|
@@ -226,7 +269,6 @@ files:
|
|
226
269
|
- resources/templates/standalone/mass_deployment_default_server.erb
|
227
270
|
- resources/templates/standalone/rails_asset_pipeline.erb
|
228
271
|
- resources/templates/standalone/server.erb
|
229
|
-
- resources/templates/undisclosed_error.html.template
|
230
272
|
- resources/union_station_gateway.crt
|
231
273
|
- resources/update_check_client_cert.p12
|
232
274
|
- resources/update_check_client_cert.pem
|
@@ -240,7 +282,6 @@ files:
|
|
240
282
|
- src/agent/Core/ApplicationPool/BasicProcessInfo.h
|
241
283
|
- src/agent/Core/ApplicationPool/Common.h
|
242
284
|
- src/agent/Core/ApplicationPool/Context.h
|
243
|
-
- src/agent/Core/ApplicationPool/ErrorRenderer.h
|
244
285
|
- src/agent/Core/ApplicationPool/Group.h
|
245
286
|
- src/agent/Core/ApplicationPool/Group/InitializationAndShutdown.cpp
|
246
287
|
- src/agent/Core/ApplicationPool/Group/InternalUtils.cpp
|
@@ -293,21 +334,29 @@ files:
|
|
293
334
|
- src/agent/Core/OptionParser.h
|
294
335
|
- src/agent/Core/ResponseCache.h
|
295
336
|
- src/agent/Core/SecurityUpdateChecker.h
|
296
|
-
- src/agent/Core/SpawningKit/BackgroundIOCapturer.h
|
297
337
|
- src/agent/Core/SpawningKit/Config.h
|
338
|
+
- src/agent/Core/SpawningKit/Config/AutoGeneratedCode.h
|
339
|
+
- src/agent/Core/SpawningKit/Config/AutoGeneratedCode.h.cxxcodebuilder
|
340
|
+
- src/agent/Core/SpawningKit/Context.h
|
298
341
|
- src/agent/Core/SpawningKit/DirectSpawner.h
|
299
342
|
- src/agent/Core/SpawningKit/DummySpawner.h
|
343
|
+
- src/agent/Core/SpawningKit/ErrorRenderer.h
|
344
|
+
- src/agent/Core/SpawningKit/Exceptions.h
|
300
345
|
- src/agent/Core/SpawningKit/Factory.h
|
301
|
-
- src/agent/Core/SpawningKit/
|
346
|
+
- src/agent/Core/SpawningKit/Handshake/BackgroundIOCapturer.h
|
347
|
+
- src/agent/Core/SpawningKit/Handshake/Perform.h
|
348
|
+
- src/agent/Core/SpawningKit/Handshake/Prepare.h
|
349
|
+
- src/agent/Core/SpawningKit/Handshake/Session.h
|
350
|
+
- src/agent/Core/SpawningKit/Handshake/WorkDir.h
|
351
|
+
- src/agent/Core/SpawningKit/Journey.h
|
302
352
|
- src/agent/Core/SpawningKit/PipeWatcher.h
|
353
|
+
- src/agent/Core/SpawningKit/README.md
|
303
354
|
- src/agent/Core/SpawningKit/Result.h
|
355
|
+
- src/agent/Core/SpawningKit/Result/AutoGeneratedCode.h
|
356
|
+
- src/agent/Core/SpawningKit/Result/AutoGeneratedCode.h.cxxcodebuilder
|
304
357
|
- src/agent/Core/SpawningKit/SmartSpawner.h
|
305
358
|
- src/agent/Core/SpawningKit/Spawner.h
|
306
359
|
- src/agent/Core/SpawningKit/UserSwitchingRules.h
|
307
|
-
- src/agent/Core/UnionStation/Connection.h
|
308
|
-
- src/agent/Core/UnionStation/Context.h
|
309
|
-
- src/agent/Core/UnionStation/StopwatchLog.h
|
310
|
-
- src/agent/Core/UnionStation/Transaction.h
|
311
360
|
- src/agent/ExecHelper/ExecHelperMain.cpp
|
312
361
|
- src/agent/README.md
|
313
362
|
- src/agent/Shared/ApiAccountUtils.h
|
@@ -320,7 +369,7 @@ files:
|
|
320
369
|
- src/agent/Shared/Fundamentals/Initialization.h
|
321
370
|
- src/agent/Shared/Fundamentals/Utils.cpp
|
322
371
|
- src/agent/Shared/Fundamentals/Utils.h
|
323
|
-
- src/agent/
|
372
|
+
- src/agent/SpawnEnvSetupper/SpawnEnvSetupperMain.cpp
|
324
373
|
- src/agent/SystemMetrics/SystemMetricsMain.cpp
|
325
374
|
- src/agent/TempDirToucher/TempDirToucherMain.cpp
|
326
375
|
- src/agent/Watchdog/AgentWatcher.cpp
|
@@ -458,8 +507,6 @@ files:
|
|
458
507
|
- src/cxx_supportlib/ServerKit/http_parser.cpp
|
459
508
|
- src/cxx_supportlib/ServerKit/http_parser.h
|
460
509
|
- src/cxx_supportlib/StaticString.h
|
461
|
-
- src/cxx_supportlib/UnionStationFilterSupport.cpp
|
462
|
-
- src/cxx_supportlib/UnionStationFilterSupport.h
|
463
510
|
- src/cxx_supportlib/Utils.cpp
|
464
511
|
- src/cxx_supportlib/Utils.h
|
465
512
|
- src/cxx_supportlib/Utils/AnsiColorConstants.h
|
@@ -4081,10 +4128,6 @@ files:
|
|
4081
4128
|
- src/nginx_module/ngx_http_passenger_module.c
|
4082
4129
|
- src/nginx_module/ngx_http_passenger_module.h
|
4083
4130
|
- src/nodejs_supportlib/phusion_passenger/line_reader.js
|
4084
|
-
- src/nodejs_supportlib/phusion_passenger/log_express.js
|
4085
|
-
- src/nodejs_supportlib/phusion_passenger/log_mongodb.js
|
4086
|
-
- src/nodejs_supportlib/phusion_passenger/ustreporter.js
|
4087
|
-
- src/nodejs_supportlib/phusion_passenger/ustrouter_connector.js
|
4088
4131
|
- src/nodejs_supportlib/vendor-copy/codify/codify.js
|
4089
4132
|
- src/nodejs_supportlib/vendor-copy/codify/package.json
|
4090
4133
|
- src/nodejs_supportlib/vendor-copy/continuation-local-storage/context.js
|
@@ -4262,52 +4305,6 @@ files:
|
|
4262
4305
|
- src/ruby_supportlib/phusion_passenger/vendor/daemon_controller/lock_file.rb
|
4263
4306
|
- src/ruby_supportlib/phusion_passenger/vendor/daemon_controller/spawn.rb
|
4264
4307
|
- src/ruby_supportlib/phusion_passenger/vendor/daemon_controller/version.rb
|
4265
|
-
- src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_core/CONFIG.md
|
4266
|
-
- src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_core/Gemfile
|
4267
|
-
- src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_core/Gemfile.lock
|
4268
|
-
- src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_core/LICENSE.md
|
4269
|
-
- src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_core/README-API.md
|
4270
|
-
- src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_core/README.md
|
4271
|
-
- src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_core/Rakefile
|
4272
|
-
- src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_core/lib/union_station_hooks_core.rb
|
4273
|
-
- src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_core/lib/union_station_hooks_core/api.rb
|
4274
|
-
- src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_core/lib/union_station_hooks_core/connection.rb
|
4275
|
-
- src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_core/lib/union_station_hooks_core/context.rb
|
4276
|
-
- src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_core/lib/union_station_hooks_core/lock.rb
|
4277
|
-
- src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_core/lib/union_station_hooks_core/log.rb
|
4278
|
-
- src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_core/lib/union_station_hooks_core/message_channel.rb
|
4279
|
-
- src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_core/lib/union_station_hooks_core/request_reporter.rb
|
4280
|
-
- src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_core/lib/union_station_hooks_core/request_reporter/basics.rb
|
4281
|
-
- src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_core/lib/union_station_hooks_core/request_reporter/controllers.rb
|
4282
|
-
- src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_core/lib/union_station_hooks_core/request_reporter/misc.rb
|
4283
|
-
- src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_core/lib/union_station_hooks_core/request_reporter/view_rendering.rb
|
4284
|
-
- src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_core/lib/union_station_hooks_core/simple_json.rb
|
4285
|
-
- src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_core/lib/union_station_hooks_core/spec_helper.rb
|
4286
|
-
- src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_core/lib/union_station_hooks_core/time_point.rb
|
4287
|
-
- src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_core/lib/union_station_hooks_core/transaction.rb
|
4288
|
-
- src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_core/lib/union_station_hooks_core/utils.rb
|
4289
|
-
- src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_core/lib/union_station_hooks_core/version.rb
|
4290
|
-
- src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_core/lib/union_station_hooks_core/version_data.rb
|
4291
|
-
- src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_core/ruby_versions.yml.example
|
4292
|
-
- src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_core/ruby_versions.yml.travis
|
4293
|
-
- src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_core/ruby_versions.yml.travis-with-sudo
|
4294
|
-
- src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_core/union_station_hooks_core.gemspec
|
4295
|
-
- src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_rails/Gemfile
|
4296
|
-
- src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_rails/Gemfile.lock
|
4297
|
-
- src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_rails/LICENSE.md
|
4298
|
-
- src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_rails/README.md
|
4299
|
-
- src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_rails/Rakefile
|
4300
|
-
- src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_rails/lib/union_station_hooks_rails.rb
|
4301
|
-
- src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_rails/lib/union_station_hooks_rails/action_controller_extension.rb
|
4302
|
-
- src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_rails/lib/union_station_hooks_rails/action_view_subscriber.rb
|
4303
|
-
- src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_rails/lib/union_station_hooks_rails/active_record_subscriber.rb
|
4304
|
-
- src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_rails/lib/union_station_hooks_rails/active_support_benchmarkable_extension.rb
|
4305
|
-
- src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_rails/lib/union_station_hooks_rails/active_support_cache_subscriber.rb
|
4306
|
-
- src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_rails/lib/union_station_hooks_rails/exception_logger.rb
|
4307
|
-
- src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_rails/lib/union_station_hooks_rails/initialize.rb
|
4308
|
-
- src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_rails/lib/union_station_hooks_rails/version.rb
|
4309
|
-
- src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_rails/lib/union_station_hooks_rails/version_data.rb
|
4310
|
-
- src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_rails/union_station_hooks_rails.gemspec
|
4311
4308
|
- src/schema_printer/SchemaPrinterMain.cpp
|
4312
4309
|
- src/schema_printer/SchemaPrinterMain.cpp.cxxcodebuilder
|
4313
4310
|
homepage: https://www.phusionpassenger.com/
|
@@ -1,86 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
<title>We're sorry, but something went wrong: {{TITLE}}</title>
|
5
|
-
<style type="text/css">
|
6
|
-
{{CSS|raw}}
|
7
|
-
</style>
|
8
|
-
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
9
|
-
<meta name="generator" content="Phusion Passenger">
|
10
|
-
</head>
|
11
|
-
<body>
|
12
|
-
<header>
|
13
|
-
<div class="column">
|
14
|
-
<svg width="50" height="50" viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg"><path d="m731.234002 153.838666v-18.841339c0-4.417534-3.577416-7.997327-7.990382-7.997327h-6.414571c-4.417012 0-7.990383 3.580525-7.990383 7.997327v18.841339h-18.841339c-4.417534 0-7.997327 3.577416-7.997327 7.990383v6.414571c0 4.417011 3.580525 7.990382 7.997327 7.990382h18.841339v18.841339c0 4.417534 3.577416 7.997328 7.990383 7.997328h6.414571c4.417011 0 7.990382-3.580526 7.990382-7.997328v-18.841339h18.841339c4.417534 0 7.997328-3.577416 7.997328-7.990382v-6.414571c0-4.417012-3.580526-7.990383-7.997328-7.990383z" fill="#f87575" transform="matrix(.70710678 -.70710678 .70710678 .70710678 -593.80455139 424.48059756)"/></svg>
|
15
|
-
<h1>We're sorry, but something went wrong.</h1>
|
16
|
-
<p class="subtitle">The issue has been logged for investigation. Please try again later.</p>
|
17
|
-
</div>
|
18
|
-
</header>
|
19
|
-
<div class="column">
|
20
|
-
<a id="show_operator_info" href="#">Technical details for the administrator of this website</a>
|
21
|
-
<div id="operator_info" style="display:block">
|
22
|
-
<div class="left">
|
23
|
-
<h3>Error:</h3>
|
24
|
-
<span class="error">{{TITLE}}</span>
|
25
|
-
<h3>Error ID:</h3>
|
26
|
-
<span class="error">{{ERROR_ID}}</span>
|
27
|
-
<h3>Details:</h3>
|
28
|
-
{{CONTENT|raw}}
|
29
|
-
<h3>System information:</h3>
|
30
|
-
<div id="content">
|
31
|
-
<dl>
|
32
|
-
<dt>Application root</dt>
|
33
|
-
<dd>{{APP_ROOT}}</dd>
|
34
|
-
<dt>Environment (value of RAILS_ENV, RACK_ENV, WSGI_ENV, NODE_ENV and PASSENGER_APP_ENV)</dt>
|
35
|
-
<dd>{{ENVIRONMENT}}</dd>
|
36
|
-
{{if IS_RUBY_APP}}
|
37
|
-
<dt>Ruby interpreter command</dt>
|
38
|
-
<dd><pre>{{RUBY}}</pre></dd>
|
39
|
-
{{/if}}
|
40
|
-
<dt>User and groups</dt>
|
41
|
-
<dd><pre>{{USER_INFO|default=Unknown}}</pre></dd>
|
42
|
-
<dt>Environment variables</dt>
|
43
|
-
<dd><pre>{{ENVVARS|default=Unknown}}</pre></dd>
|
44
|
-
<dt>Ulimits</dt>
|
45
|
-
<dd><pre>{{ULIMIT|default=Unknown}}</pre></dd>
|
46
|
-
{{if SYSTEM_METRICS}}
|
47
|
-
<dt>System metrics</dt>
|
48
|
-
<dd><pre>{{SYSTEM_METRICS|default=Unknown}}</pre></dd>
|
49
|
-
{{/if}}
|
50
|
-
{{if RUBY_INFO}}
|
51
|
-
<dt>General Ruby interpreter information</dt>
|
52
|
-
<dd><pre>{{RUBY_INFO}}</pre></dd>
|
53
|
-
{{/if}}
|
54
|
-
{{if RBCONFIG}}
|
55
|
-
<dt>Ruby configuration (RbConfig::CONFIG)</dt>
|
56
|
-
<dd><pre>{{RBCONFIG}}</pre></dd>
|
57
|
-
{{/if}}
|
58
|
-
{{if ACTIVATED_GEMS}}
|
59
|
-
<dt>Activated Ruby gems</dt>
|
60
|
-
<dd><pre>{{ACTIVATED_GEMS}}</pre></dd>
|
61
|
-
{{/if}}
|
62
|
-
{{if LOAD_PATH}}
|
63
|
-
<dt>Ruby load path ($LOAD_PATH)</dt>
|
64
|
-
<dd><pre>{{LOAD_PATH}}</pre></dd>
|
65
|
-
{{/if}}
|
66
|
-
{{if LOADED_LIBS}}
|
67
|
-
<dt>Ruby loaded libraries ($LOADED_FEATURES)</dt>
|
68
|
-
<dd><pre>{{LOADED_LIBS}}</pre></dd>
|
69
|
-
{{/if}}
|
70
|
-
</dl>
|
71
|
-
</div>
|
72
|
-
</div>
|
73
|
-
</div>
|
74
|
-
</div>
|
75
|
-
<footer>
|
76
|
-
<!--
|
77
|
-
You are free to modify the footer as you see fit,
|
78
|
-
but we kindly ask of you to preserve the following
|
79
|
-
text. Thank you.
|
80
|
-
-->
|
81
|
-
<div class="column">
|
82
|
-
This website is powered by <b>Passenger</b>®, a rock-solid, feature-rich web application server that integrates with Apache and Nginx built by <b>Phusion</b>®.
|
83
|
-
</div>
|
84
|
-
</footer>
|
85
|
-
</body>
|
86
|
-
</html>
|