passenger 6.2.0 → 6.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG +33 -1
- data/CONTRIBUTING.md +7 -311
- data/CONTRIBUTORS +1 -0
- data/LICENSE +1 -1
- data/README.md +1 -1
- data/Rakefile +1 -1
- data/bin/passenger +1 -1
- data/bin/passenger-config +1 -1
- data/bin/passenger-install-apache2-module +1 -1
- data/bin/passenger-install-nginx-module +4 -9
- data/bin/passenger-memory-stats +1 -1
- data/bin/passenger-status +1 -1
- data/build/agent.rb +13 -15
- data/build/apache2.rb +13 -16
- data/build/basics.rb +10 -13
- data/build/common_library.rb +5 -9
- data/build/cxx_tests.rb +37 -12
- data/build/integration_tests.rb +5 -2
- data/build/misc.rb +1 -1
- data/build/nginx.rb +1 -1
- data/build/node_tests.rb +1 -1
- data/build/oxt_tests.rb +6 -8
- data/build/packaging.rb +1 -1
- data/build/ruby_extension.rb +1 -1
- data/build/ruby_tests.rb +1 -1
- data/build/schema_printer.rb +13 -15
- data/build/support/cplusplus.rb +61 -69
- data/build/support/cxx_dependency_map.rb +2 -1
- data/build/support/general.rb +1 -1
- data/build/support/vendor/cxx_hinted_parser/LICENSE.md +1 -1
- data/build/support/vendor/cxx_hinted_parser/lib/cxx_hinted_parser/parser.rb +1 -1
- data/build/support/vendor/cxx_hinted_parser/lib/cxx_hinted_parser.rb +1 -1
- data/build/support/vendor/cxxcodebuilder/LICENSE.md +1 -1
- data/build/support/vendor/cxxcodebuilder/lib/cxxcodebuilder/builder.rb +1 -1
- data/build/support/vendor/cxxcodebuilder/lib/cxxcodebuilder/initializer_builder.rb +1 -1
- data/build/support/vendor/cxxcodebuilder/lib/cxxcodebuilder.rb +1 -1
- data/build/test_basics.rb +1 -1
- data/dev/copy_boost_headers +1 -1
- data/dev/index_cxx_dependencies.rb +5 -1
- data/dev/libev-changes.patch +108 -0
- data/dev/nginx_version_sha256 +1 -1
- data/dev/ruby_server.rb +1 -6
- data/dev/upgrading_libuv.sh +16 -0
- data/doc/BasicArchitectureOverview.md +55 -0
- data/doc/BuildCaching.md +23 -0
- data/doc/BuildSystem.md +49 -0
- data/doc/DebuggingAndStressTesting.md +2 -0
- data/doc/DesignAspects/LimitedGemDependencies.md +1 -0
- data/doc/DevEnvironmentSetup.md +46 -0
- data/doc/DevHandbook.md +28 -0
- data/doc/Packaging.md +1 -1
- data/doc/RunningTests.md +88 -0
- data/doc/{TempFileHandling.md → SecureTempFileHandling.md} +1 -1
- data/doc/{CxxTestingGuide.md → WritingCxxTests.md} +1 -20
- data/src/agent/AgentMain.cpp +1 -1
- data/src/agent/Core/ApiServer.h +1 -1
- data/src/agent/Core/ApplicationPool/AbstractSession.h +1 -1
- data/src/agent/Core/ApplicationPool/BasicGroupInfo.h +1 -1
- data/src/agent/Core/ApplicationPool/BasicProcessInfo.h +1 -1
- data/src/agent/Core/ApplicationPool/Common.h +1 -1
- data/src/agent/Core/ApplicationPool/Context.h +1 -1
- data/src/agent/Core/ApplicationPool/Group/InitializationAndShutdown.cpp +1 -1
- data/src/agent/Core/ApplicationPool/Group/InternalUtils.cpp +1 -1
- data/src/agent/Core/ApplicationPool/Group/LifetimeAndBasics.cpp +1 -1
- data/src/agent/Core/ApplicationPool/Group/Miscellaneous.cpp +1 -1
- data/src/agent/Core/ApplicationPool/Group/OutOfBandWork.cpp +1 -1
- data/src/agent/Core/ApplicationPool/Group/ProcessListManagement.cpp +1 -1
- data/src/agent/Core/ApplicationPool/Group/SessionManagement.cpp +1 -1
- data/src/agent/Core/ApplicationPool/Group/SpawningAndRestarting.cpp +1 -1
- data/src/agent/Core/ApplicationPool/Group/StateInspection.cpp +1 -1
- data/src/agent/Core/ApplicationPool/Group/Verification.cpp +1 -1
- data/src/agent/Core/ApplicationPool/Group.h +1 -1
- data/src/agent/Core/ApplicationPool/Implementation.cpp +1 -1
- data/src/agent/Core/ApplicationPool/Options.h +1 -1
- data/src/agent/Core/ApplicationPool/Pool/AnalyticsCollection.cpp +1 -1
- data/src/agent/Core/ApplicationPool/Pool/GarbageCollection.cpp +1 -1
- data/src/agent/Core/ApplicationPool/Pool/GeneralUtils.cpp +1 -1
- data/src/agent/Core/ApplicationPool/Pool/GroupUtils.cpp +1 -1
- data/src/agent/Core/ApplicationPool/Pool/InitializationAndShutdown.cpp +1 -1
- data/src/agent/Core/ApplicationPool/Pool/Miscellaneous.cpp +1 -1
- data/src/agent/Core/ApplicationPool/Pool/ProcessUtils.cpp +1 -1
- data/src/agent/Core/ApplicationPool/Pool/StateInspection.cpp +1 -1
- data/src/agent/Core/ApplicationPool/Pool.h +1 -1
- data/src/agent/Core/ApplicationPool/Process.cpp +1 -1
- data/src/agent/Core/ApplicationPool/Process.h +1 -1
- data/src/agent/Core/ApplicationPool/Session.h +1 -1
- data/src/agent/Core/ApplicationPool/Socket.h +1 -1
- data/src/agent/Core/ApplicationPool/TestSession.h +1 -1
- data/src/agent/Core/Config.h +3 -2
- data/src/agent/Core/ConfigChange.cpp +1 -1
- data/src/agent/Core/ConfigChange.h +1 -1
- data/src/agent/Core/Controller/AppResponse.h +1 -1
- data/src/agent/Core/Controller/BufferBody.cpp +1 -1
- data/src/agent/Core/Controller/CheckoutSession.cpp +8 -5
- data/src/agent/Core/Controller/Client.h +1 -1
- data/src/agent/Core/Controller/Config.cpp +1 -1
- data/src/agent/Core/Controller/Config.h +2 -2
- data/src/agent/Core/Controller/ForwardResponse.cpp +2 -2
- data/src/agent/Core/Controller/Hooks.cpp +12 -9
- data/src/agent/Core/Controller/Implementation.cpp +1 -1
- data/src/agent/Core/Controller/InitRequest.cpp +1 -1
- data/src/agent/Core/Controller/InitializationAndShutdown.cpp +1 -1
- data/src/agent/Core/Controller/InternalUtils.cpp +1 -1
- data/src/agent/Core/Controller/Miscellaneous.cpp +1 -1
- data/src/agent/Core/Controller/Request.h +1 -1
- data/src/agent/Core/Controller/SendRequest.cpp +1 -1
- data/src/agent/Core/Controller/StateInspection.cpp +1 -1
- data/src/agent/Core/Controller/TurboCaching.h +1 -1
- data/src/agent/Core/Controller.h +1 -1
- data/src/agent/Core/CoreMain.cpp +1 -1
- data/src/agent/Core/OptionParser.h +1 -1
- data/src/agent/Core/ResponseCache.h +1 -1
- data/src/agent/Core/SecurityUpdateChecker.h +1 -1
- data/src/agent/Core/SpawningKit/Config/AutoGeneratedCode.h +1 -1
- data/src/agent/Core/SpawningKit/Config/AutoGeneratedCode.h.cxxcodebuilder +1 -1
- data/src/agent/Core/SpawningKit/Config.h +1 -1
- data/src/agent/Core/SpawningKit/Context.h +1 -1
- data/src/agent/Core/SpawningKit/DirectSpawner.h +1 -1
- data/src/agent/Core/SpawningKit/DummySpawner.h +1 -1
- data/src/agent/Core/SpawningKit/ErrorRenderer.h +1 -1
- data/src/agent/Core/SpawningKit/Exceptions.h +63 -2
- data/src/agent/Core/SpawningKit/Factory.h +1 -1
- data/src/agent/Core/SpawningKit/Handshake/BackgroundIOCapturer.h +1 -1
- data/src/agent/Core/SpawningKit/Handshake/Perform.h +3 -2
- data/src/agent/Core/SpawningKit/Handshake/Prepare.h +1 -1
- data/src/agent/Core/SpawningKit/Handshake/Session.h +1 -1
- data/src/agent/Core/SpawningKit/Handshake/WorkDir.h +1 -1
- data/src/agent/Core/SpawningKit/Journey.h +1 -1
- data/src/agent/Core/SpawningKit/PipeWatcher.h +1 -1
- data/src/agent/Core/SpawningKit/README.md +3 -3
- data/src/agent/Core/SpawningKit/Result/AutoGeneratedCode.h +1 -1
- data/src/agent/Core/SpawningKit/Result/AutoGeneratedCode.h.cxxcodebuilder +1 -1
- data/src/agent/Core/SpawningKit/Result.h +1 -1
- data/src/agent/Core/SpawningKit/SmartSpawner.h +17 -17
- data/src/agent/Core/SpawningKit/Spawner.h +1 -1
- data/src/agent/Core/SpawningKit/UserSwitchingRules.h +1 -1
- data/src/agent/Core/TelemetryCollector.h +1 -1
- data/src/agent/ExecHelper/ExecHelperMain.cpp +1 -1
- data/src/agent/FileReadHelper/FileReadHelperMain.cpp +1 -1
- data/src/agent/MainFunctions.h +1 -1
- data/src/agent/Shared/ApiAccountUtils.h +4 -3
- data/src/agent/Shared/ApiServerUtils.h +1 -2
- data/src/agent/Shared/ApplicationPoolApiKey.h +1 -1
- data/src/agent/Shared/Fundamentals/AbortHandler.cpp +1 -1
- data/src/agent/Shared/Fundamentals/AbortHandler.h +1 -1
- data/src/agent/Shared/Fundamentals/Initialization.cpp +1 -1
- data/src/agent/Shared/Fundamentals/Initialization.h +1 -1
- data/src/agent/Shared/Fundamentals/Utils.cpp +1 -1
- data/src/agent/Shared/Fundamentals/Utils.h +1 -1
- data/src/agent/SpawnEnvSetupper/SpawnEnvSetupperMain.cpp +1 -1
- data/src/agent/SystemMetrics/SystemMetricsMain.cpp +1 -1
- data/src/agent/TempDirToucher/TempDirToucherMain.cpp +1 -1
- data/src/agent/Watchdog/ApiServer.h +7 -6
- data/src/agent/Watchdog/Config.h +2 -2
- data/src/apache2_module/Bucket.cpp +1 -1
- data/src/apache2_module/Bucket.h +1 -1
- data/src/apache2_module/CBindings.cpp +1 -1
- data/src/apache2_module/Config.cpp +1 -1
- data/src/apache2_module/Config.h +1 -1
- data/src/apache2_module/ConfigGeneral/AutoGeneratedDefinitions.cpp +104 -104
- data/src/apache2_module/ConfigGeneral/AutoGeneratedDefinitions.cpp.cxxcodebuilder +2 -2
- data/src/apache2_module/ConfigGeneral/AutoGeneratedManifestDefaultsInitialization.cpp +1 -1
- data/src/apache2_module/ConfigGeneral/AutoGeneratedManifestDefaultsInitialization.cpp.cxxcodebuilder +1 -1
- data/src/apache2_module/ConfigGeneral/AutoGeneratedSetterFuncs.cpp +1 -1
- data/src/apache2_module/ConfigGeneral/AutoGeneratedSetterFuncs.cpp.cxxcodebuilder +1 -1
- data/src/apache2_module/ConfigGeneral/Common.h +1 -1
- data/src/apache2_module/ConfigGeneral/ManifestGeneration.h +1 -1
- data/src/apache2_module/ConfigGeneral/SetterFuncs.h +1 -1
- data/src/apache2_module/DirConfig/AutoGeneratedCreateFunction.cpp +1 -1
- data/src/apache2_module/DirConfig/AutoGeneratedCreateFunction.cpp.cxxcodebuilder +1 -1
- data/src/apache2_module/DirConfig/AutoGeneratedHeaderSerialization.cpp +1 -1
- data/src/apache2_module/DirConfig/AutoGeneratedHeaderSerialization.cpp.cxxcodebuilder +1 -1
- data/src/apache2_module/DirConfig/AutoGeneratedManifestGeneration.cpp +1 -1
- data/src/apache2_module/DirConfig/AutoGeneratedManifestGeneration.cpp.cxxcodebuilder +1 -1
- data/src/apache2_module/DirConfig/AutoGeneratedMergeFunction.cpp +1 -1
- data/src/apache2_module/DirConfig/AutoGeneratedMergeFunction.cpp.cxxcodebuilder +1 -1
- data/src/apache2_module/DirConfig/AutoGeneratedStruct.h +1 -1
- data/src/apache2_module/DirConfig/AutoGeneratedStruct.h.cxxcodebuilder +1 -1
- data/src/apache2_module/DirectoryMapper.h +1 -1
- data/src/apache2_module/Hooks.cpp +8 -2
- data/src/apache2_module/Hooks.h +1 -1
- data/src/apache2_module/ServerConfig/AutoGeneratedManifestGeneration.cpp +1 -1
- data/src/apache2_module/ServerConfig/AutoGeneratedManifestGeneration.cpp.cxxcodebuilder +1 -1
- data/src/apache2_module/ServerConfig/AutoGeneratedStruct.h +1 -1
- data/src/apache2_module/ServerConfig/AutoGeneratedStruct.h.cxxcodebuilder +1 -1
- data/src/apache2_module/Utils.h +1 -1
- data/src/apache2_module/mod_passenger.c +1 -1
- data/src/cxx_supportlib/Algorithms/Hasher.cpp +1 -1
- data/src/cxx_supportlib/Algorithms/Hasher.h +1 -1
- data/src/cxx_supportlib/Algorithms/MovingAverage.h +1 -1
- data/src/cxx_supportlib/AppLocalConfigFileUtils.h +1 -1
- data/src/cxx_supportlib/AppTypeDetector/CBindings.cpp +1 -1
- data/src/cxx_supportlib/AppTypeDetector/CBindings.h +1 -1
- data/src/cxx_supportlib/AppTypeDetector/Detector.h +1 -1
- data/src/cxx_supportlib/BackgroundEventLoop.cpp +1 -1
- data/src/cxx_supportlib/BackgroundEventLoop.h +1 -1
- data/src/cxx_supportlib/ConfigKit/AsyncUtils.h +1 -1
- data/src/cxx_supportlib/ConfigKit/Common.h +1 -1
- data/src/cxx_supportlib/ConfigKit/ConfigKit.h +1 -1
- data/src/cxx_supportlib/ConfigKit/DummyTranslator.h +1 -1
- data/src/cxx_supportlib/ConfigKit/IN_PRACTICE.md +1 -3
- data/src/cxx_supportlib/ConfigKit/PrefixTranslator.h +3 -3
- data/src/cxx_supportlib/ConfigKit/Schema.h +1 -1
- data/src/cxx_supportlib/ConfigKit/SchemaUtils.h +1 -1
- data/src/cxx_supportlib/ConfigKit/Store.h +1 -1
- data/src/cxx_supportlib/ConfigKit/SubComponentUtils.h +1 -1
- data/src/cxx_supportlib/ConfigKit/TableTranslator.h +1 -1
- data/src/cxx_supportlib/ConfigKit/Translator.h +1 -1
- data/src/cxx_supportlib/ConfigKit/Utils.h +1 -1
- data/src/cxx_supportlib/Constants.h +2 -2
- data/src/cxx_supportlib/Constants.h.cxxcodebuilder +1 -1
- data/src/cxx_supportlib/DataStructures/HashedStaticString.h +1 -1
- data/src/cxx_supportlib/DataStructures/LString.cpp +1 -1
- data/src/cxx_supportlib/DataStructures/LString.h +1 -1
- data/src/cxx_supportlib/DataStructures/StringKeyTable.h +1 -1
- data/src/cxx_supportlib/DataStructures/StringMap.h +1 -1
- data/src/cxx_supportlib/Exceptions.cpp +1 -1
- data/src/cxx_supportlib/Exceptions.h +1 -1
- data/src/cxx_supportlib/FileDescriptor.h +1 -1
- data/src/cxx_supportlib/FileTools/FileManip.cpp +1 -1
- data/src/cxx_supportlib/FileTools/FileManip.h +1 -1
- data/src/cxx_supportlib/FileTools/PathManip.cpp +1 -1
- data/src/cxx_supportlib/FileTools/PathManip.h +1 -1
- data/src/cxx_supportlib/FileTools/PathManipCBindings.cpp +1 -1
- data/src/cxx_supportlib/FileTools/PathManipCBindings.h +1 -1
- data/src/cxx_supportlib/FileTools/PathSecurityCheck.cpp +1 -1
- data/src/cxx_supportlib/FileTools/PathSecurityCheck.h +1 -1
- data/src/cxx_supportlib/Hooks.h +1 -1
- data/src/cxx_supportlib/IOTools/BufferedIO.h +1 -1
- data/src/cxx_supportlib/IOTools/IOUtils.cpp +10 -10
- data/src/cxx_supportlib/IOTools/IOUtils.h +1 -1
- data/src/cxx_supportlib/IOTools/MessageIO.h +1 -1
- data/src/cxx_supportlib/IOTools/MessageSerialization.h +1 -1
- data/src/cxx_supportlib/InstanceDirectory.h +1 -1
- data/src/cxx_supportlib/Integrations/LibevJsonUtils.h +1 -1
- data/src/cxx_supportlib/JsonTools/Autocast.h +1 -1
- data/src/cxx_supportlib/JsonTools/CBindings.cpp +1 -1
- data/src/cxx_supportlib/JsonTools/CBindings.h +1 -1
- data/src/cxx_supportlib/JsonTools/JsonUtils.h +1 -1
- data/src/cxx_supportlib/LoggingKit/Assert.h +1 -1
- data/src/cxx_supportlib/LoggingKit/Config.h +2 -1
- data/src/cxx_supportlib/LoggingKit/Context.h +1 -1
- data/src/cxx_supportlib/LoggingKit/Forward.h +1 -1
- data/src/cxx_supportlib/LoggingKit/Implementation.cpp +11 -1
- data/src/cxx_supportlib/LoggingKit/Logging.h +1 -1
- data/src/cxx_supportlib/LoggingKit/LoggingKit.h +1 -1
- data/src/cxx_supportlib/LveLoggingDecorator.h +1 -1
- data/src/cxx_supportlib/MemoryKit/mbuf.cpp +1 -1
- data/src/cxx_supportlib/MemoryKit/mbuf.h +1 -1
- data/src/cxx_supportlib/MemoryKit/palloc.cpp +1 -1
- data/src/cxx_supportlib/MemoryKit/palloc.h +1 -1
- data/src/cxx_supportlib/ProcessManagement/Ruby.cpp +1 -1
- data/src/cxx_supportlib/ProcessManagement/Ruby.h +1 -1
- data/src/cxx_supportlib/ProcessManagement/Spawn.cpp +1 -1
- data/src/cxx_supportlib/ProcessManagement/Spawn.h +1 -1
- data/src/cxx_supportlib/ProcessManagement/Utils.cpp +1 -1
- data/src/cxx_supportlib/ProcessManagement/Utils.h +1 -1
- data/src/cxx_supportlib/RandomGenerator.h +1 -1
- data/src/cxx_supportlib/ResourceLocator.h +1 -1
- data/src/cxx_supportlib/SafeLibev.h +1 -1
- data/src/cxx_supportlib/SecurityKit/Crypto.cpp +9 -27
- data/src/cxx_supportlib/SecurityKit/Crypto.h +2 -2
- data/src/cxx_supportlib/SecurityKit/MemZeroGuard.h +1 -1
- data/src/cxx_supportlib/ServerKit/AcceptLoadBalancer.h +1 -1
- data/src/cxx_supportlib/ServerKit/Channel.h +1 -1
- data/src/cxx_supportlib/ServerKit/Client.h +1 -1
- data/src/cxx_supportlib/ServerKit/ClientRef.h +1 -1
- data/src/cxx_supportlib/ServerKit/Config.h +1 -1
- data/src/cxx_supportlib/ServerKit/Context.h +1 -1
- data/src/cxx_supportlib/ServerKit/CookieUtils.h +1 -1
- data/src/cxx_supportlib/ServerKit/Errors.h +1 -1
- data/src/cxx_supportlib/ServerKit/FdSinkChannel.h +1 -1
- data/src/cxx_supportlib/ServerKit/FdSourceChannel.h +1 -1
- data/src/cxx_supportlib/ServerKit/FileBufferedChannel.h +54 -2
- data/src/cxx_supportlib/ServerKit/FileBufferedFdSinkChannel.h +1 -1
- data/src/cxx_supportlib/ServerKit/HeaderTable.h +1 -1
- data/src/cxx_supportlib/ServerKit/Hooks.h +1 -1
- data/src/cxx_supportlib/ServerKit/HttpChunkedBodyParser.h +1 -1
- data/src/cxx_supportlib/ServerKit/HttpChunkedBodyParserState.h +1 -1
- data/src/cxx_supportlib/ServerKit/HttpClient.h +1 -1
- data/src/cxx_supportlib/ServerKit/HttpHeaderParser.h +1 -1
- data/src/cxx_supportlib/ServerKit/HttpHeaderParserState.h +1 -1
- data/src/cxx_supportlib/ServerKit/HttpRequest.h +1 -1
- data/src/cxx_supportlib/ServerKit/HttpRequestRef.h +1 -1
- data/src/cxx_supportlib/ServerKit/HttpServer.h +1 -1
- data/src/cxx_supportlib/ServerKit/Implementation.cpp +1 -1
- data/src/cxx_supportlib/ServerKit/Server.h +4 -2
- data/src/cxx_supportlib/StaticString.h +1 -1
- data/src/cxx_supportlib/StrIntTools/DateParsing.h +1 -1
- data/src/cxx_supportlib/StrIntTools/StrIntUtils.cpp +1 -1
- data/src/cxx_supportlib/StrIntTools/StrIntUtils.h +1 -1
- data/src/cxx_supportlib/StrIntTools/StrIntUtilsNoStrictAliasing.cpp +1 -1
- data/src/cxx_supportlib/StrIntTools/StringScanning.h +1 -1
- data/src/cxx_supportlib/StrIntTools/Template.h +1 -1
- data/src/cxx_supportlib/SystemTools/ContainerHelpers.h +1 -1
- data/src/cxx_supportlib/SystemTools/ProcessMetricsCollector.h +1 -1
- data/src/cxx_supportlib/SystemTools/SystemMetricsCollector.h +1 -1
- data/src/cxx_supportlib/SystemTools/SystemTime.cpp +1 -1
- data/src/cxx_supportlib/SystemTools/SystemTime.h +1 -1
- data/src/cxx_supportlib/SystemTools/UserDatabase.cpp +1 -1
- data/src/cxx_supportlib/SystemTools/UserDatabase.h +1 -1
- data/src/cxx_supportlib/Utils/AnsiColorConstants.h +1 -1
- data/src/cxx_supportlib/Utils/AsyncSignalSafeUtils.h +1 -1
- data/src/cxx_supportlib/Utils/BlockingQueue.h +1 -1
- data/src/cxx_supportlib/Utils/CachedFileStat.cpp +1 -1
- data/src/cxx_supportlib/Utils/CachedFileStat.h +1 -1
- data/src/cxx_supportlib/Utils/CachedFileStat.hpp +1 -1
- data/src/cxx_supportlib/Utils/ClassUtils.h +1 -1
- data/src/cxx_supportlib/Utils/Curl.h +1 -1
- data/src/cxx_supportlib/Utils/FastStringStream.h +1 -1
- data/src/cxx_supportlib/Utils/FileChangeChecker.h +1 -1
- data/src/cxx_supportlib/Utils/HttpConstants.h +1 -1
- data/src/cxx_supportlib/Utils/IniFile.h +1 -1
- data/src/cxx_supportlib/Utils/MessagePassing.h +1 -1
- data/src/cxx_supportlib/Utils/OptionParsing.h +1 -1
- data/src/cxx_supportlib/Utils/ReleaseableScopedPointer.h +1 -1
- data/src/cxx_supportlib/Utils/ScopeGuard.h +1 -1
- data/src/cxx_supportlib/Utils/SpeedMeter.h +1 -1
- data/src/cxx_supportlib/Utils/Timer.h +1 -1
- data/src/cxx_supportlib/Utils/VariantMap.h +1 -1
- data/src/cxx_supportlib/Utils.cpp +1 -1
- data/src/cxx_supportlib/Utils.h +1 -1
- data/src/cxx_supportlib/WatchdogLauncher.cpp +1 -1
- data/src/cxx_supportlib/WatchdogLauncher.h +1 -1
- data/src/cxx_supportlib/WrapperRegistry/CBindings.cpp +1 -1
- data/src/cxx_supportlib/WrapperRegistry/CBindings.h +1 -1
- data/src/cxx_supportlib/WrapperRegistry/Entry.h +1 -1
- data/src/cxx_supportlib/WrapperRegistry/Registry.h +1 -1
- data/src/cxx_supportlib/oxt/backtrace.hpp +1 -1
- data/src/cxx_supportlib/oxt/detail/backtrace_disabled.hpp +1 -1
- data/src/cxx_supportlib/oxt/detail/backtrace_enabled.hpp +1 -1
- data/src/cxx_supportlib/oxt/detail/context.hpp +1 -1
- data/src/cxx_supportlib/oxt/detail/tracable_exception_disabled.hpp +1 -1
- data/src/cxx_supportlib/oxt/detail/tracable_exception_enabled.hpp +1 -1
- data/src/cxx_supportlib/oxt/dynamic_thread_group.hpp +1 -1
- data/src/cxx_supportlib/oxt/implementation.cpp +1 -1
- data/src/cxx_supportlib/oxt/initialize.hpp +1 -1
- data/src/cxx_supportlib/oxt/macros.hpp +1 -1
- data/src/cxx_supportlib/oxt/spin_lock.hpp +1 -1
- data/src/cxx_supportlib/oxt/system_calls.cpp +1 -1
- data/src/cxx_supportlib/oxt/system_calls.hpp +1 -1
- data/src/cxx_supportlib/oxt/thread.hpp +1 -1
- data/src/cxx_supportlib/oxt/tracable_exception.hpp +1 -1
- data/src/cxx_supportlib/vendor-copy/adhoc_lve.h +1 -1
- data/src/cxx_supportlib/vendor-copy/libuv/AUTHORS +353 -3
- data/src/cxx_supportlib/vendor-copy/libuv/ChangeLog +3981 -2
- data/src/cxx_supportlib/vendor-copy/libuv/LICENSE +1 -28
- data/src/cxx_supportlib/vendor-copy/libuv/LICENSE-docs +396 -0
- data/src/cxx_supportlib/vendor-copy/libuv/LICENSE-extra +36 -0
- data/src/cxx_supportlib/vendor-copy/libuv/Makefile.am +275 -58
- data/src/cxx_supportlib/vendor-copy/libuv/Makefile.in +4380 -2125
- data/src/cxx_supportlib/vendor-copy/libuv/aclocal.m4 +425 -221
- data/src/cxx_supportlib/vendor-copy/libuv/ar-lib +30 -10
- data/src/cxx_supportlib/vendor-copy/libuv/compile +31 -14
- data/src/cxx_supportlib/vendor-copy/libuv/config.guess +1084 -690
- data/src/cxx_supportlib/vendor-copy/libuv/config.sub +1844 -1297
- data/src/cxx_supportlib/vendor-copy/libuv/configure +6935 -3664
- data/src/cxx_supportlib/vendor-copy/libuv/configure.ac +43 -19
- data/src/cxx_supportlib/vendor-copy/libuv/depcomp +12 -11
- data/src/cxx_supportlib/vendor-copy/libuv/include/{uv-darwin.h → uv/darwin.h} +3 -3
- data/src/cxx_supportlib/vendor-copy/libuv/include/{uv-errno.h → uv/errno.h} +119 -60
- data/src/cxx_supportlib/vendor-copy/libuv/include/{uv-linux.h → uv/linux.h} +1 -1
- data/src/cxx_supportlib/vendor-copy/libuv/include/uv/os390.h +33 -0
- data/src/cxx_supportlib/vendor-copy/libuv/include/uv/posix.h +31 -0
- data/src/cxx_supportlib/vendor-copy/libuv/include/{uv-threadpool.h → uv/threadpool.h} +1 -1
- data/src/cxx_supportlib/vendor-copy/libuv/include/{tree.h → uv/tree.h} +3 -250
- data/src/cxx_supportlib/vendor-copy/libuv/include/{uv-unix.h → uv/unix.h} +186 -60
- data/src/cxx_supportlib/vendor-copy/libuv/include/{uv-version.h → uv/version.h} +3 -3
- data/src/cxx_supportlib/vendor-copy/libuv/include/uv/win.h +703 -0
- data/src/cxx_supportlib/vendor-copy/libuv/include/uv.h +528 -40
- data/src/cxx_supportlib/vendor-copy/libuv/install-sh +110 -70
- data/src/cxx_supportlib/vendor-copy/libuv/libuv-static.pc.in +12 -0
- data/src/cxx_supportlib/vendor-copy/libuv/libuv.pc.in +4 -2
- data/src/cxx_supportlib/vendor-copy/libuv/ltmain.sh +995 -619
- data/src/cxx_supportlib/vendor-copy/libuv/m4/ax_pthread.m4 +485 -0
- data/src/cxx_supportlib/vendor-copy/libuv/m4/libtool.m4 +438 -289
- data/src/cxx_supportlib/vendor-copy/libuv/m4/libuv-check-flags.m4 +21 -4
- data/src/cxx_supportlib/vendor-copy/libuv/m4/libuv-check-versions.m4 +7 -0
- data/src/cxx_supportlib/vendor-copy/libuv/m4/ltoptions.m4 +69 -39
- data/src/cxx_supportlib/vendor-copy/libuv/m4/ltsugar.m4 +1 -1
- data/src/cxx_supportlib/vendor-copy/libuv/m4/ltversion.m4 +7 -6
- data/src/cxx_supportlib/vendor-copy/libuv/m4/lt~obsolete.m4 +2 -2
- data/src/cxx_supportlib/vendor-copy/libuv/missing +55 -34
- data/src/cxx_supportlib/vendor-copy/libuv/src/fs-poll.c +52 -20
- data/src/cxx_supportlib/vendor-copy/libuv/src/idna.c +560 -0
- data/src/cxx_supportlib/vendor-copy/libuv/src/idna.h +31 -0
- data/src/cxx_supportlib/vendor-copy/libuv/src/inet.c +5 -16
- data/src/cxx_supportlib/vendor-copy/libuv/src/queue.h +68 -86
- data/src/cxx_supportlib/vendor-copy/libuv/src/random.c +123 -0
- data/src/cxx_supportlib/vendor-copy/libuv/src/strscpy.c +38 -0
- data/src/cxx_supportlib/vendor-copy/libuv/src/strscpy.h +39 -0
- data/src/cxx_supportlib/vendor-copy/libuv/src/strtok.c +52 -0
- data/src/cxx_supportlib/vendor-copy/libuv/src/strtok.h +27 -0
- data/src/cxx_supportlib/vendor-copy/libuv/src/thread-common.c +175 -0
- data/src/cxx_supportlib/vendor-copy/libuv/src/threadpool.c +172 -57
- data/src/cxx_supportlib/vendor-copy/libuv/src/{unix/timer.c → timer.c} +57 -29
- data/src/cxx_supportlib/vendor-copy/libuv/src/unix/aix-common.c +89 -0
- data/src/cxx_supportlib/vendor-copy/libuv/src/unix/aix.c +418 -256
- data/src/cxx_supportlib/vendor-copy/libuv/src/unix/async.c +168 -129
- data/src/cxx_supportlib/vendor-copy/libuv/src/unix/bsd-ifaddrs.c +163 -0
- data/src/cxx_supportlib/vendor-copy/libuv/src/unix/bsd-proctitle.c +99 -0
- data/src/cxx_supportlib/vendor-copy/libuv/src/unix/core.c +1312 -378
- data/src/cxx_supportlib/vendor-copy/libuv/src/unix/cygwin.c +93 -0
- data/src/cxx_supportlib/vendor-copy/libuv/src/unix/darwin-proctitle.c +18 -32
- data/src/cxx_supportlib/vendor-copy/libuv/src/unix/darwin-stub.h +97 -0
- data/src/cxx_supportlib/vendor-copy/libuv/src/unix/darwin-syscalls.h +17 -0
- data/src/cxx_supportlib/vendor-copy/libuv/src/unix/darwin.c +41 -139
- data/src/cxx_supportlib/vendor-copy/libuv/src/unix/dl.c +1 -1
- data/src/cxx_supportlib/vendor-copy/libuv/src/unix/freebsd.c +75 -235
- data/src/cxx_supportlib/vendor-copy/libuv/src/unix/fs.c +1308 -299
- data/src/cxx_supportlib/vendor-copy/libuv/src/unix/fsevents.c +150 -148
- data/src/cxx_supportlib/vendor-copy/libuv/src/unix/getaddrinfo.c +58 -8
- data/src/cxx_supportlib/vendor-copy/libuv/src/unix/getnameinfo.c +3 -2
- data/src/cxx_supportlib/vendor-copy/libuv/src/unix/haiku.c +172 -0
- data/src/cxx_supportlib/vendor-copy/libuv/src/unix/hurd.c +172 -0
- data/src/cxx_supportlib/vendor-copy/libuv/src/unix/ibmi.c +542 -0
- data/src/cxx_supportlib/vendor-copy/libuv/src/unix/internal.h +297 -106
- data/src/cxx_supportlib/vendor-copy/libuv/src/unix/kqueue.c +325 -94
- data/src/cxx_supportlib/vendor-copy/libuv/src/unix/linux.c +2708 -0
- data/src/cxx_supportlib/vendor-copy/libuv/src/unix/loop-watcher.c +11 -11
- data/src/cxx_supportlib/vendor-copy/libuv/src/unix/loop.c +105 -24
- data/src/cxx_supportlib/vendor-copy/libuv/src/unix/netbsd.c +51 -157
- data/src/cxx_supportlib/vendor-copy/libuv/src/unix/no-fsevents.c +42 -0
- data/src/cxx_supportlib/vendor-copy/libuv/src/unix/no-proctitle.c +45 -0
- data/src/cxx_supportlib/vendor-copy/libuv/src/unix/openbsd.c +42 -183
- data/src/cxx_supportlib/vendor-copy/libuv/src/unix/os390-proctitle.c +136 -0
- data/src/cxx_supportlib/vendor-copy/libuv/src/unix/os390-syscalls.c +536 -0
- data/src/cxx_supportlib/vendor-copy/libuv/src/unix/os390-syscalls.h +75 -0
- data/src/cxx_supportlib/vendor-copy/libuv/src/unix/os390.c +1070 -0
- data/src/cxx_supportlib/vendor-copy/libuv/src/unix/pipe.c +324 -55
- data/src/cxx_supportlib/vendor-copy/libuv/src/unix/poll.c +58 -11
- data/src/cxx_supportlib/vendor-copy/libuv/src/unix/posix-hrtime.c +36 -0
- data/src/cxx_supportlib/vendor-copy/libuv/src/unix/posix-poll.c +385 -0
- data/src/cxx_supportlib/vendor-copy/libuv/src/unix/process.c +795 -248
- data/src/cxx_supportlib/vendor-copy/libuv/src/unix/procfs-exepath.c +45 -0
- data/src/cxx_supportlib/vendor-copy/libuv/src/unix/proctitle.c +77 -22
- data/src/cxx_supportlib/vendor-copy/libuv/src/unix/qnx.c +142 -0
- data/src/cxx_supportlib/vendor-copy/libuv/src/unix/random-devurandom.c +93 -0
- data/src/cxx_supportlib/vendor-copy/libuv/src/unix/random-getentropy.c +57 -0
- data/src/cxx_supportlib/vendor-copy/libuv/src/unix/random-getrandom.c +86 -0
- data/src/cxx_supportlib/vendor-copy/libuv/src/unix/random-sysctl-linux.c +99 -0
- data/src/cxx_supportlib/vendor-copy/libuv/src/unix/signal.c +147 -39
- data/src/cxx_supportlib/vendor-copy/libuv/src/unix/stream.c +426 -474
- data/src/cxx_supportlib/vendor-copy/libuv/src/unix/sunos.c +240 -98
- data/src/cxx_supportlib/vendor-copy/libuv/src/unix/sysinfo-loadavg.c +36 -0
- data/src/cxx_supportlib/vendor-copy/libuv/src/unix/sysinfo-memory.c +42 -0
- data/src/cxx_supportlib/vendor-copy/libuv/src/unix/tcp.c +402 -91
- data/src/cxx_supportlib/vendor-copy/libuv/src/unix/thread.c +497 -145
- data/src/cxx_supportlib/vendor-copy/libuv/src/unix/tty.c +269 -45
- data/src/cxx_supportlib/vendor-copy/libuv/src/unix/udp.c +695 -165
- data/src/cxx_supportlib/vendor-copy/libuv/src/uv-common.c +463 -61
- data/src/cxx_supportlib/vendor-copy/libuv/src/uv-common.h +248 -44
- data/src/cxx_supportlib/vendor-copy/libuv/src/uv-data-getter-setters.c +119 -0
- data/src/cxx_supportlib/vendor-copy/libuv/tsansupp.txt +2 -0
- data/src/cxx_supportlib/vendor-modified/libev/Changes +109 -0
- data/src/cxx_supportlib/vendor-modified/libev/Makefile.am +2 -1
- data/src/cxx_supportlib/vendor-modified/libev/Makefile.in +47 -33
- data/src/cxx_supportlib/vendor-modified/libev/README +2 -1
- data/src/cxx_supportlib/vendor-modified/libev/aclocal.m4 +1653 -1224
- data/src/cxx_supportlib/vendor-modified/libev/config.guess +376 -316
- data/src/cxx_supportlib/vendor-modified/libev/config.h.in +13 -2
- data/src/cxx_supportlib/vendor-modified/libev/config.sub +156 -154
- data/src/cxx_supportlib/vendor-modified/libev/configure +1431 -940
- data/src/cxx_supportlib/vendor-modified/libev/configure.ac +3 -3
- data/src/cxx_supportlib/vendor-modified/libev/depcomp +5 -5
- data/src/cxx_supportlib/vendor-modified/libev/ev++.h +109 -107
- data/src/cxx_supportlib/vendor-modified/libev/ev.c +807 -319
- data/src/cxx_supportlib/vendor-modified/libev/ev.h +111 -105
- data/src/cxx_supportlib/vendor-modified/libev/ev_epoll.c +42 -29
- data/src/cxx_supportlib/vendor-modified/libev/ev_iouring.c +694 -0
- data/src/cxx_supportlib/vendor-modified/libev/ev_kqueue.c +15 -9
- data/src/cxx_supportlib/vendor-modified/libev/ev_linuxaio.c +620 -0
- data/src/cxx_supportlib/vendor-modified/libev/ev_poll.c +19 -14
- data/src/cxx_supportlib/vendor-modified/libev/ev_port.c +8 -5
- data/src/cxx_supportlib/vendor-modified/libev/ev_select.c +6 -6
- data/src/cxx_supportlib/vendor-modified/libev/ev_vars.h +48 -3
- data/src/cxx_supportlib/vendor-modified/libev/ev_win32.c +2 -2
- data/src/cxx_supportlib/vendor-modified/libev/ev_wrap.h +72 -0
- data/src/cxx_supportlib/vendor-modified/libev/install-sh +23 -13
- data/src/cxx_supportlib/vendor-modified/libev/libev.m4 +6 -1
- data/src/cxx_supportlib/vendor-modified/libev/ltmain.sh +3581 -1993
- data/src/cxx_supportlib/vendor-modified/libev/missing +8 -8
- data/src/cxx_supportlib/vendor-modified/libev/mkinstalldirs +3 -3
- data/src/cxx_supportlib/vendor-modified/modp_b64_strict_aliasing.cpp +1 -1
- data/src/helper-scripts/backtrace-sanitizer.rb +1 -1
- data/src/helper-scripts/crash-watch.rb +1 -1
- data/src/helper-scripts/download_binaries/extconf.rb +1 -1
- data/src/helper-scripts/meteor-loader.rb +1 -1
- data/src/helper-scripts/node-loader.js +1 -1
- data/src/helper-scripts/prespawn +1 -1
- data/src/helper-scripts/rack-loader.rb +1 -1
- data/src/helper-scripts/rack-preloader.rb +1 -1
- data/src/helper-scripts/wsgi-loader.py +1 -1
- data/src/nginx_module/ConfigGeneral/AutoGeneratedDefinitions.c +1 -1
- data/src/nginx_module/ConfigGeneral/AutoGeneratedDefinitions.c.cxxcodebuilder +1 -1
- data/src/nginx_module/ConfigGeneral/AutoGeneratedManifestDefaultsInitialization.c +1 -1
- data/src/nginx_module/ConfigGeneral/AutoGeneratedManifestDefaultsInitialization.c.cxxcodebuilder +1 -1
- data/src/nginx_module/ConfigGeneral/AutoGeneratedSetterFuncs.c +1 -1
- data/src/nginx_module/ConfigGeneral/AutoGeneratedSetterFuncs.c.cxxcodebuilder +1 -1
- data/src/nginx_module/Configuration.c +1 -1
- data/src/nginx_module/Configuration.h +1 -1
- data/src/nginx_module/ContentHandler.c +1 -1
- data/src/nginx_module/ContentHandler.h +1 -1
- data/src/nginx_module/LocationConfig/AutoGeneratedCreateFunction.c +1 -1
- data/src/nginx_module/LocationConfig/AutoGeneratedCreateFunction.c.cxxcodebuilder +1 -1
- data/src/nginx_module/LocationConfig/AutoGeneratedHeaderSerialization.c +1 -1
- data/src/nginx_module/LocationConfig/AutoGeneratedHeaderSerialization.c.cxxcodebuilder +1 -1
- data/src/nginx_module/LocationConfig/AutoGeneratedManifestGeneration.c +1 -1
- data/src/nginx_module/LocationConfig/AutoGeneratedManifestGeneration.c.cxxcodebuilder +1 -1
- data/src/nginx_module/LocationConfig/AutoGeneratedMergeFunction.c +1 -1
- data/src/nginx_module/LocationConfig/AutoGeneratedMergeFunction.c.cxxcodebuilder +1 -1
- data/src/nginx_module/LocationConfig/AutoGeneratedStruct.h +1 -1
- data/src/nginx_module/LocationConfig/AutoGeneratedStruct.h.cxxcodebuilder +1 -1
- data/src/nginx_module/MainConfig/AutoGeneratedCreateFunction.c +1 -1
- data/src/nginx_module/MainConfig/AutoGeneratedCreateFunction.c.cxxcodebuilder +1 -1
- data/src/nginx_module/MainConfig/AutoGeneratedManifestGeneration.c +1 -1
- data/src/nginx_module/MainConfig/AutoGeneratedManifestGeneration.c.cxxcodebuilder +1 -1
- data/src/nginx_module/MainConfig/AutoGeneratedStruct.h +1 -1
- data/src/nginx_module/MainConfig/AutoGeneratedStruct.h.cxxcodebuilder +1 -1
- data/src/nginx_module/StaticContentHandler.c +1 -1
- data/src/nginx_module/StaticContentHandler.h +1 -1
- data/src/nginx_module/ngx_http_passenger_module.c +1 -1
- data/src/nginx_module/ngx_http_passenger_module.h +1 -1
- data/src/nodejs_supportlib/phusion_passenger/line_reader.js +1 -1
- data/src/ruby_native_extension/extconf.rb +1 -1
- data/src/ruby_native_extension/passenger_native_support.c +1 -1
- data/src/ruby_supportlib/phusion_passenger/abstract_installer.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/admin_tools/instance.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/admin_tools/instance_registry.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/admin_tools/memory_stats.rb +2 -12
- data/src/ruby_supportlib/phusion_passenger/admin_tools.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/apache2/config_options.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/apache2/config_utils.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/common_library.rb +8 -10
- data/src/ruby_supportlib/phusion_passenger/config/about_command.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/config/agent_compiler.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/config/api_call_command.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/config/build_native_support_command.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/config/command.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/config/compile_agent_command.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/config/compile_nginx_engine_command.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/config/detach_process_command.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/config/download_agent_command.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/config/download_nginx_engine_command.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/config/install_agent_command.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/config/install_standalone_runtime_command.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/config/installation_utils.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/config/list_instances_command.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/config/main.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/config/nginx_engine_compiler.rb +3 -2
- data/src/ruby_supportlib/phusion_passenger/config/reopen_logs_command.rb +6 -1
- data/src/ruby_supportlib/phusion_passenger/config/restart_app_command.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/config/system_metrics_command.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/config/system_properties_command.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/config/utils.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/config/validate_install_command.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/console_text_template.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/constants.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/debug_logging.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/loader_shared_helpers.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/message_channel.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/message_client.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/native_support.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/nginx/config_options.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/packaging.rb +4 -3
- data/src/ruby_supportlib/phusion_passenger/platform_info/apache.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/platform_info/apache_detector.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/platform_info/binary_compatibility.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/platform_info/compiler.rb +195 -11
- data/src/ruby_supportlib/phusion_passenger/platform_info/crypto.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/platform_info/curl.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/platform_info/cxx_portability.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/platform_info/linux.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/platform_info/networking.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/platform_info/openssl.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/platform_info/operating_system.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/platform_info/pcre.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/platform_info/ruby.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/platform_info/zlib.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/platform_info.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/plugin.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/preloader_shared_helpers.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/public_api.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/rack/handler.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/rack/out_of_band_gc.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/rack/thread_handler_extension.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/rack_handler.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/request_handler/thread_handler.rb +2 -7
- data/src/ruby_supportlib/phusion_passenger/request_handler.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/ruby_core_enhancements.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/ruby_core_io_enhancements.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/simple_benchmarking.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/standalone/app_finder.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/standalone/command.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/standalone/config_options_list.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/standalone/config_utils.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/standalone/control_utils.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/standalone/main.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/standalone/start_command/builtin_engine.rb +2 -2
- data/src/ruby_supportlib/phusion_passenger/standalone/start_command/nginx_engine.rb +4 -8
- data/src/ruby_supportlib/phusion_passenger/standalone/start_command.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/standalone/status_command.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/standalone/stop_command.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/standalone/version_command.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/utils/ansi_colors.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/utils/download.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/utils/file_system_watcher.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/utils/hosts_file_parser.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/utils/lock.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/utils/native_support_utils.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/utils/progress_bar.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/utils/strscan.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/utils/terminal_choice_menu.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/utils/unseekable_socket.rb +3 -13
- data/src/ruby_supportlib/phusion_passenger/utils.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/vendor/crash_watch/app.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/vendor/crash_watch/base.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/vendor/crash_watch/gdb_controller.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/vendor/crash_watch/lldb_controller.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/vendor/crash_watch/utils.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/vendor/crash_watch/version.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/vendor/daemon_controller/lock_file.rb +8 -6
- data/src/ruby_supportlib/phusion_passenger/vendor/daemon_controller/spawn.rb +4 -3
- data/src/ruby_supportlib/phusion_passenger/vendor/daemon_controller/version.rb +6 -4
- data/src/ruby_supportlib/phusion_passenger/vendor/daemon_controller.rb +395 -579
- data/src/ruby_supportlib/phusion_passenger.rb +8 -8
- data/src/schema_printer/SchemaPrinterMain.cpp +1 -1
- data/src/schema_printer/SchemaPrinterMain.cpp.cxxcodebuilder +1 -1
- metadata +69 -32
- data/doc/DeveloperQuickstart.md +0 -70
- data/src/README.md +0 -7
- data/src/cxx_supportlib/vendor-copy/libuv/README.md +0 -245
- data/src/cxx_supportlib/vendor-copy/libuv/checksparse.sh +0 -234
- data/src/cxx_supportlib/vendor-copy/libuv/common.gypi +0 -210
- data/src/cxx_supportlib/vendor-copy/libuv/gyp_uv.py +0 -93
- data/src/cxx_supportlib/vendor-copy/libuv/include/android-ifaddrs.h +0 -54
- data/src/cxx_supportlib/vendor-copy/libuv/include/pthread-fixes.h +0 -72
- data/src/cxx_supportlib/vendor-copy/libuv/src/unix/android-ifaddrs.c +0 -703
- data/src/cxx_supportlib/vendor-copy/libuv/src/unix/atomic-ops.h +0 -77
- data/src/cxx_supportlib/vendor-copy/libuv/src/unix/linux-core.c +0 -899
- data/src/cxx_supportlib/vendor-copy/libuv/src/unix/linux-inotify.c +0 -285
- data/src/cxx_supportlib/vendor-copy/libuv/src/unix/linux-syscalls.c +0 -471
- data/src/cxx_supportlib/vendor-copy/libuv/src/unix/linux-syscalls.h +0 -158
- data/src/cxx_supportlib/vendor-copy/libuv/src/unix/pthread-fixes.c +0 -104
- data/src/cxx_supportlib/vendor-copy/libuv/src/unix/spinlock.h +0 -53
- data/src/cxx_supportlib/vendor-copy/libuv/uv.gyp +0 -508
- /data/src/cxx_supportlib/vendor-copy/libuv/include/{uv-aix.h → uv/aix.h} +0 -0
- /data/src/cxx_supportlib/vendor-copy/libuv/include/{uv-bsd.h → uv/bsd.h} +0 -0
- /data/src/cxx_supportlib/vendor-copy/libuv/include/{uv-sunos.h → uv/sunos.h} +0 -0
|
@@ -13,56 +13,80 @@
|
|
|
13
13
|
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
14
14
|
|
|
15
15
|
AC_PREREQ(2.57)
|
|
16
|
-
AC_INIT([libuv], [1.
|
|
16
|
+
AC_INIT([libuv], [1.49.2], [https://github.com/libuv/libuv/issues])
|
|
17
17
|
AC_CONFIG_MACRO_DIR([m4])
|
|
18
18
|
m4_include([m4/libuv-extra-automake-flags.m4])
|
|
19
19
|
m4_include([m4/as_case.m4])
|
|
20
20
|
m4_include([m4/libuv-check-flags.m4])
|
|
21
21
|
AM_INIT_AUTOMAKE([-Wall -Werror foreign subdir-objects] UV_EXTRA_AUTOMAKE_FLAGS)
|
|
22
|
+
AM_MAINTAINER_MODE([enable]) # pass --disable-maintainer-mode if autotools may be unavailable
|
|
22
23
|
AC_CANONICAL_HOST
|
|
23
24
|
AC_ENABLE_SHARED
|
|
24
25
|
AC_ENABLE_STATIC
|
|
25
26
|
AC_PROG_CC
|
|
26
27
|
AM_PROG_CC_C_O
|
|
27
|
-
|
|
28
|
+
|
|
29
|
+
CC_ATTRIBUTE_VISIBILITY([default], [
|
|
30
|
+
CC_FLAG_VISIBILITY([CFLAGS="${CFLAGS} -fvisibility=hidden"])
|
|
31
|
+
])
|
|
32
|
+
# Xlc has a flag "-f<filename>". Need to use CC_CHECK_FLAG_SUPPORTED_APPEND so
|
|
33
|
+
# we exclude -fno-strict-aliasing for xlc
|
|
34
|
+
CC_CHECK_FLAG_SUPPORTED_APPEND([-fno-strict-aliasing])
|
|
28
35
|
CC_CHECK_CFLAGS_APPEND([-g])
|
|
29
36
|
CC_CHECK_CFLAGS_APPEND([-std=gnu89])
|
|
30
|
-
CC_CHECK_CFLAGS_APPEND([-pedantic])
|
|
31
37
|
CC_CHECK_CFLAGS_APPEND([-Wall])
|
|
32
38
|
CC_CHECK_CFLAGS_APPEND([-Wextra])
|
|
39
|
+
CC_CHECK_CFLAGS_APPEND([-Wno-long-long])
|
|
33
40
|
CC_CHECK_CFLAGS_APPEND([-Wno-unused-parameter])
|
|
41
|
+
CC_CHECK_CFLAGS_APPEND([-Wstrict-prototypes])
|
|
34
42
|
# AM_PROG_AR is not available in automake v0.11 but it's essential in v0.12.
|
|
35
43
|
m4_ifdef([AM_PROG_AR], [AM_PROG_AR])
|
|
36
44
|
# autoconf complains if AC_PROG_LIBTOOL precedes AM_PROG_AR.
|
|
37
45
|
AC_PROG_LIBTOOL
|
|
38
46
|
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
|
|
39
47
|
LT_INIT
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
48
|
+
AX_PTHREAD([
|
|
49
|
+
LIBS="$LIBS $PTHREAD_LIBS"
|
|
50
|
+
CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
|
|
51
|
+
])
|
|
52
|
+
AC_SEARCH_LIBS([dlopen], [dl])
|
|
53
|
+
AC_SEARCH_LIBS([kstat_lookup], [kstat])
|
|
54
|
+
AC_SEARCH_LIBS([gethostbyname], [nsl])
|
|
55
|
+
AC_SEARCH_LIBS([perfstat_cpu], [perfstat])
|
|
56
|
+
AC_SEARCH_LIBS([clock_gettime], [rt])
|
|
57
|
+
AC_SEARCH_LIBS([sendfile], [sendfile])
|
|
58
|
+
AC_SEARCH_LIBS([socket], [socket])
|
|
50
59
|
AC_SYS_LARGEFILE
|
|
51
60
|
AM_CONDITIONAL([AIX], [AS_CASE([$host_os],[aix*], [true], [false])])
|
|
52
61
|
AM_CONDITIONAL([ANDROID], [AS_CASE([$host_os],[linux-android*],[true], [false])])
|
|
62
|
+
AM_CONDITIONAL([CYGWIN], [AS_CASE([$host_os],[cygwin*], [true], [false])])
|
|
53
63
|
AM_CONDITIONAL([DARWIN], [AS_CASE([$host_os],[darwin*], [true], [false])])
|
|
54
64
|
AM_CONDITIONAL([DRAGONFLY],[AS_CASE([$host_os],[dragonfly*], [true], [false])])
|
|
55
65
|
AM_CONDITIONAL([FREEBSD], [AS_CASE([$host_os],[freebsd*], [true], [false])])
|
|
66
|
+
AM_CONDITIONAL([HAIKU], [AS_CASE([$host_os],[haiku], [true], [false])])
|
|
67
|
+
AM_CONDITIONAL([HURD], [AS_CASE([$host_os],[gnu*], [true], [false])])
|
|
56
68
|
AM_CONDITIONAL([LINUX], [AS_CASE([$host_os],[linux*], [true], [false])])
|
|
69
|
+
AM_CONDITIONAL([MSYS], [AS_CASE([$host_os],[msys*], [true], [false])])
|
|
57
70
|
AM_CONDITIONAL([NETBSD], [AS_CASE([$host_os],[netbsd*], [true], [false])])
|
|
58
71
|
AM_CONDITIONAL([OPENBSD], [AS_CASE([$host_os],[openbsd*], [true], [false])])
|
|
72
|
+
AM_CONDITIONAL([OS390], [AS_CASE([$host_os],[openedition*], [true], [false])])
|
|
73
|
+
AM_CONDITIONAL([OS400], [AS_CASE([$host_os],[os400], [true], [false])])
|
|
59
74
|
AM_CONDITIONAL([SUNOS], [AS_CASE([$host_os],[solaris*], [true], [false])])
|
|
60
75
|
AM_CONDITIONAL([WINNT], [AS_CASE([$host_os],[mingw*], [true], [false])])
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
AM_CONDITIONAL([HAVE_PKG_CONFIG], [test "x$PKG_CONFIG" != "x"])
|
|
64
|
-
AS_IF([test "x$PKG_CONFIG" != "x"], [
|
|
65
|
-
AC_CONFIG_FILES([libuv.pc])
|
|
76
|
+
AS_CASE([$host_os],[mingw*], [
|
|
77
|
+
LIBS="$LIBS -lws2_32 -lpsapi -liphlpapi -luserenv -luser32 -ldbghelp -lole32 -lshell32"
|
|
66
78
|
])
|
|
67
|
-
|
|
79
|
+
AS_CASE([$host_os], [solaris2.10], [
|
|
80
|
+
CFLAGS="$CFLAGS -DSUNOS_NO_IFADDRS"
|
|
81
|
+
])
|
|
82
|
+
AS_CASE([$host_os], [netbsd*], [AC_CHECK_LIB([kvm], [kvm_open])])
|
|
83
|
+
AS_CASE([$host_os], [haiku], [
|
|
84
|
+
LIBS="$LIBS -lnetwork"
|
|
85
|
+
])
|
|
86
|
+
AC_CHECK_HEADERS([sys/ahafs_evProds.h])
|
|
87
|
+
AC_CONFIG_FILES([Makefile libuv.pc])
|
|
88
|
+
# AC_CONFIG_LINKS([test/fixtures/empty_file:test/fixtures/empty_file])
|
|
89
|
+
# AC_CONFIG_LINKS([test/fixtures/load_error.node:test/fixtures/load_error.node])
|
|
90
|
+
# AC_CONFIG_LINKS([test/fixtures/lorem_ipsum.txt:test/fixtures/lorem_ipsum.txt])
|
|
91
|
+
# AC_CONFIG_LINKS([test/fixtures/one_file/one_file:test/fixtures/one_file/one_file])
|
|
68
92
|
AC_OUTPUT
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
#! /bin/sh
|
|
2
2
|
# depcomp - compile a program generating dependencies as side-effects
|
|
3
3
|
|
|
4
|
-
scriptversion=
|
|
4
|
+
scriptversion=2025-06-18.21; # UTC
|
|
5
5
|
|
|
6
|
-
# Copyright (C) 1999-
|
|
6
|
+
# Copyright (C) 1999-2025 Free Software Foundation, Inc.
|
|
7
7
|
|
|
8
8
|
# This program is free software; you can redistribute it and/or modify
|
|
9
9
|
# it under the terms of the GNU General Public License as published by
|
|
@@ -16,7 +16,7 @@ scriptversion=2013-05-30.07; # UTC
|
|
|
16
16
|
# GNU General Public License for more details.
|
|
17
17
|
|
|
18
18
|
# You should have received a copy of the GNU General Public License
|
|
19
|
-
# along with this program. If not, see <
|
|
19
|
+
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
20
20
|
|
|
21
21
|
# As a special exception to the GNU General Public License, if you
|
|
22
22
|
# distribute this file as part of a program that contains a
|
|
@@ -47,11 +47,13 @@ Environment variables:
|
|
|
47
47
|
libtool Whether libtool is used (yes/no).
|
|
48
48
|
|
|
49
49
|
Report bugs to <bug-automake@gnu.org>.
|
|
50
|
+
GNU Automake home page: <https://www.gnu.org/software/automake/>.
|
|
51
|
+
General help using GNU software: <https://www.gnu.org/gethelp/>.
|
|
50
52
|
EOF
|
|
51
53
|
exit $?
|
|
52
54
|
;;
|
|
53
55
|
-v | --v*)
|
|
54
|
-
echo "depcomp $scriptversion"
|
|
56
|
+
echo "depcomp (GNU Automake) $scriptversion"
|
|
55
57
|
exit $?
|
|
56
58
|
;;
|
|
57
59
|
esac
|
|
@@ -113,7 +115,6 @@ nl='
|
|
|
113
115
|
# These definitions help.
|
|
114
116
|
upper=ABCDEFGHIJKLMNOPQRSTUVWXYZ
|
|
115
117
|
lower=abcdefghijklmnopqrstuvwxyz
|
|
116
|
-
digits=0123456789
|
|
117
118
|
alpha=${upper}${lower}
|
|
118
119
|
|
|
119
120
|
if test -z "$depmode" || test -z "$source" || test -z "$object"; then
|
|
@@ -128,7 +129,7 @@ tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`}
|
|
|
128
129
|
|
|
129
130
|
rm -f "$tmpdepfile"
|
|
130
131
|
|
|
131
|
-
# Avoid
|
|
132
|
+
# Avoid interference from the environment.
|
|
132
133
|
gccflag= dashmflag=
|
|
133
134
|
|
|
134
135
|
# Some modes work just like other modes, but use different flags. We
|
|
@@ -198,8 +199,8 @@ gcc3)
|
|
|
198
199
|
;;
|
|
199
200
|
|
|
200
201
|
gcc)
|
|
201
|
-
## Note that this doesn't just cater to
|
|
202
|
-
## but also to in-use compilers like
|
|
202
|
+
## Note that this doesn't just cater to obsolete pre-3.x GCC compilers.
|
|
203
|
+
## but also to in-use compilers like IBM xlc/xlC and the HP C compiler.
|
|
203
204
|
## (see the conditional assignment to $gccflag above).
|
|
204
205
|
## There are various ways to get dependency output from gcc. Here's
|
|
205
206
|
## why we pick this rather obscure method:
|
|
@@ -783,9 +784,9 @@ exit 0
|
|
|
783
784
|
# Local Variables:
|
|
784
785
|
# mode: shell-script
|
|
785
786
|
# sh-indentation: 2
|
|
786
|
-
# eval: (add-hook '
|
|
787
|
+
# eval: (add-hook 'before-save-hook 'time-stamp nil t)
|
|
787
788
|
# time-stamp-start: "scriptversion="
|
|
788
|
-
# time-stamp-format: "
|
|
789
|
-
# time-stamp-time-zone: "
|
|
789
|
+
# time-stamp-format: "%Y-%02m-%02d.%02H"
|
|
790
|
+
# time-stamp-time-zone: "UTC0"
|
|
790
791
|
# time-stamp-end: "; # UTC"
|
|
791
792
|
# End:
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
void* cf_state; \
|
|
41
41
|
uv_mutex_t cf_mutex; \
|
|
42
42
|
uv_sem_t cf_sem; \
|
|
43
|
-
|
|
43
|
+
struct uv__queue cf_signals; \
|
|
44
44
|
|
|
45
45
|
#define UV_PLATFORM_FS_EVENT_FIELDS \
|
|
46
46
|
uv__io_t event_watcher; \
|
|
@@ -48,8 +48,8 @@
|
|
|
48
48
|
int realpath_len; \
|
|
49
49
|
int cf_flags; \
|
|
50
50
|
uv_async_t* cf_cb; \
|
|
51
|
-
|
|
52
|
-
|
|
51
|
+
struct uv__queue cf_events; \
|
|
52
|
+
struct uv__queue cf_member; \
|
|
53
53
|
int cf_error; \
|
|
54
54
|
uv_mutex_t cf_mutex; \
|
|
55
55
|
|
|
@@ -23,6 +23,11 @@
|
|
|
23
23
|
#define UV_ERRNO_H_
|
|
24
24
|
|
|
25
25
|
#include <errno.h>
|
|
26
|
+
#if EDOM > 0
|
|
27
|
+
# define UV__ERR(x) (-(x))
|
|
28
|
+
#else
|
|
29
|
+
# define UV__ERR(x) (x)
|
|
30
|
+
#endif
|
|
26
31
|
|
|
27
32
|
#define UV__EOF (-4095)
|
|
28
33
|
#define UV__UNKNOWN (-4094)
|
|
@@ -46,355 +51,355 @@
|
|
|
46
51
|
* a fairly common practice for Windows programmers to redefine errno codes.
|
|
47
52
|
*/
|
|
48
53
|
#if defined(E2BIG) && !defined(_WIN32)
|
|
49
|
-
# define UV__E2BIG (
|
|
54
|
+
# define UV__E2BIG UV__ERR(E2BIG)
|
|
50
55
|
#else
|
|
51
56
|
# define UV__E2BIG (-4093)
|
|
52
57
|
#endif
|
|
53
58
|
|
|
54
59
|
#if defined(EACCES) && !defined(_WIN32)
|
|
55
|
-
# define UV__EACCES (
|
|
60
|
+
# define UV__EACCES UV__ERR(EACCES)
|
|
56
61
|
#else
|
|
57
62
|
# define UV__EACCES (-4092)
|
|
58
63
|
#endif
|
|
59
64
|
|
|
60
65
|
#if defined(EADDRINUSE) && !defined(_WIN32)
|
|
61
|
-
# define UV__EADDRINUSE (
|
|
66
|
+
# define UV__EADDRINUSE UV__ERR(EADDRINUSE)
|
|
62
67
|
#else
|
|
63
68
|
# define UV__EADDRINUSE (-4091)
|
|
64
69
|
#endif
|
|
65
70
|
|
|
66
71
|
#if defined(EADDRNOTAVAIL) && !defined(_WIN32)
|
|
67
|
-
# define UV__EADDRNOTAVAIL (
|
|
72
|
+
# define UV__EADDRNOTAVAIL UV__ERR(EADDRNOTAVAIL)
|
|
68
73
|
#else
|
|
69
74
|
# define UV__EADDRNOTAVAIL (-4090)
|
|
70
75
|
#endif
|
|
71
76
|
|
|
72
77
|
#if defined(EAFNOSUPPORT) && !defined(_WIN32)
|
|
73
|
-
# define UV__EAFNOSUPPORT (
|
|
78
|
+
# define UV__EAFNOSUPPORT UV__ERR(EAFNOSUPPORT)
|
|
74
79
|
#else
|
|
75
80
|
# define UV__EAFNOSUPPORT (-4089)
|
|
76
81
|
#endif
|
|
77
82
|
|
|
78
83
|
#if defined(EAGAIN) && !defined(_WIN32)
|
|
79
|
-
# define UV__EAGAIN (
|
|
84
|
+
# define UV__EAGAIN UV__ERR(EAGAIN)
|
|
80
85
|
#else
|
|
81
86
|
# define UV__EAGAIN (-4088)
|
|
82
87
|
#endif
|
|
83
88
|
|
|
84
89
|
#if defined(EALREADY) && !defined(_WIN32)
|
|
85
|
-
# define UV__EALREADY (
|
|
90
|
+
# define UV__EALREADY UV__ERR(EALREADY)
|
|
86
91
|
#else
|
|
87
92
|
# define UV__EALREADY (-4084)
|
|
88
93
|
#endif
|
|
89
94
|
|
|
90
95
|
#if defined(EBADF) && !defined(_WIN32)
|
|
91
|
-
# define UV__EBADF (
|
|
96
|
+
# define UV__EBADF UV__ERR(EBADF)
|
|
92
97
|
#else
|
|
93
98
|
# define UV__EBADF (-4083)
|
|
94
99
|
#endif
|
|
95
100
|
|
|
96
101
|
#if defined(EBUSY) && !defined(_WIN32)
|
|
97
|
-
# define UV__EBUSY (
|
|
102
|
+
# define UV__EBUSY UV__ERR(EBUSY)
|
|
98
103
|
#else
|
|
99
104
|
# define UV__EBUSY (-4082)
|
|
100
105
|
#endif
|
|
101
106
|
|
|
102
107
|
#if defined(ECANCELED) && !defined(_WIN32)
|
|
103
|
-
# define UV__ECANCELED (
|
|
108
|
+
# define UV__ECANCELED UV__ERR(ECANCELED)
|
|
104
109
|
#else
|
|
105
110
|
# define UV__ECANCELED (-4081)
|
|
106
111
|
#endif
|
|
107
112
|
|
|
108
113
|
#if defined(ECHARSET) && !defined(_WIN32)
|
|
109
|
-
# define UV__ECHARSET (
|
|
114
|
+
# define UV__ECHARSET UV__ERR(ECHARSET)
|
|
110
115
|
#else
|
|
111
116
|
# define UV__ECHARSET (-4080)
|
|
112
117
|
#endif
|
|
113
118
|
|
|
114
119
|
#if defined(ECONNABORTED) && !defined(_WIN32)
|
|
115
|
-
# define UV__ECONNABORTED (
|
|
120
|
+
# define UV__ECONNABORTED UV__ERR(ECONNABORTED)
|
|
116
121
|
#else
|
|
117
122
|
# define UV__ECONNABORTED (-4079)
|
|
118
123
|
#endif
|
|
119
124
|
|
|
120
125
|
#if defined(ECONNREFUSED) && !defined(_WIN32)
|
|
121
|
-
# define UV__ECONNREFUSED (
|
|
126
|
+
# define UV__ECONNREFUSED UV__ERR(ECONNREFUSED)
|
|
122
127
|
#else
|
|
123
128
|
# define UV__ECONNREFUSED (-4078)
|
|
124
129
|
#endif
|
|
125
130
|
|
|
126
131
|
#if defined(ECONNRESET) && !defined(_WIN32)
|
|
127
|
-
# define UV__ECONNRESET (
|
|
132
|
+
# define UV__ECONNRESET UV__ERR(ECONNRESET)
|
|
128
133
|
#else
|
|
129
134
|
# define UV__ECONNRESET (-4077)
|
|
130
135
|
#endif
|
|
131
136
|
|
|
132
137
|
#if defined(EDESTADDRREQ) && !defined(_WIN32)
|
|
133
|
-
# define UV__EDESTADDRREQ (
|
|
138
|
+
# define UV__EDESTADDRREQ UV__ERR(EDESTADDRREQ)
|
|
134
139
|
#else
|
|
135
140
|
# define UV__EDESTADDRREQ (-4076)
|
|
136
141
|
#endif
|
|
137
142
|
|
|
138
143
|
#if defined(EEXIST) && !defined(_WIN32)
|
|
139
|
-
# define UV__EEXIST (
|
|
144
|
+
# define UV__EEXIST UV__ERR(EEXIST)
|
|
140
145
|
#else
|
|
141
146
|
# define UV__EEXIST (-4075)
|
|
142
147
|
#endif
|
|
143
148
|
|
|
144
149
|
#if defined(EFAULT) && !defined(_WIN32)
|
|
145
|
-
# define UV__EFAULT (
|
|
150
|
+
# define UV__EFAULT UV__ERR(EFAULT)
|
|
146
151
|
#else
|
|
147
152
|
# define UV__EFAULT (-4074)
|
|
148
153
|
#endif
|
|
149
154
|
|
|
150
155
|
#if defined(EHOSTUNREACH) && !defined(_WIN32)
|
|
151
|
-
# define UV__EHOSTUNREACH (
|
|
156
|
+
# define UV__EHOSTUNREACH UV__ERR(EHOSTUNREACH)
|
|
152
157
|
#else
|
|
153
158
|
# define UV__EHOSTUNREACH (-4073)
|
|
154
159
|
#endif
|
|
155
160
|
|
|
156
161
|
#if defined(EINTR) && !defined(_WIN32)
|
|
157
|
-
# define UV__EINTR (
|
|
162
|
+
# define UV__EINTR UV__ERR(EINTR)
|
|
158
163
|
#else
|
|
159
164
|
# define UV__EINTR (-4072)
|
|
160
165
|
#endif
|
|
161
166
|
|
|
162
167
|
#if defined(EINVAL) && !defined(_WIN32)
|
|
163
|
-
# define UV__EINVAL (
|
|
168
|
+
# define UV__EINVAL UV__ERR(EINVAL)
|
|
164
169
|
#else
|
|
165
170
|
# define UV__EINVAL (-4071)
|
|
166
171
|
#endif
|
|
167
172
|
|
|
168
173
|
#if defined(EIO) && !defined(_WIN32)
|
|
169
|
-
# define UV__EIO (
|
|
174
|
+
# define UV__EIO UV__ERR(EIO)
|
|
170
175
|
#else
|
|
171
176
|
# define UV__EIO (-4070)
|
|
172
177
|
#endif
|
|
173
178
|
|
|
174
179
|
#if defined(EISCONN) && !defined(_WIN32)
|
|
175
|
-
# define UV__EISCONN (
|
|
180
|
+
# define UV__EISCONN UV__ERR(EISCONN)
|
|
176
181
|
#else
|
|
177
182
|
# define UV__EISCONN (-4069)
|
|
178
183
|
#endif
|
|
179
184
|
|
|
180
185
|
#if defined(EISDIR) && !defined(_WIN32)
|
|
181
|
-
# define UV__EISDIR (
|
|
186
|
+
# define UV__EISDIR UV__ERR(EISDIR)
|
|
182
187
|
#else
|
|
183
188
|
# define UV__EISDIR (-4068)
|
|
184
189
|
#endif
|
|
185
190
|
|
|
186
191
|
#if defined(ELOOP) && !defined(_WIN32)
|
|
187
|
-
# define UV__ELOOP (
|
|
192
|
+
# define UV__ELOOP UV__ERR(ELOOP)
|
|
188
193
|
#else
|
|
189
194
|
# define UV__ELOOP (-4067)
|
|
190
195
|
#endif
|
|
191
196
|
|
|
192
197
|
#if defined(EMFILE) && !defined(_WIN32)
|
|
193
|
-
# define UV__EMFILE (
|
|
198
|
+
# define UV__EMFILE UV__ERR(EMFILE)
|
|
194
199
|
#else
|
|
195
200
|
# define UV__EMFILE (-4066)
|
|
196
201
|
#endif
|
|
197
202
|
|
|
198
203
|
#if defined(EMSGSIZE) && !defined(_WIN32)
|
|
199
|
-
# define UV__EMSGSIZE (
|
|
204
|
+
# define UV__EMSGSIZE UV__ERR(EMSGSIZE)
|
|
200
205
|
#else
|
|
201
206
|
# define UV__EMSGSIZE (-4065)
|
|
202
207
|
#endif
|
|
203
208
|
|
|
204
209
|
#if defined(ENAMETOOLONG) && !defined(_WIN32)
|
|
205
|
-
# define UV__ENAMETOOLONG (
|
|
210
|
+
# define UV__ENAMETOOLONG UV__ERR(ENAMETOOLONG)
|
|
206
211
|
#else
|
|
207
212
|
# define UV__ENAMETOOLONG (-4064)
|
|
208
213
|
#endif
|
|
209
214
|
|
|
210
215
|
#if defined(ENETDOWN) && !defined(_WIN32)
|
|
211
|
-
# define UV__ENETDOWN (
|
|
216
|
+
# define UV__ENETDOWN UV__ERR(ENETDOWN)
|
|
212
217
|
#else
|
|
213
218
|
# define UV__ENETDOWN (-4063)
|
|
214
219
|
#endif
|
|
215
220
|
|
|
216
221
|
#if defined(ENETUNREACH) && !defined(_WIN32)
|
|
217
|
-
# define UV__ENETUNREACH (
|
|
222
|
+
# define UV__ENETUNREACH UV__ERR(ENETUNREACH)
|
|
218
223
|
#else
|
|
219
224
|
# define UV__ENETUNREACH (-4062)
|
|
220
225
|
#endif
|
|
221
226
|
|
|
222
227
|
#if defined(ENFILE) && !defined(_WIN32)
|
|
223
|
-
# define UV__ENFILE (
|
|
228
|
+
# define UV__ENFILE UV__ERR(ENFILE)
|
|
224
229
|
#else
|
|
225
230
|
# define UV__ENFILE (-4061)
|
|
226
231
|
#endif
|
|
227
232
|
|
|
228
233
|
#if defined(ENOBUFS) && !defined(_WIN32)
|
|
229
|
-
# define UV__ENOBUFS (
|
|
234
|
+
# define UV__ENOBUFS UV__ERR(ENOBUFS)
|
|
230
235
|
#else
|
|
231
236
|
# define UV__ENOBUFS (-4060)
|
|
232
237
|
#endif
|
|
233
238
|
|
|
234
239
|
#if defined(ENODEV) && !defined(_WIN32)
|
|
235
|
-
# define UV__ENODEV (
|
|
240
|
+
# define UV__ENODEV UV__ERR(ENODEV)
|
|
236
241
|
#else
|
|
237
242
|
# define UV__ENODEV (-4059)
|
|
238
243
|
#endif
|
|
239
244
|
|
|
240
245
|
#if defined(ENOENT) && !defined(_WIN32)
|
|
241
|
-
# define UV__ENOENT (
|
|
246
|
+
# define UV__ENOENT UV__ERR(ENOENT)
|
|
242
247
|
#else
|
|
243
248
|
# define UV__ENOENT (-4058)
|
|
244
249
|
#endif
|
|
245
250
|
|
|
246
251
|
#if defined(ENOMEM) && !defined(_WIN32)
|
|
247
|
-
# define UV__ENOMEM (
|
|
252
|
+
# define UV__ENOMEM UV__ERR(ENOMEM)
|
|
248
253
|
#else
|
|
249
254
|
# define UV__ENOMEM (-4057)
|
|
250
255
|
#endif
|
|
251
256
|
|
|
252
257
|
#if defined(ENONET) && !defined(_WIN32)
|
|
253
|
-
# define UV__ENONET (
|
|
258
|
+
# define UV__ENONET UV__ERR(ENONET)
|
|
254
259
|
#else
|
|
255
260
|
# define UV__ENONET (-4056)
|
|
256
261
|
#endif
|
|
257
262
|
|
|
258
263
|
#if defined(ENOSPC) && !defined(_WIN32)
|
|
259
|
-
# define UV__ENOSPC (
|
|
264
|
+
# define UV__ENOSPC UV__ERR(ENOSPC)
|
|
260
265
|
#else
|
|
261
266
|
# define UV__ENOSPC (-4055)
|
|
262
267
|
#endif
|
|
263
268
|
|
|
264
269
|
#if defined(ENOSYS) && !defined(_WIN32)
|
|
265
|
-
# define UV__ENOSYS (
|
|
270
|
+
# define UV__ENOSYS UV__ERR(ENOSYS)
|
|
266
271
|
#else
|
|
267
272
|
# define UV__ENOSYS (-4054)
|
|
268
273
|
#endif
|
|
269
274
|
|
|
270
275
|
#if defined(ENOTCONN) && !defined(_WIN32)
|
|
271
|
-
# define UV__ENOTCONN (
|
|
276
|
+
# define UV__ENOTCONN UV__ERR(ENOTCONN)
|
|
272
277
|
#else
|
|
273
278
|
# define UV__ENOTCONN (-4053)
|
|
274
279
|
#endif
|
|
275
280
|
|
|
276
281
|
#if defined(ENOTDIR) && !defined(_WIN32)
|
|
277
|
-
# define UV__ENOTDIR (
|
|
282
|
+
# define UV__ENOTDIR UV__ERR(ENOTDIR)
|
|
278
283
|
#else
|
|
279
284
|
# define UV__ENOTDIR (-4052)
|
|
280
285
|
#endif
|
|
281
286
|
|
|
282
287
|
#if defined(ENOTEMPTY) && !defined(_WIN32)
|
|
283
|
-
# define UV__ENOTEMPTY (
|
|
288
|
+
# define UV__ENOTEMPTY UV__ERR(ENOTEMPTY)
|
|
284
289
|
#else
|
|
285
290
|
# define UV__ENOTEMPTY (-4051)
|
|
286
291
|
#endif
|
|
287
292
|
|
|
288
293
|
#if defined(ENOTSOCK) && !defined(_WIN32)
|
|
289
|
-
# define UV__ENOTSOCK (
|
|
294
|
+
# define UV__ENOTSOCK UV__ERR(ENOTSOCK)
|
|
290
295
|
#else
|
|
291
296
|
# define UV__ENOTSOCK (-4050)
|
|
292
297
|
#endif
|
|
293
298
|
|
|
294
299
|
#if defined(ENOTSUP) && !defined(_WIN32)
|
|
295
|
-
# define UV__ENOTSUP (
|
|
300
|
+
# define UV__ENOTSUP UV__ERR(ENOTSUP)
|
|
296
301
|
#else
|
|
297
302
|
# define UV__ENOTSUP (-4049)
|
|
298
303
|
#endif
|
|
299
304
|
|
|
300
305
|
#if defined(EPERM) && !defined(_WIN32)
|
|
301
|
-
# define UV__EPERM (
|
|
306
|
+
# define UV__EPERM UV__ERR(EPERM)
|
|
302
307
|
#else
|
|
303
308
|
# define UV__EPERM (-4048)
|
|
304
309
|
#endif
|
|
305
310
|
|
|
306
311
|
#if defined(EPIPE) && !defined(_WIN32)
|
|
307
|
-
# define UV__EPIPE (
|
|
312
|
+
# define UV__EPIPE UV__ERR(EPIPE)
|
|
308
313
|
#else
|
|
309
314
|
# define UV__EPIPE (-4047)
|
|
310
315
|
#endif
|
|
311
316
|
|
|
312
317
|
#if defined(EPROTO) && !defined(_WIN32)
|
|
313
|
-
# define UV__EPROTO (
|
|
318
|
+
# define UV__EPROTO UV__ERR(EPROTO)
|
|
314
319
|
#else
|
|
315
320
|
# define UV__EPROTO (-4046)
|
|
316
321
|
#endif
|
|
317
322
|
|
|
318
323
|
#if defined(EPROTONOSUPPORT) && !defined(_WIN32)
|
|
319
|
-
# define UV__EPROTONOSUPPORT (
|
|
324
|
+
# define UV__EPROTONOSUPPORT UV__ERR(EPROTONOSUPPORT)
|
|
320
325
|
#else
|
|
321
326
|
# define UV__EPROTONOSUPPORT (-4045)
|
|
322
327
|
#endif
|
|
323
328
|
|
|
324
329
|
#if defined(EPROTOTYPE) && !defined(_WIN32)
|
|
325
|
-
# define UV__EPROTOTYPE (
|
|
330
|
+
# define UV__EPROTOTYPE UV__ERR(EPROTOTYPE)
|
|
326
331
|
#else
|
|
327
332
|
# define UV__EPROTOTYPE (-4044)
|
|
328
333
|
#endif
|
|
329
334
|
|
|
330
335
|
#if defined(EROFS) && !defined(_WIN32)
|
|
331
|
-
# define UV__EROFS (
|
|
336
|
+
# define UV__EROFS UV__ERR(EROFS)
|
|
332
337
|
#else
|
|
333
338
|
# define UV__EROFS (-4043)
|
|
334
339
|
#endif
|
|
335
340
|
|
|
336
341
|
#if defined(ESHUTDOWN) && !defined(_WIN32)
|
|
337
|
-
# define UV__ESHUTDOWN (
|
|
342
|
+
# define UV__ESHUTDOWN UV__ERR(ESHUTDOWN)
|
|
338
343
|
#else
|
|
339
344
|
# define UV__ESHUTDOWN (-4042)
|
|
340
345
|
#endif
|
|
341
346
|
|
|
342
347
|
#if defined(ESPIPE) && !defined(_WIN32)
|
|
343
|
-
# define UV__ESPIPE (
|
|
348
|
+
# define UV__ESPIPE UV__ERR(ESPIPE)
|
|
344
349
|
#else
|
|
345
350
|
# define UV__ESPIPE (-4041)
|
|
346
351
|
#endif
|
|
347
352
|
|
|
348
353
|
#if defined(ESRCH) && !defined(_WIN32)
|
|
349
|
-
# define UV__ESRCH (
|
|
354
|
+
# define UV__ESRCH UV__ERR(ESRCH)
|
|
350
355
|
#else
|
|
351
356
|
# define UV__ESRCH (-4040)
|
|
352
357
|
#endif
|
|
353
358
|
|
|
354
359
|
#if defined(ETIMEDOUT) && !defined(_WIN32)
|
|
355
|
-
# define UV__ETIMEDOUT (
|
|
360
|
+
# define UV__ETIMEDOUT UV__ERR(ETIMEDOUT)
|
|
356
361
|
#else
|
|
357
362
|
# define UV__ETIMEDOUT (-4039)
|
|
358
363
|
#endif
|
|
359
364
|
|
|
360
365
|
#if defined(ETXTBSY) && !defined(_WIN32)
|
|
361
|
-
# define UV__ETXTBSY (
|
|
366
|
+
# define UV__ETXTBSY UV__ERR(ETXTBSY)
|
|
362
367
|
#else
|
|
363
368
|
# define UV__ETXTBSY (-4038)
|
|
364
369
|
#endif
|
|
365
370
|
|
|
366
371
|
#if defined(EXDEV) && !defined(_WIN32)
|
|
367
|
-
# define UV__EXDEV (
|
|
372
|
+
# define UV__EXDEV UV__ERR(EXDEV)
|
|
368
373
|
#else
|
|
369
374
|
# define UV__EXDEV (-4037)
|
|
370
375
|
#endif
|
|
371
376
|
|
|
372
377
|
#if defined(EFBIG) && !defined(_WIN32)
|
|
373
|
-
# define UV__EFBIG (
|
|
378
|
+
# define UV__EFBIG UV__ERR(EFBIG)
|
|
374
379
|
#else
|
|
375
380
|
# define UV__EFBIG (-4036)
|
|
376
381
|
#endif
|
|
377
382
|
|
|
378
383
|
#if defined(ENOPROTOOPT) && !defined(_WIN32)
|
|
379
|
-
# define UV__ENOPROTOOPT (
|
|
384
|
+
# define UV__ENOPROTOOPT UV__ERR(ENOPROTOOPT)
|
|
380
385
|
#else
|
|
381
386
|
# define UV__ENOPROTOOPT (-4035)
|
|
382
387
|
#endif
|
|
383
388
|
|
|
384
389
|
#if defined(ERANGE) && !defined(_WIN32)
|
|
385
|
-
# define UV__ERANGE (
|
|
390
|
+
# define UV__ERANGE UV__ERR(ERANGE)
|
|
386
391
|
#else
|
|
387
392
|
# define UV__ERANGE (-4034)
|
|
388
393
|
#endif
|
|
389
394
|
|
|
390
395
|
#if defined(ENXIO) && !defined(_WIN32)
|
|
391
|
-
# define UV__ENXIO (
|
|
396
|
+
# define UV__ENXIO UV__ERR(ENXIO)
|
|
392
397
|
#else
|
|
393
398
|
# define UV__ENXIO (-4033)
|
|
394
399
|
#endif
|
|
395
400
|
|
|
396
401
|
#if defined(EMLINK) && !defined(_WIN32)
|
|
397
|
-
# define UV__EMLINK (
|
|
402
|
+
# define UV__EMLINK UV__ERR(EMLINK)
|
|
398
403
|
#else
|
|
399
404
|
# define UV__EMLINK (-4032)
|
|
400
405
|
#endif
|
|
@@ -404,7 +409,7 @@
|
|
|
404
409
|
* icky to hard-code it.
|
|
405
410
|
*/
|
|
406
411
|
#if defined(EHOSTDOWN) && !defined(_WIN32)
|
|
407
|
-
# define UV__EHOSTDOWN (
|
|
412
|
+
# define UV__EHOSTDOWN UV__ERR(EHOSTDOWN)
|
|
408
413
|
#elif defined(__APPLE__) || \
|
|
409
414
|
defined(__DragonFly__) || \
|
|
410
415
|
defined(__FreeBSD__) || \
|
|
@@ -415,4 +420,58 @@
|
|
|
415
420
|
# define UV__EHOSTDOWN (-4031)
|
|
416
421
|
#endif
|
|
417
422
|
|
|
423
|
+
#if defined(EREMOTEIO) && !defined(_WIN32)
|
|
424
|
+
# define UV__EREMOTEIO UV__ERR(EREMOTEIO)
|
|
425
|
+
#else
|
|
426
|
+
# define UV__EREMOTEIO (-4030)
|
|
427
|
+
#endif
|
|
428
|
+
|
|
429
|
+
#if defined(ENOTTY) && !defined(_WIN32)
|
|
430
|
+
# define UV__ENOTTY UV__ERR(ENOTTY)
|
|
431
|
+
#else
|
|
432
|
+
# define UV__ENOTTY (-4029)
|
|
433
|
+
#endif
|
|
434
|
+
|
|
435
|
+
#if defined(EFTYPE) && !defined(_WIN32)
|
|
436
|
+
# define UV__EFTYPE UV__ERR(EFTYPE)
|
|
437
|
+
#else
|
|
438
|
+
# define UV__EFTYPE (-4028)
|
|
439
|
+
#endif
|
|
440
|
+
|
|
441
|
+
#if defined(EILSEQ) && !defined(_WIN32)
|
|
442
|
+
# define UV__EILSEQ UV__ERR(EILSEQ)
|
|
443
|
+
#else
|
|
444
|
+
# define UV__EILSEQ (-4027)
|
|
445
|
+
#endif
|
|
446
|
+
|
|
447
|
+
#if defined(EOVERFLOW) && !defined(_WIN32)
|
|
448
|
+
# define UV__EOVERFLOW UV__ERR(EOVERFLOW)
|
|
449
|
+
#else
|
|
450
|
+
# define UV__EOVERFLOW (-4026)
|
|
451
|
+
#endif
|
|
452
|
+
|
|
453
|
+
#if defined(ESOCKTNOSUPPORT) && !defined(_WIN32)
|
|
454
|
+
# define UV__ESOCKTNOSUPPORT UV__ERR(ESOCKTNOSUPPORT)
|
|
455
|
+
#else
|
|
456
|
+
# define UV__ESOCKTNOSUPPORT (-4025)
|
|
457
|
+
#endif
|
|
458
|
+
|
|
459
|
+
/* FreeBSD defines ENODATA in /usr/include/c++/v1/errno.h which is only visible
|
|
460
|
+
* if C++ is being used. Define it directly to avoid problems when integrating
|
|
461
|
+
* libuv in a C++ project.
|
|
462
|
+
*/
|
|
463
|
+
#if defined(ENODATA) && !defined(_WIN32)
|
|
464
|
+
# define UV__ENODATA UV__ERR(ENODATA)
|
|
465
|
+
#elif defined(__FreeBSD__)
|
|
466
|
+
# define UV__ENODATA (-9919)
|
|
467
|
+
#else
|
|
468
|
+
# define UV__ENODATA (-4024)
|
|
469
|
+
#endif
|
|
470
|
+
|
|
471
|
+
#if defined(EUNATCH) && !defined(_WIN32)
|
|
472
|
+
# define UV__EUNATCH UV__ERR(EUNATCH)
|
|
473
|
+
#else
|
|
474
|
+
# define UV__EUNATCH (-4023)
|
|
475
|
+
#endif
|
|
476
|
+
|
|
418
477
|
#endif /* UV_ERRNO_H_ */
|