passenger 5.0.5 → 5.0.6
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of passenger might be problematic. Click here for more details.
- checksums.yaml +8 -8
- checksums.yaml.gz.asc +7 -7
- data.tar.gz.asc +7 -7
- data/CHANGELOG +17 -0
- data/build/test_basics.rb +2 -2
- data/doc/Users guide Apache.html +47 -42
- data/doc/Users guide Apache.idmap.txt +23 -21
- data/doc/Users guide Nginx.html +47 -42
- data/doc/Users guide Nginx.idmap.txt +23 -21
- data/doc/Users guide Standalone.html +39 -34
- data/doc/Users guide Standalone.idmap.txt +19 -17
- data/doc/users_guide_snippets/installation.txt +5 -0
- data/ext/apache2/Configuration.hpp +0 -12
- data/ext/apache2/Hooks.cpp +31 -35
- data/ext/common/AgentsStarter.h +24 -19
- data/ext/common/BackgroundEventLoop.cpp +1 -0
- data/ext/common/Constants.h +1 -1
- data/ext/common/MemoryKit/mbuf.cpp +4 -0
- data/ext/common/ResourceLocator.h +1 -1
- data/ext/common/ServerKit/Context.h +20 -0
- data/ext/common/ServerKit/HeaderTable.h +12 -4
- data/ext/common/ServerKit/HttpHeaderParser.h +2 -2
- data/ext/common/agents/HelperAgent/RequestHandler.h +2 -0
- data/ext/common/agents/HelperAgent/RequestHandler/BufferBody.cpp +4 -2
- data/ext/common/agents/HelperAgent/RequestHandler/Client.h +3 -1
- data/ext/common/agents/HelperAgent/RequestHandler/ForwardResponse.cpp +7 -0
- data/ext/common/agents/HelperAgent/RequestHandler/Hooks.cpp +5 -0
- data/ext/common/agents/HelperAgent/RequestHandler/SendRequest.cpp +34 -1
- data/ext/common/agents/HelperAgent/ResponseCache.h +14 -2
- data/ext/common/agents/Watchdog/HelperAgentWatcher.cpp +2 -2
- data/lib/phusion_passenger.rb +1 -1
- data/lib/phusion_passenger/config/admin_command_command.rb +52 -12
- data/lib/phusion_passenger/config/utils.rb +1 -1
- data/lib/phusion_passenger/standalone/start_command.rb +8 -3
- metadata +2 -2
- metadata.gz.asc +7 -7
@@ -117,7 +117,7 @@ module PhusionPassenger
|
|
117
117
|
|
118
118
|
def print_instance_querying_permission_error
|
119
119
|
PhusionPassenger.require_passenger_lib 'platform_info/ruby'
|
120
|
-
STDERR.puts "*** ERROR: You are not authorized to query the status for this "
|
120
|
+
STDERR.puts "*** ERROR: You are not authorized to query the status for this " +
|
121
121
|
"#{PROGRAM_NAME} instance. Please try again with " +
|
122
122
|
"'#{PhusionPassenger::PlatformInfo.ruby_sudo_command}'."
|
123
123
|
end
|
@@ -149,17 +149,19 @@ module PhusionPassenger
|
|
149
149
|
opts.on("--log-file FILENAME", String,
|
150
150
|
"Where to write log messages. Default:#{nl}" +
|
151
151
|
"console, or /dev/null when daemonized") do |value|
|
152
|
-
options[:log_file] = value
|
152
|
+
options[:log_file] = File.absolute_path_no_resolve(value)
|
153
153
|
end
|
154
154
|
opts.on("--pid-file FILENAME", String, "Where to store the PID file") do |value|
|
155
|
-
options[:pid_file] = value
|
155
|
+
options[:pid_file] = File.absolute_path_no_resolve(value)
|
156
156
|
end
|
157
157
|
opts.on("--instance-registry-dir PATH", String,
|
158
158
|
"Use the given instance registry directory") do |value|
|
159
|
-
|
159
|
+
# relative values OK
|
160
|
+
options[:instance_registry_dir] = value
|
160
161
|
end
|
161
162
|
opts.on("--data-buffer-dir PATH", String,
|
162
163
|
"Use the given data buffer directory") do |value|
|
164
|
+
# relative values OK (absolutizePath in HelperAgent Main)
|
163
165
|
options[:data_buffer_dir] = value
|
164
166
|
end
|
165
167
|
|
@@ -174,6 +176,7 @@ module PhusionPassenger
|
|
174
176
|
"Consider application a Ruby app, and use#{nl}" +
|
175
177
|
"the given rackup file") do |value|
|
176
178
|
options[:app_type] = "rack"
|
179
|
+
# relative w.r.t. app dir
|
177
180
|
options[:startup_file] = value
|
178
181
|
end
|
179
182
|
opts.on("--app-type NAME", String,
|
@@ -182,6 +185,7 @@ module PhusionPassenger
|
|
182
185
|
end
|
183
186
|
opts.on("--startup-file FILENAME", String,
|
184
187
|
"Force given startup file to be used") do |value|
|
188
|
+
# relative w.r.t. app dir
|
185
189
|
options[:startup_file] = value
|
186
190
|
end
|
187
191
|
opts.on("--spawn-method NAME", String,
|
@@ -285,6 +289,7 @@ module PhusionPassenger
|
|
285
289
|
opts.separator ""
|
286
290
|
opts.separator "Nginx engine options:"
|
287
291
|
opts.on("--nginx-bin FILENAME", String, "Nginx binary to use as core") do |value|
|
292
|
+
# relative values OK
|
288
293
|
options[:nginx_bin] = value
|
289
294
|
end
|
290
295
|
opts.on("--nginx-version VERSION", String,
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: passenger
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.0.
|
4
|
+
version: 5.0.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: 2015-03-
|
11
|
+
date: 2015-03-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
metadata.gz.asc
CHANGED
@@ -2,11 +2,11 @@
|
|
2
2
|
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
|
3
3
|
Comment: GPGTools - http://gpgtools.org
|
4
4
|
|
5
|
-
|
6
|
-
|
7
|
-
/
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
=
|
5
|
+
iQEcBAABAgAGBQJVGmsTAAoJECrHRaUKISqMya0H/jaY0B1o5Vx/sgc9uh3L0kfq
|
6
|
+
es9l1zdr//rqC/3x6GvN27Z9Q3iq1ML+4yITBSEtFFn8CdicUhCESuz7cG/NE+xo
|
7
|
+
HD46Kfiiezu9CR58nU0axRIjMLQf2OF9xXaiCuumBsvwurhX3N/L1EvVyylvw8Xk
|
8
|
+
V32oHrZTKzvlGiz6f2MArsp2+q1kbBiW0Dewdd22HKS+B6V2uufi0+Zu2yBU+FlF
|
9
|
+
+7RHGC+0gYr0fZd0hIgJeYVSv2vTxqI3UFizdSJ7iNbvzeNwYkECBBbkMG7DN3t1
|
10
|
+
qT1ZYdVSA8CcKgokQ/Pc5o0e9Xkji64TnNbA8ig19ciSBSk64wAbwSS6z6GZUAU=
|
11
|
+
=B921
|
12
12
|
-----END PGP SIGNATURE-----
|