passenger 4.0.55 → 4.0.56
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 +7 -0
- data/CONTRIBUTORS +1 -0
- data/ext/common/ApplicationPool2/Implementation.cpp +1 -1
- data/ext/common/ApplicationPool2/Process.h +10 -11
- data/ext/common/Constants.h +1 -1
- data/lib/phusion_passenger.rb +1 -1
- metadata +2 -2
- metadata.gz.asc +7 -7
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
Mjc1ZGFjMmE1MjQ3ZmVmOWFiYjg3NWQzNTk2Y2EzY2FjMmE2MTgxOQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ZTQ2NDEwYjc3NTI3ZGUyOWNhOTJmZTFiMzRjZDU2ZDQwODM5ZDUxNw==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
Yzg1OWRjNzQ2ZDA3ZjAxYWI0YzQ3NWUxOWYyMjIyM2MyYTAwZjU0MDVlMjc0
|
10
|
+
M2JlYWJmMzk0MWNkNjVkNmM5Nzc2N2I0NTg1ZmMxMDllMTA5NmZlYzJjYmFm
|
11
|
+
ODE3NWI0NjUxOGRkNTM5ODQ4NWI2ODQ5OTBjYTY2YzEzMzA3NjQ=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NTIwMzVkNjJmZWI1MDZkYmI0NjZkZGQ0MTg1OTZmOTdhNjE2MDFmZmZkYmJm
|
14
|
+
YTJkZWVmNzI1MGI2ZjNjNzI5MjlhODE1MDdlYTEyMTVhMzZhMGZiOTgwZDE1
|
15
|
+
MmY5Y2Q4OTgxNjc3YTM1MDVmMTVjNzhiMjM5N2IzM2QyZWZjNWY=
|
checksums.yaml.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
|
+
iQEcBAABAgAGBQJUky9uAAoJECrHRaUKISqMxpsIAKNq+qK6wOluW76EdNew0+h9
|
6
|
+
mHT6NVpAcDacgTy64vLxIh5bpYsOv+AW2n9c/MeBkdfXrfy54qrdm+FPocPwJ6Ta
|
7
|
+
wKel1K9KeQwRcSs6E1P0DNw9k2Tit9ZwXVJqzT2u65U3GytgPK2yGI4hMtDKFuNA
|
8
|
+
WvAumMdL0ffqZwr6uEqjrSnpyhkSKn2TakOIA73YyzjiRVKQRO7XpukgK19cDTF8
|
9
|
+
5oQNdDtG2EEWspCIa5K46/J/RCvsEw3QUmEyPUBlIRRx+Nd+/G2HmUbIcxvfCwoS
|
10
|
+
2PAvFQgync6o6r6yz+e5ge6EJ1htq1LzQDtgHv0xfGQzE3znlsoVzWoBz2JrPkY=
|
11
|
+
=h7Sh
|
12
12
|
-----END PGP SIGNATURE-----
|
data.tar.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
|
+
iQEcBAABAgAGBQJUky9uAAoJECrHRaUKISqMmBwH/A6W2oG4Zc1K9Jj81OoHTGxl
|
6
|
+
60yCeMsvUYq9BZZoc0N44hMhjgUHV5YxxXOvHghSPQiheo9DZ/169luk5jSdO1WS
|
7
|
+
dqAwN7rbLFieqhSlJuNa9T30USZE/WWv4T808LxLVaaIEeeS+tBtn4J4qfMxhEiY
|
8
|
+
iqoTLhr81IWtMcQJN7B6zlaL3ITkleBMGX44Prf5o/U+6GeJr1Z7ZbpNIoI2XBCR
|
9
|
+
CM4JYGuJRR38UaSyVdn9ufaWkgrvn7FH0Wbri+Yq4PC98zQmoR2Bb3mGWBWpbAcR
|
10
|
+
J1hEQVev7kp/Sd8p4EhPlzH9KLf0lvPv11Pz1plo7y6pntbUdnTHIDNdQyit0oI=
|
11
|
+
=2Wxk
|
12
12
|
-----END PGP SIGNATURE-----
|
data/CHANGELOG
CHANGED
@@ -1,3 +1,10 @@
|
|
1
|
+
Release 4.0.56
|
2
|
+
--------------
|
3
|
+
|
4
|
+
* Fixed a file descriptor leak that manifests when an error page is shown. Contributed by Paul Bonaud, closes GH-1325.
|
5
|
+
* Improved Node.js request load balancing. Closes GH-1322. Thanks to Charles Vallières for the analysis.
|
6
|
+
|
7
|
+
|
1
8
|
Release 4.0.55
|
2
9
|
--------------
|
3
10
|
|
data/CONTRIBUTORS
CHANGED
@@ -184,7 +184,6 @@ void processAndLogNewSpawnException(SpawnException &e, const Options &options,
|
|
184
184
|
|
185
185
|
try {
|
186
186
|
int fd = -1;
|
187
|
-
FdGuard guard(fd, true);
|
188
187
|
string errorPage;
|
189
188
|
|
190
189
|
UPDATE_TRACE_POINT();
|
@@ -199,6 +198,7 @@ void processAndLogNewSpawnException(SpawnException &e, const Options &options,
|
|
199
198
|
getSystemTempDir());
|
200
199
|
fd = mkstemp(filename);
|
201
200
|
#endif
|
201
|
+
FdGuard guard(fd, true);
|
202
202
|
if (fd == -1) {
|
203
203
|
int e = errno;
|
204
204
|
throw SystemException("Cannot generate a temporary filename",
|
@@ -540,19 +540,18 @@ public:
|
|
540
540
|
int busyness() const {
|
541
541
|
/* Different processes within a Group may have different
|
542
542
|
* 'concurrency' values. We want:
|
543
|
-
* -
|
544
|
-
*
|
545
|
-
*
|
546
|
-
*
|
547
|
-
*
|
543
|
+
* - the process with the smallest busyness to be be picked for routing
|
544
|
+
* (through Group.pqueue).
|
545
|
+
* - to give processes with concurrency == 0 more priority (in general)
|
546
|
+
* over processes with concurrency > 0.
|
547
|
+
* Therefore, in case of processes with concurrency > 0, we describe our
|
548
|
+
* busyness as a percentage of 'concurrency', with the percentage value
|
549
|
+
* in [0..INT_MAX] instead of [0..1]. That way, the busyness value
|
550
|
+
* of processes with concurrency > 0 is usually higher than that of processes
|
551
|
+
* with concurrency == 0.
|
548
552
|
*/
|
549
553
|
if (concurrency == 0) {
|
550
|
-
|
551
|
-
if (sessions == 0) {
|
552
|
-
return 0;
|
553
|
-
} else {
|
554
|
-
return 1;
|
555
|
-
}
|
554
|
+
return sessions;
|
556
555
|
} else {
|
557
556
|
return (int) (((long long) sessions * INT_MAX) / (double) concurrency);
|
558
557
|
}
|
data/ext/common/Constants.h
CHANGED
data/lib/phusion_passenger.rb
CHANGED
@@ -30,7 +30,7 @@ module PhusionPassenger
|
|
30
30
|
|
31
31
|
PACKAGE_NAME = 'passenger'
|
32
32
|
# Run 'rake ext/common/Constants.h' after changing this number.
|
33
|
-
VERSION_STRING = '4.0.
|
33
|
+
VERSION_STRING = '4.0.56'
|
34
34
|
|
35
35
|
PREFERRED_NGINX_VERSION = '1.6.2'
|
36
36
|
NGINX_SHA256_CHECKSUM = 'b5608c2959d3e7ad09b20fc8f9e5bd4bc87b3bc8ba5936a513c04ed8f1391a18'
|
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: 4.0.
|
4
|
+
version: 4.0.56
|
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: 2014-12-
|
11
|
+
date: 2014-12-18 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
|
+
iQEcBAABAgAGBQJUky9uAAoJECrHRaUKISqM+C8H/jP/fTfjlMp/SgNU7JkqTAXS
|
6
|
+
2KxHSwVfDlRukzy9UIqDXxiLVdA9CaYjEWgya8I/PVw1OqiRzQtcwZuOk9CPbgzD
|
7
|
+
lzad81GwI5xpssU4YdR9mVpp1mfx3pUuMQXBvTJ0eQBo5EVb8cT3gu1KBLqIgy7r
|
8
|
+
6LlcVOdAGA0ck4116p088Ml0qr+S/1nbF8dUdGEr70Mtx4yAXKIiKlBI7jMBiOCB
|
9
|
+
tF8tgkow/oQvYON+RPu2H7eAY9kJKHSGJKbYQbfyeE06mHH0gtlBu5dZSkju2oJ1
|
10
|
+
Rg7ph80agPROKL1RdK5JaRxWjQGUnIpUO4q9w1wGRZ/Q5jDCsMMaLggTkkryMtU=
|
11
|
+
=qA8S
|
12
12
|
-----END PGP SIGNATURE-----
|