passenger 2.2.13 → 2.2.14

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.

data/NEWS CHANGED
@@ -1,3 +1,14 @@
1
+ Release 2.2.14
2
+ --------------
3
+
4
+ * Added support for Rubinius
5
+ Patch contributed by Evan Phoenix.
6
+ * Fixed a mistake in the SIGQUIT backtrace message.
7
+ Patch contributed by Christoffer Sawicki.
8
+ * [Nginx] Fix a localtime() crash on FreeBSD
9
+ This was caused by insufficient stack space for threads. Issue #499.
10
+
11
+
1
12
  Release 2.2.13
2
13
  --------------
3
14
 
@@ -3749,7 +3749,7 @@ has no effect.</p></div>
3749
3749
  <div id="footnotes"><hr /></div>
3750
3750
  <div id="footer">
3751
3751
  <div id="footer-text">
3752
- Last updated 2010-06-01 18:33:18 CEST
3752
+ Last updated 2010-06-04 12:07:24 CEST
3753
3753
  </div>
3754
3754
  </div>
3755
3755
  </body>
@@ -2427,7 +2427,7 @@ has no effect.</p></div>
2427
2427
  <div id="footnotes"><hr /></div>
2428
2428
  <div id="footer">
2429
2429
  <div id="footer-text">
2430
- Last updated 2010-06-01 18:33:18 CEST
2430
+ Last updated 2010-06-04 12:07:24 CEST
2431
2431
  </div>
2432
2432
  </div>
2433
2433
  </body>
@@ -26,6 +26,6 @@
26
26
  #define _PASSENGER_VERSION_H_
27
27
 
28
28
  /* Don't forget to update lib/phusion_passenger/constants.rb too. */
29
- #define PASSENGER_VERSION "2.2.13"
29
+ #define PASSENGER_VERSION "2.2.14"
30
30
 
31
31
  #endif /* _PASSENGER_VERSION_H */
@@ -139,7 +139,13 @@ struct ClientDisconnectedException { };
139
139
  class Client {
140
140
  private:
141
141
  /** The client thread stack size in bytes. */
142
- static const int CLIENT_THREAD_STACK_SIZE = 1024 * 64;
142
+ static const int CLIENT_THREAD_STACK_SIZE =
143
+ #ifdef __FreeBSD__
144
+ // localtime() on FreeBSD needs some more stack space.
145
+ 1024 * 96;
146
+ #else
147
+ 1024 * 64;
148
+ #endif
143
149
 
144
150
  /** The client number for this Client object, assigned by Server. */
145
151
  unsigned int number;
@@ -338,7 +338,8 @@ private
338
338
  output << "# Thread: #{thread.inspect}, "
339
339
  if thread == Thread.main
340
340
  output << "[main thread], "
341
- else
341
+ end
342
+ if thread == Thread.current
342
343
  output << "[current thread], "
343
344
  end
344
345
  output << "alive = #{thread.alive?}\n"
@@ -24,7 +24,7 @@
24
24
  module PhusionPassenger
25
25
  # Phusion Passenger version number.
26
26
  # Don't forget to edit ext/common/Version.h too.
27
- VERSION_STRING = '2.2.13'
27
+ VERSION_STRING = '2.2.14'
28
28
 
29
29
  DEFAULT_FRAMEWORK_SPAWNER_MAX_IDLE_TIME = 30 * 60
30
30
  DEFAULT_APP_SPAWNER_MAX_IDLE_TIME = 10 * 60
@@ -34,7 +34,7 @@ require 'tempfile'
34
34
  require 'stringio'
35
35
  require 'phusion_passenger/packaging'
36
36
  require 'phusion_passenger/exceptions'
37
- if !defined?(RUBY_ENGINE) || RUBY_ENGINE == "ruby"
37
+ if !defined?(RUBY_ENGINE) || RUBY_ENGINE == "ruby" || RUBY_ENGINE == "rbx"
38
38
  require 'phusion_passenger/native_support'
39
39
  end
40
40
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: passenger
3
3
  version: !ruby/object:Gem::Version
4
- hash: 29
4
+ hash: 27
5
5
  prerelease: false
6
6
  segments:
7
7
  - 2
8
8
  - 2
9
- - 13
10
- version: 2.2.13
9
+ - 14
10
+ version: 2.2.14
11
11
  platform: ruby
12
12
  authors:
13
13
  - Phusion - http://www.phusion.nl/
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-06-01 00:00:00 +02:00
18
+ date: 2010-06-04 00:00:00 +02:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency