passenger 5.3.5 → 5.3.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (211) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG +13 -0
  3. data/README.md +2 -1
  4. data/Rakefile +0 -5
  5. data/build/agent.rb +2 -1
  6. data/build/cxx_tests.rb +18 -20
  7. data/build/integration_tests.rb +6 -2
  8. data/build/support/cxx_dependency_map.rb +2019 -1966
  9. data/dev/colorize-logs +272 -0
  10. data/src/agent/Core/AdminPanelConnector.h +3 -3
  11. data/src/agent/Core/ApiServer.h +4 -4
  12. data/src/agent/Core/ApplicationPool/BasicProcessInfo.h +2 -2
  13. data/src/agent/Core/ApplicationPool/Group/OutOfBandWork.cpp +2 -2
  14. data/src/agent/Core/ApplicationPool/Implementation.cpp +5 -5
  15. data/src/agent/Core/ApplicationPool/Pool.h +4 -4
  16. data/src/agent/Core/ApplicationPool/Process.h +10 -15
  17. data/src/agent/Core/ApplicationPool/Socket.h +2 -2
  18. data/src/agent/Core/ApplicationPool/TestSession.h +3 -3
  19. data/src/agent/Core/Config.h +4 -2
  20. data/src/agent/Core/Controller.h +4 -4
  21. data/src/agent/Core/Controller/Config.h +1 -1
  22. data/src/agent/Core/Controller/SendRequest.cpp +2 -2
  23. data/src/agent/Core/Controller/TurboCaching.h +2 -2
  24. data/src/agent/Core/CoreMain.cpp +2 -2
  25. data/src/agent/Core/OptionParser.h +2 -2
  26. data/src/agent/Core/ResponseCache.h +3 -3
  27. data/src/agent/Core/SecurityUpdateChecker.h +2 -2
  28. data/src/agent/Core/SpawningKit/Config.h +2 -1
  29. data/src/agent/Core/SpawningKit/Config/AutoGeneratedCode.h +1 -1
  30. data/src/agent/Core/SpawningKit/Context.h +1 -1
  31. data/src/agent/Core/SpawningKit/DirectSpawner.h +3 -3
  32. data/src/agent/Core/SpawningKit/DummySpawner.h +3 -3
  33. data/src/agent/Core/SpawningKit/ErrorRenderer.h +1 -1
  34. data/src/agent/Core/SpawningKit/Exceptions.h +2 -2
  35. data/src/agent/Core/SpawningKit/Factory.h +1 -1
  36. data/src/agent/Core/SpawningKit/Handshake/BackgroundIOCapturer.h +1 -1
  37. data/src/agent/Core/SpawningKit/Handshake/Perform.h +13 -2
  38. data/src/agent/Core/SpawningKit/Handshake/Prepare.h +3 -3
  39. data/src/agent/Core/SpawningKit/Handshake/WorkDir.h +1 -1
  40. data/src/agent/Core/SpawningKit/Journey.h +4 -5
  41. data/src/agent/Core/SpawningKit/PipeWatcher.h +1 -1
  42. data/src/agent/Core/SpawningKit/Result.h +20 -8
  43. data/src/agent/Core/SpawningKit/Result/AutoGeneratedCode.h +1 -1
  44. data/src/agent/Core/SpawningKit/SmartSpawner.h +6 -6
  45. data/src/agent/Core/SpawningKit/Spawner.h +2 -2
  46. data/src/agent/Core/TelemetryCollector.h +13 -7
  47. data/src/agent/ExecHelper/ExecHelperMain.cpp +1 -1
  48. data/src/agent/README.md +1 -1
  49. data/src/agent/Shared/ApiAccountUtils.h +1 -1
  50. data/src/agent/Shared/ApiServerUtils.h +3 -3
  51. data/src/agent/Shared/ApplicationPoolApiKey.h +2 -2
  52. data/src/agent/Shared/Fundamentals/Initialization.cpp +4 -4
  53. data/src/agent/SpawnEnvSetupper/SpawnEnvSetupperMain.cpp +1 -1
  54. data/src/agent/SystemMetrics/SystemMetricsMain.cpp +4 -3
  55. data/src/agent/Watchdog/ApiServer.h +3 -3
  56. data/src/agent/Watchdog/Config.h +3 -2
  57. data/src/agent/Watchdog/CoreWatcher.cpp +2 -2
  58. data/src/agent/Watchdog/WatchdogMain.cpp +93 -27
  59. data/src/apache2_module/Config.cpp +14 -14
  60. data/src/apache2_module/Config.h +8 -16
  61. data/src/apache2_module/ConfigGeneral/AutoGeneratedDefinitions.cpp +505 -491
  62. data/src/apache2_module/ConfigGeneral/AutoGeneratedDefinitions.cpp.cxxcodebuilder +39 -17
  63. data/src/apache2_module/ConfigGeneral/AutoGeneratedSetterFuncs.cpp +24 -1
  64. data/src/apache2_module/ConfigGeneral/AutoGeneratedSetterFuncs.cpp.cxxcodebuilder +31 -1
  65. data/src/{cxx_supportlib/Utils/MemoryBarrier.h → apache2_module/ConfigGeneral/Common.h} +17 -25
  66. data/src/apache2_module/DirConfig/AutoGeneratedCreateFunction.cpp +12 -1
  67. data/src/apache2_module/DirConfig/AutoGeneratedCreateFunction.cpp.cxxcodebuilder +16 -1
  68. data/src/apache2_module/DirConfig/AutoGeneratedHeaderSerialization.cpp +19 -5
  69. data/src/apache2_module/DirConfig/AutoGeneratedHeaderSerialization.cpp.cxxcodebuilder +26 -9
  70. data/src/apache2_module/DirConfig/AutoGeneratedManifestGeneration.cpp +6 -1
  71. data/src/apache2_module/DirConfig/AutoGeneratedManifestGeneration.cpp.cxxcodebuilder +10 -1
  72. data/src/apache2_module/DirConfig/AutoGeneratedMergeFunction.cpp +7 -1
  73. data/src/apache2_module/DirConfig/AutoGeneratedMergeFunction.cpp.cxxcodebuilder +11 -1
  74. data/src/apache2_module/DirConfig/AutoGeneratedStruct.h +23 -1
  75. data/src/apache2_module/DirConfig/AutoGeneratedStruct.h.cxxcodebuilder +34 -1
  76. data/src/apache2_module/Hooks.cpp +3 -3
  77. data/src/apache2_module/ServerConfig/AutoGeneratedStruct.h +24 -1
  78. data/src/apache2_module/ServerConfig/AutoGeneratedStruct.h.cxxcodebuilder +36 -1
  79. data/src/cxx_supportlib/{Utils → Algorithms}/Hasher.cpp +2 -2
  80. data/src/cxx_supportlib/{Utils → Algorithms}/Hasher.h +4 -4
  81. data/src/cxx_supportlib/AppTypeDetector/Detector.h +1 -1
  82. data/src/cxx_supportlib/ConfigKit/Schema.h +2 -2
  83. data/src/cxx_supportlib/ConfigKit/Store.h +1 -1
  84. data/src/cxx_supportlib/Constants.h +1 -1
  85. data/src/cxx_supportlib/{Utils → DataStructures}/HashMap.h +4 -4
  86. data/src/cxx_supportlib/DataStructures/HashedStaticString.h +5 -5
  87. data/src/cxx_supportlib/DataStructures/LString.h +3 -3
  88. data/src/cxx_supportlib/{Utils → DataStructures}/StringMap.h +36 -36
  89. data/src/cxx_supportlib/FileTools/FileManip.cpp +1 -1
  90. data/src/cxx_supportlib/FileTools/PathManip.cpp +2 -2
  91. data/src/cxx_supportlib/FileTools/PathSecurityCheck.cpp +1 -1
  92. data/src/cxx_supportlib/Hooks.h +2 -2
  93. data/src/cxx_supportlib/{Utils → IOTools}/BufferedIO.h +5 -5
  94. data/src/cxx_supportlib/{Utils → IOTools}/IOUtils.cpp +2 -2
  95. data/src/cxx_supportlib/{Utils → IOTools}/IOUtils.h +3 -3
  96. data/src/cxx_supportlib/{Utils → IOTools}/MessageIO.h +7 -7
  97. data/src/cxx_supportlib/{MessageReadersWriters.h → IOTools/MessageSerialization.h} +5 -5
  98. data/src/cxx_supportlib/InstanceDirectory.h +4 -4
  99. data/src/cxx_supportlib/Integrations/LibevJsonUtils.h +3 -3
  100. data/src/cxx_supportlib/{Utils → JsonTools}/JsonUtils.h +5 -5
  101. data/src/cxx_supportlib/LoggingKit/Context.h +2 -2
  102. data/src/cxx_supportlib/LoggingKit/Implementation.cpp +3 -3
  103. data/src/cxx_supportlib/MemoryKit/mbuf.cpp +2 -2
  104. data/src/cxx_supportlib/ProcessManagement/Spawn.cpp +5 -5
  105. data/src/cxx_supportlib/ProcessManagement/Utils.h +10 -0
  106. data/src/cxx_supportlib/RandomGenerator.h +2 -2
  107. data/src/cxx_supportlib/{Crypto.cpp → SecurityKit/Crypto.cpp} +4 -4
  108. data/src/cxx_supportlib/{Crypto.h → SecurityKit/Crypto.h} +4 -4
  109. data/src/cxx_supportlib/{Utils → SecurityKit}/MemZeroGuard.h +0 -0
  110. data/src/cxx_supportlib/ServerKit/AcceptLoadBalancer.h +2 -2
  111. data/src/cxx_supportlib/ServerKit/Channel.h +1 -1
  112. data/src/cxx_supportlib/ServerKit/Context.h +2 -2
  113. data/src/cxx_supportlib/ServerKit/FileBufferedChannel.h +1 -1
  114. data/src/cxx_supportlib/ServerKit/HttpHeaderParser.h +3 -3
  115. data/src/cxx_supportlib/ServerKit/HttpHeaderParserState.h +2 -2
  116. data/src/cxx_supportlib/ServerKit/HttpServer.h +16 -10
  117. data/src/cxx_supportlib/ServerKit/Server.h +3 -3
  118. data/src/cxx_supportlib/{Utils → StrIntTools}/DateParsing.h +5 -5
  119. data/src/cxx_supportlib/{Utils → StrIntTools}/StrIntUtils.cpp +3 -3
  120. data/src/cxx_supportlib/{Utils → StrIntTools}/StrIntUtils.h +0 -0
  121. data/src/cxx_supportlib/{Utils → StrIntTools}/StrIntUtilsNoStrictAliasing.cpp +2 -2
  122. data/src/cxx_supportlib/{Utils → StrIntTools}/StringScanning.h +5 -5
  123. data/src/cxx_supportlib/{Utils → StrIntTools}/Template.h +30 -5
  124. data/src/cxx_supportlib/SystemTools/ContainerHelpers.h +34 -0
  125. data/src/cxx_supportlib/{Utils → SystemTools}/ProcessMetricsCollector.h +6 -6
  126. data/src/cxx_supportlib/{Utils → SystemTools}/SystemMetricsCollector.h +3 -3
  127. data/src/cxx_supportlib/{Utils → SystemTools}/SystemTime.cpp +1 -1
  128. data/src/cxx_supportlib/{Utils → SystemTools}/SystemTime.h +0 -0
  129. data/src/cxx_supportlib/SystemTools/UserDatabase.h +1 -1
  130. data/src/cxx_supportlib/Utils.cpp +2 -2
  131. data/src/cxx_supportlib/Utils/CachedFileStat.hpp +3 -3
  132. data/src/cxx_supportlib/Utils/Curl.h +2 -2
  133. data/src/cxx_supportlib/Utils/FileChangeChecker.h +2 -2
  134. data/src/cxx_supportlib/Utils/MessagePassing.h +1 -1
  135. data/src/cxx_supportlib/Utils/SpeedMeter.h +2 -2
  136. data/src/cxx_supportlib/Utils/Timer.h +2 -2
  137. data/src/cxx_supportlib/Utils/VariantMap.h +3 -3
  138. data/src/cxx_supportlib/WatchdogLauncher.h +3 -3
  139. data/src/cxx_supportlib/WebSocketCommandReverseServer.h +1 -1
  140. data/src/cxx_supportlib/WrapperRegistry/Registry.h +1 -1
  141. data/src/cxx_supportlib/vendor-modified/psg_sysqueue.h +3 -0
  142. data/src/ruby_supportlib/phusion_passenger.rb +1 -1
  143. data/src/ruby_supportlib/phusion_passenger/common_library.rb +11 -11
  144. data/src/ruby_supportlib/phusion_passenger/config/agent_compiler.rb +4 -4
  145. data/src/ruby_supportlib/phusion_passenger/config/nginx_engine_compiler.rb +1 -1
  146. data/src/ruby_supportlib/phusion_passenger/message_channel.rb +2 -2
  147. data/src/ruby_supportlib/phusion_passenger/packaging.rb +20 -19
  148. data/src/ruby_supportlib/phusion_passenger/platform_info/apache.rb +22 -4
  149. data/src/ruby_supportlib/phusion_passenger/platform_info/ruby.rb +33 -13
  150. data/src/schema_printer/SchemaPrinterMain.cpp +2 -0
  151. metadata +28 -86
  152. data/.editorconfig +0 -134
  153. data/CODE_OF_CONDUCT.md +0 -52
  154. data/dev/boost-patches/0001-Patch-boost-thread-so-that-oxt-thread-can-use-it.patch +0 -48
  155. data/dev/boost-patches/0002-Make-boost-thread_interrupted-derive-from-oxt-tracab.patch +0 -33
  156. data/dev/boost-patches/0003-Disable-a-Clang-pragma-to-prevent-warnings-on-OS-X.patch +0 -25
  157. data/dev/ci/README.md +0 -134
  158. data/dev/ci/lib/functions.sh +0 -129
  159. data/dev/ci/lib/set-container-envvars.sh +0 -53
  160. data/dev/ci/lib/setup-container.sh +0 -46
  161. data/dev/ci/run-tests-natively +0 -24
  162. data/dev/ci/run-tests-with-docker +0 -42
  163. data/dev/ci/scripts/debug-console-wrapper.sh +0 -29
  164. data/dev/ci/scripts/docker-entrypoint-stage2.sh +0 -17
  165. data/dev/ci/scripts/docker-entrypoint.sh +0 -17
  166. data/dev/ci/scripts/inituidgid +0 -17
  167. data/dev/ci/scripts/run-tests-natively-stage2.sh +0 -17
  168. data/dev/ci/scripts/setup-host-natively.sh +0 -11
  169. data/dev/ci/setup-host +0 -56
  170. data/dev/ci/tests/apache2/run +0 -6
  171. data/dev/ci/tests/apache2/setup +0 -4
  172. data/dev/ci/tests/binaries/Jenkinsfile +0 -105
  173. data/dev/ci/tests/binaries/build-linux +0 -38
  174. data/dev/ci/tests/binaries/build-macos +0 -40
  175. data/dev/ci/tests/binaries/prepare-macos +0 -38
  176. data/dev/ci/tests/binaries/test-linux +0 -45
  177. data/dev/ci/tests/binaries/test-macos +0 -38
  178. data/dev/ci/tests/cxx/run +0 -9
  179. data/dev/ci/tests/cxx/setup +0 -4
  180. data/dev/ci/tests/debian/Jenkinsfile +0 -89
  181. data/dev/ci/tests/debian/run +0 -60
  182. data/dev/ci/tests/nginx-dynamic/run +0 -20
  183. data/dev/ci/tests/nginx-dynamic/setup +0 -4
  184. data/dev/ci/tests/nginx/run +0 -5
  185. data/dev/ci/tests/nginx/setup +0 -4
  186. data/dev/ci/tests/nodejs/run +0 -4
  187. data/dev/ci/tests/nodejs/setup +0 -4
  188. data/dev/ci/tests/rpm/Jenkinsfile +0 -68
  189. data/dev/ci/tests/rpm/run +0 -63
  190. data/dev/ci/tests/ruby/run +0 -4
  191. data/dev/ci/tests/ruby/setup +0 -4
  192. data/dev/ci/tests/source-packaging/run +0 -4
  193. data/dev/ci/tests/source-packaging/setup +0 -4
  194. data/dev/ci/tests/standalone/run +0 -4
  195. data/dev/ci/tests/standalone/setup +0 -4
  196. data/dev/configkit-schemas/index.json +0 -1850
  197. data/dev/configkit-schemas/update_schema_inline_comments.rb +0 -118
  198. data/dev/rack.test/config.ru +0 -5
  199. data/dev/rack.test/public/asset.txt +0 -1
  200. data/dev/vagrant/apache_default_site.conf +0 -35
  201. data/dev/vagrant/apache_passenger.conf +0 -5
  202. data/dev/vagrant/apache_passenger.load +0 -1
  203. data/dev/vagrant/apache_ports.conf +0 -24
  204. data/dev/vagrant/apache_rack_test.conf +0 -9
  205. data/dev/vagrant/bashrc +0 -23
  206. data/dev/vagrant/nginx.conf +0 -39
  207. data/dev/vagrant/nginx_rakefile +0 -33
  208. data/dev/vagrant/nginx_start +0 -32
  209. data/dev/vagrant/provision.sh +0 -117
  210. data/dev/vagrant/sudoers.conf +0 -5
  211. data/resources/templates/error_renderer/.editorconfig +0 -19
@@ -46,6 +46,7 @@
46
46
  #include <Core/Config.h>
47
47
  #include <Core/Controller/Config.h>
48
48
  #include <Core/SecurityUpdateChecker.h>
49
+ #include <Core/TelemetryCollector.h>
49
50
  #include <Watchdog/ApiServer.h>
50
51
  #include <Watchdog/Config.h>
51
52
  #include <LoggingKit/Config.h>
@@ -63,6 +64,7 @@ main(int argc, char *argv[]) {
63
64
  doc["Passenger::Core::ControllerSchema"] = Passenger::Core::ControllerSchema().inspect();
64
65
  doc["Passenger::Core::ControllerSingleAppModeSchema"] = Passenger::Core::ControllerSingleAppModeSchema().inspect();
65
66
  doc["Passenger::Core::Schema"] = Passenger::Core::Schema().inspect();
67
+ doc["Passenger::Core::TelemetryCollector::Schema"] = Passenger::Core::TelemetryCollector::Schema().inspect();
66
68
  doc["Passenger::LoggingKit::Schema"] = Passenger::LoggingKit::Schema().inspect();
67
69
  doc["Passenger::SecurityUpdateChecker::Schema"] = Passenger::SecurityUpdateChecker::Schema().inspect();
68
70
  doc["Passenger::ServerKit::BaseServerSchema"] = Passenger::ServerKit::BaseServerSchema().inspect();
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.3.5
4
+ version: 5.3.6
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-09-22 00:00:00.000000000 Z
11
+ date: 2018-11-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -52,9 +52,7 @@ extensions:
52
52
  - src/helper-scripts/download_binaries/extconf.rb
53
53
  extra_rdoc_files: []
54
54
  files:
55
- - ".editorconfig"
56
55
  - CHANGELOG
57
- - CODE_OF_CONDUCT.md
58
56
  - CONTRIBUTING.md
59
57
  - CONTRIBUTORS
60
58
  - INSTALL.md
@@ -104,71 +102,15 @@ files:
104
102
  - build/support/vendor/cxxcodebuilder/lib/cxxcodebuilder/initializer_builder.rb
105
103
  - build/test_basics.rb
106
104
  - configure
107
- - dev/boost-patches/0001-Patch-boost-thread-so-that-oxt-thread-can-use-it.patch
108
- - dev/boost-patches/0002-Make-boost-thread_interrupted-derive-from-oxt-tracab.patch
109
- - dev/boost-patches/0003-Disable-a-Clang-pragma-to-prevent-warnings-on-OS-X.patch
110
- - dev/ci/README.md
111
- - dev/ci/lib/functions.sh
112
- - dev/ci/lib/set-container-envvars.sh
113
- - dev/ci/lib/setup-container.sh
114
- - dev/ci/run-tests-natively
115
- - dev/ci/run-tests-with-docker
116
- - dev/ci/scripts/debug-console-wrapper.sh
117
- - dev/ci/scripts/docker-entrypoint-stage2.sh
118
- - dev/ci/scripts/docker-entrypoint.sh
119
- - dev/ci/scripts/inituidgid
120
- - dev/ci/scripts/run-tests-natively-stage2.sh
121
- - dev/ci/scripts/setup-host-natively.sh
122
- - dev/ci/setup-host
123
- - dev/ci/tests/apache2/run
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
131
- - dev/ci/tests/cxx/run
132
- - dev/ci/tests/cxx/setup
133
- - dev/ci/tests/debian/Jenkinsfile
134
- - dev/ci/tests/debian/run
135
- - dev/ci/tests/nginx-dynamic/run
136
- - dev/ci/tests/nginx-dynamic/setup
137
- - dev/ci/tests/nginx/run
138
- - dev/ci/tests/nginx/setup
139
- - dev/ci/tests/nodejs/run
140
- - dev/ci/tests/nodejs/setup
141
- - dev/ci/tests/rpm/Jenkinsfile
142
- - dev/ci/tests/rpm/run
143
- - dev/ci/tests/ruby/run
144
- - dev/ci/tests/ruby/setup
145
- - dev/ci/tests/source-packaging/run
146
- - dev/ci/tests/source-packaging/setup
147
- - dev/ci/tests/standalone/run
148
- - dev/ci/tests/standalone/setup
149
- - dev/configkit-schemas/index.json
150
- - dev/configkit-schemas/update_schema_inline_comments.rb
105
+ - dev/colorize-logs
151
106
  - dev/copy_boost_headers
152
107
  - dev/index_cxx_dependencies.rb
153
108
  - dev/install_scripts_bootstrap_code.rb
154
109
  - dev/list_tests
155
110
  - dev/parse_file_descriptor_log
156
- - dev/rack.test/config.ru
157
- - dev/rack.test/public/asset.txt
158
111
  - dev/ruby_server.rb
159
112
  - dev/runner
160
113
  - dev/show-latest-crashlog-dir
161
- - dev/vagrant/apache_default_site.conf
162
- - dev/vagrant/apache_passenger.conf
163
- - dev/vagrant/apache_passenger.load
164
- - dev/vagrant/apache_ports.conf
165
- - dev/vagrant/apache_rack_test.conf
166
- - dev/vagrant/bashrc
167
- - dev/vagrant/nginx.conf
168
- - dev/vagrant/nginx_rakefile
169
- - dev/vagrant/nginx_start
170
- - dev/vagrant/provision.sh
171
- - dev/vagrant/sudoers.conf
172
114
  - doc/CodingTipsAndPitfalls.md
173
115
  - doc/DebuggingAndStressTesting.md
174
116
  - doc/DeveloperQuickstart.md
@@ -209,7 +151,6 @@ files:
209
151
  - resources/templates/config/installation_utils/unexpected_filesystem_problem.txt.erb
210
152
  - resources/templates/config/installation_utils/user_support_binaries_dir_not_writable.txt.erb
211
153
  - resources/templates/config/nginx_engine_compiler/possible_solutions_for_download_and_extraction_problems.txt.erb
212
- - resources/templates/error_renderer/.editorconfig
213
154
  - resources/templates/error_renderer/with_details/README.md
214
155
  - resources/templates/error_renderer/with_details/dist/bundle.js
215
156
  - resources/templates/error_renderer/with_details/dist/styles.css
@@ -391,6 +332,7 @@ files:
391
332
  - src/apache2_module/ConfigGeneral/AutoGeneratedManifestDefaultsInitialization.cpp.cxxcodebuilder
392
333
  - src/apache2_module/ConfigGeneral/AutoGeneratedSetterFuncs.cpp
393
334
  - src/apache2_module/ConfigGeneral/AutoGeneratedSetterFuncs.cpp.cxxcodebuilder
335
+ - src/apache2_module/ConfigGeneral/Common.h
394
336
  - src/apache2_module/ConfigGeneral/ManifestGeneration.h
395
337
  - src/apache2_module/ConfigGeneral/SetterFuncs.h
396
338
  - src/apache2_module/DirConfig/AutoGeneratedCreateFunction.cpp
@@ -413,6 +355,8 @@ files:
413
355
  - src/apache2_module/ServerConfig/AutoGeneratedStruct.h.cxxcodebuilder
414
356
  - src/apache2_module/Utils.h
415
357
  - src/apache2_module/mod_passenger.c
358
+ - src/cxx_supportlib/Algorithms/Hasher.cpp
359
+ - src/cxx_supportlib/Algorithms/Hasher.h
416
360
  - src/cxx_supportlib/Algorithms/MovingAverage.h
417
361
  - src/cxx_supportlib/AppTypeDetector/CBindings.cpp
418
362
  - src/cxx_supportlib/AppTypeDetector/CBindings.h
@@ -435,12 +379,12 @@ files:
435
379
  - src/cxx_supportlib/ConfigKit/Utils.h
436
380
  - src/cxx_supportlib/Constants.h
437
381
  - src/cxx_supportlib/Constants.h.cxxcodebuilder
438
- - src/cxx_supportlib/Crypto.cpp
439
- - src/cxx_supportlib/Crypto.h
382
+ - src/cxx_supportlib/DataStructures/HashMap.h
440
383
  - src/cxx_supportlib/DataStructures/HashedStaticString.h
441
384
  - src/cxx_supportlib/DataStructures/LString.cpp
442
385
  - src/cxx_supportlib/DataStructures/LString.h
443
386
  - src/cxx_supportlib/DataStructures/StringKeyTable.h
387
+ - src/cxx_supportlib/DataStructures/StringMap.h
444
388
  - src/cxx_supportlib/Exceptions.cpp
445
389
  - src/cxx_supportlib/Exceptions.h
446
390
  - src/cxx_supportlib/FileDescriptor.h
@@ -455,11 +399,17 @@ files:
455
399
  - src/cxx_supportlib/FileTools/PathSecurityCheck.cpp
456
400
  - src/cxx_supportlib/FileTools/PathSecurityCheck.h
457
401
  - src/cxx_supportlib/Hooks.h
402
+ - src/cxx_supportlib/IOTools/BufferedIO.h
403
+ - src/cxx_supportlib/IOTools/IOUtils.cpp
404
+ - src/cxx_supportlib/IOTools/IOUtils.h
405
+ - src/cxx_supportlib/IOTools/MessageIO.h
406
+ - src/cxx_supportlib/IOTools/MessageSerialization.h
458
407
  - src/cxx_supportlib/InstanceDirectory.h
459
408
  - src/cxx_supportlib/Integrations/LibevJsonUtils.h
460
409
  - src/cxx_supportlib/JsonTools/Autocast.h
461
410
  - src/cxx_supportlib/JsonTools/CBindings.cpp
462
411
  - src/cxx_supportlib/JsonTools/CBindings.h
412
+ - src/cxx_supportlib/JsonTools/JsonUtils.h
463
413
  - src/cxx_supportlib/LoggingKit/Assert.h
464
414
  - src/cxx_supportlib/LoggingKit/Config.h
465
415
  - src/cxx_supportlib/LoggingKit/Context.h
@@ -472,7 +422,6 @@ files:
472
422
  - src/cxx_supportlib/MemoryKit/mbuf.h
473
423
  - src/cxx_supportlib/MemoryKit/palloc.cpp
474
424
  - src/cxx_supportlib/MemoryKit/palloc.h
475
- - src/cxx_supportlib/MessageReadersWriters.h
476
425
  - src/cxx_supportlib/ProcessManagement/Ruby.cpp
477
426
  - src/cxx_supportlib/ProcessManagement/Ruby.h
478
427
  - src/cxx_supportlib/ProcessManagement/Spawn.cpp
@@ -483,6 +432,9 @@ files:
483
432
  - src/cxx_supportlib/RandomGenerator.h
484
433
  - src/cxx_supportlib/ResourceLocator.h
485
434
  - src/cxx_supportlib/SafeLibev.h
435
+ - src/cxx_supportlib/SecurityKit/Crypto.cpp
436
+ - src/cxx_supportlib/SecurityKit/Crypto.h
437
+ - src/cxx_supportlib/SecurityKit/MemZeroGuard.h
486
438
  - src/cxx_supportlib/ServerKit/AcceptLoadBalancer.h
487
439
  - src/cxx_supportlib/ServerKit/Channel.h
488
440
  - src/cxx_supportlib/ServerKit/Client.h
@@ -510,7 +462,18 @@ files:
510
462
  - src/cxx_supportlib/ServerKit/http_parser.cpp
511
463
  - src/cxx_supportlib/ServerKit/http_parser.h
512
464
  - src/cxx_supportlib/StaticString.h
465
+ - src/cxx_supportlib/StrIntTools/DateParsing.h
466
+ - src/cxx_supportlib/StrIntTools/StrIntUtils.cpp
467
+ - src/cxx_supportlib/StrIntTools/StrIntUtils.h
468
+ - src/cxx_supportlib/StrIntTools/StrIntUtilsNoStrictAliasing.cpp
469
+ - src/cxx_supportlib/StrIntTools/StringScanning.h
470
+ - src/cxx_supportlib/StrIntTools/Template.h
471
+ - src/cxx_supportlib/SystemTools/ContainerHelpers.h
472
+ - src/cxx_supportlib/SystemTools/ProcessMetricsCollector.h
513
473
  - src/cxx_supportlib/SystemTools/README.md
474
+ - src/cxx_supportlib/SystemTools/SystemMetricsCollector.h
475
+ - src/cxx_supportlib/SystemTools/SystemTime.cpp
476
+ - src/cxx_supportlib/SystemTools/SystemTime.h
514
477
  - src/cxx_supportlib/SystemTools/UserDatabase.cpp
515
478
  - src/cxx_supportlib/SystemTools/UserDatabase.h
516
479
  - src/cxx_supportlib/Utils.cpp
@@ -518,42 +481,21 @@ files:
518
481
  - src/cxx_supportlib/Utils/AnsiColorConstants.h
519
482
  - src/cxx_supportlib/Utils/AsyncSignalSafeUtils.h
520
483
  - src/cxx_supportlib/Utils/BlockingQueue.h
521
- - src/cxx_supportlib/Utils/BufferedIO.h
522
484
  - src/cxx_supportlib/Utils/CachedFileStat.cpp
523
485
  - src/cxx_supportlib/Utils/CachedFileStat.h
524
486
  - src/cxx_supportlib/Utils/CachedFileStat.hpp
525
487
  - src/cxx_supportlib/Utils/ClassUtils.h
526
488
  - src/cxx_supportlib/Utils/Curl.h
527
- - src/cxx_supportlib/Utils/DateParsing.h
528
489
  - src/cxx_supportlib/Utils/FastStringStream.h
529
490
  - src/cxx_supportlib/Utils/FileChangeChecker.h
530
- - src/cxx_supportlib/Utils/HashMap.h
531
- - src/cxx_supportlib/Utils/Hasher.cpp
532
- - src/cxx_supportlib/Utils/Hasher.h
533
491
  - src/cxx_supportlib/Utils/HttpConstants.h
534
- - src/cxx_supportlib/Utils/IOUtils.cpp
535
- - src/cxx_supportlib/Utils/IOUtils.h
536
492
  - src/cxx_supportlib/Utils/IniFile.h
537
- - src/cxx_supportlib/Utils/JsonUtils.h
538
493
  - src/cxx_supportlib/Utils/Lock.h
539
- - src/cxx_supportlib/Utils/MemZeroGuard.h
540
- - src/cxx_supportlib/Utils/MemoryBarrier.h
541
- - src/cxx_supportlib/Utils/MessageIO.h
542
494
  - src/cxx_supportlib/Utils/MessagePassing.h
543
495
  - src/cxx_supportlib/Utils/OptionParsing.h
544
- - src/cxx_supportlib/Utils/ProcessMetricsCollector.h
545
496
  - src/cxx_supportlib/Utils/ReleaseableScopedPointer.h
546
497
  - src/cxx_supportlib/Utils/ScopeGuard.h
547
498
  - src/cxx_supportlib/Utils/SpeedMeter.h
548
- - src/cxx_supportlib/Utils/StrIntUtils.cpp
549
- - src/cxx_supportlib/Utils/StrIntUtils.h
550
- - src/cxx_supportlib/Utils/StrIntUtilsNoStrictAliasing.cpp
551
- - src/cxx_supportlib/Utils/StringMap.h
552
- - src/cxx_supportlib/Utils/StringScanning.h
553
- - src/cxx_supportlib/Utils/SystemMetricsCollector.h
554
- - src/cxx_supportlib/Utils/SystemTime.cpp
555
- - src/cxx_supportlib/Utils/SystemTime.h
556
- - src/cxx_supportlib/Utils/Template.h
557
499
  - src/cxx_supportlib/Utils/Timer.h
558
500
  - src/cxx_supportlib/Utils/VariantMap.h
559
501
  - src/cxx_supportlib/WatchdogLauncher.cpp
@@ -1,134 +0,0 @@
1
- # http://EditorConfig.org
2
-
3
- root = true
4
-
5
- [*]
6
- end_of_line = lf
7
- charset = utf-8
8
-
9
- [bin/*]
10
- indent_style=space
11
- indent_size=2
12
- trim_trailing_whitespace = true
13
-
14
- [doc/*.txt]
15
- indent_style=tab
16
- indent_size=4
17
-
18
- [doc/*/*.txt]
19
- indent_style=tab
20
- indent_size=4
21
-
22
- [*.cpp]
23
- indent_style = tab
24
- indent_size = 4
25
- trim_trailing_whitespace = true
26
- insert_final_newline = true
27
-
28
- [*.c]
29
- indent_style = tab
30
- indent_size = 4
31
- trim_trailing_whitespace = true
32
- insert_final_newline = true
33
-
34
- [*.h]
35
- indent_style = tab
36
- indent_size = 4
37
- trim_trailing_whitespace = true
38
- insert_final_newline = true
39
-
40
- [*.hpp]
41
- indent_style = tab
42
- indent_size = 4
43
- trim_trailing_whitespace = true
44
- insert_final_newline = true
45
-
46
- [*.rb]
47
- indent_style = space
48
- indent_size = 2
49
- trim_trailing_whitespace = true
50
-
51
- [*.py]
52
- indent_style = tab
53
- trim_trailing_whitespace = true
54
-
55
- [*.cxxcodebuilder]
56
- indent_style = space
57
- indent_size = 2
58
- trim_trailing_whitespace = true
59
-
60
- [config.ru]
61
- indent_style = space
62
- indent_size = 2
63
- trim_trailing_whitespace = true
64
-
65
- [Rakefile]
66
- indent_style = space
67
- indent_size = 2
68
- trim_trailing_whitespace = true
69
-
70
- [Gemfile]
71
- indent_style = space
72
- indent_size = 2
73
- trim_trailing_whitespace = true
74
-
75
- [Jenkinsfile]
76
- indent_style = space
77
- indent_size = 2
78
- trim_trailing_whitespace = true
79
-
80
- [*.js]
81
- indent_style = tab
82
- indent_size = 4
83
- trim_trailing_whitespace = true
84
-
85
- [src/nginx_module/*.c]
86
- indent_style = space
87
- indent_size = 4
88
-
89
- [src/nginx_module/*.h]
90
- indent_style = space
91
- indent_size = 4
92
-
93
- [src/nginx_module/*/*.c]
94
- indent_style = space
95
- indent_size = 4
96
-
97
- [src/nginx_module/*/*.h]
98
- indent_style = space
99
- indent_size = 4
100
-
101
- [src/cxx_supportlib/vendor-modified/libev/*.c]
102
- indent_style = space
103
- indent_size = 2
104
- trim_trailing_whitespace = false
105
-
106
- [src/cxx_supportlib/vendor-modified/libev/*.h]
107
- indent_style = space
108
- indent_size = 2
109
- trim_trailing_whitespace = false
110
-
111
- [src/cxx_supportlib/vendor-copy/libuv/src/*.c]
112
- indent_style = space
113
- indent_size = 2
114
- trim_trailing_whitespace = false
115
-
116
- [src/cxx_supportlib/vendor-copy/libuv/src/*.h]
117
- indent_style = space
118
- indent_size = 2
119
- trim_trailing_whitespace = false
120
-
121
- [src/cxx_supportlib/vendor-copy/libuv/src/unix/*.c]
122
- indent_style = space
123
- indent_size = 2
124
- trim_trailing_whitespace = false
125
-
126
- [src/cxx_supportlib/vendor-copy/libuv/src/unix/*.h]
127
- indent_style = space
128
- indent_size = 2
129
- trim_trailing_whitespace = false
130
-
131
- [resources/templates/standalone/config.erb]
132
- indent_style = space
133
- indent_size = 4
134
- trim_trailing_whitespace = true
@@ -1,52 +0,0 @@
1
- # Contributor Covenant Code of Conduct
2
-
3
- ## Our Pledge
4
-
5
- In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.
6
-
7
- ## Our Standards
8
-
9
- Examples of behavior that contributes to creating a positive environment include:
10
-
11
- * Using welcoming and inclusive language
12
- * Being respectful of differing viewpoints and experiences
13
- * Gracefully accepting constructive criticism
14
- * Focusing on what is best for the community
15
- * Showing empathy towards other community members
16
-
17
- Examples of unacceptable behavior by participants include:
18
-
19
- * The use of sexualized language or imagery and unwelcome sexual attention or advances
20
- * Trolling, insulting/derogatory comments, and personal or political attacks
21
- * Public or private harassment
22
- * Publishing others' private information, such as a physical or electronic address, without explicit permission
23
- * Other conduct which could reasonably be considered inappropriate in a professional setting
24
-
25
- ## Our Responsibilities
26
-
27
- Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior.
28
-
29
- Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.
30
-
31
- ## Scope
32
-
33
- This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.
34
-
35
- ## Enforcement
36
-
37
- Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at Phusion Passenger:
38
-
39
- [FloorD](https://github.com/floord) (she/her), floor@phusion.nl, English / Dutch / German
40
-
41
- [scarhand](https://github.com/scarhand) (he/his), niels@phusion.nl, English / Dutch
42
-
43
- The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.
44
-
45
- Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.
46
-
47
- ## Attribution
48
-
49
- This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]
50
-
51
- [homepage]: http://contributor-covenant.org
52
- [version]: http://contributor-covenant.org/version/1/4/
@@ -1,48 +0,0 @@
1
- From 6b92660c98818a3f9630492cf8c79b8c610b3cef Mon Sep 17 00:00:00 2001
2
- From: "Hongli Lai (Phusion)" <hongli@phusion.nl>
3
- Date: Mon, 15 Feb 2016 12:21:52 +0100
4
- Subject: [PATCH] Patch boost::thread so that oxt::thread can use it
5
-
6
- ---
7
- src/cxx_supportlib/vendor-modified/boost/thread/detail/thread.hpp | 4 ++--
8
- src/cxx_supportlib/vendor-modified/boost/thread/once.hpp | 2 +-
9
- 2 files changed, 3 insertions(+), 3 deletions(-)
10
-
11
- diff --git a/src/cxx_supportlib/vendor-modified/boost/thread/detail/thread.hpp b/src/cxx_supportlib/vendor-modified/boost/thread/detail/thread.hpp
12
- index 9e7e8b8f5..fa6edc2b5 100644
13
- --- a/src/cxx_supportlib/vendor-modified/boost/thread/detail/thread.hpp
14
- +++ b/src/cxx_supportlib/vendor-modified/boost/thread/detail/thread.hpp
15
- @@ -162,7 +162,7 @@ namespace boost
16
- typedef thread_attributes attributes;
17
-
18
- BOOST_THREAD_MOVABLE_ONLY(thread)
19
- - private:
20
- + protected:
21
-
22
- struct dummy;
23
-
24
- @@ -170,7 +170,7 @@ namespace boost
25
-
26
- detail::thread_data_ptr thread_info;
27
-
28
- - private:
29
- + protected:
30
- bool start_thread_noexcept();
31
- bool start_thread_noexcept(const attributes& attr);
32
- void start_thread()
33
- diff --git a/src/cxx_supportlib/vendor-modified/boost/thread/once.hpp b/src/cxx_supportlib/vendor-modified/boost/thread/once.hpp
34
- index 9fcfb5333..9a3e9e55d 100644
35
- --- a/src/cxx_supportlib/vendor-modified/boost/thread/once.hpp
36
- +++ b/src/cxx_supportlib/vendor-modified/boost/thread/once.hpp
37
- @@ -32,7 +32,7 @@ namespace boost
38
- // template<class Callable, class ...Args> void
39
- // call_once(once_flag& flag, Callable&& func, Args&&... args);
40
- template<typename Function>
41
- -inline void call_once(Function func,once_flag& flag)
42
- +inline void call_once(Function func,boost::once_flag& flag)
43
- //inline void call_once(void (*func)(),once_flag& flag)
44
- {
45
- call_once(flag,func);
46
- --
47
- 2.13.0
48
-