Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 167 lines (133 sloc) 7.97 kb
5f3ac2b Hongli Lai Fix compilation on Solaris: PTHREAD_STACK_MIN might not be a constant, s...
FooBarWidget authored
1 Release 2.2.6
2 -------------
3
5372bdb Hongli Lai Prevent the Phusion Passenger temp dir from being deleted by /tmp cleane...
FooBarWidget authored
4 * Some /tmp cleaner programs such as tmpwatch try to remove subdirectories
5 in /tmp/passenger.xxx after a while because they think those
6 subdirectories are unused. This could cause Phusion Passenger to
7 malfunction, requiring a web server restart. Measures have now been
8 taken to prevent those tmp cleaner programs from removing anything
9 in /tmp/passenger.xxx. Issue #365.
6418797 Hongli Lai Update NEWS, bump version number to 2.2.6.
FooBarWidget authored
10 * When autodetecting the application type, Rack is now given more priority
11 than Rails. This allows one to drop a config.ru file in a Rails directory
12 and have it detected as a Rack application instead of a Rails application.
13 Patch contributed by Sam Pohlenz: issue #338.
053150e Hongli Lai Increase default socket backlog to 1024, SOMAXCONN is usually 128 which ...
FooBarWidget authored
14 * The default socket backlog has been increased from 'SOMAXCONN' (which
15 is 128 on most platforms) to 1024. This should fix most
16 'helper_server.sock failed: Resource temporarily unavailable'
17 errors.
6418797 Hongli Lai Update NEWS, bump version number to 2.2.6.
FooBarWidget authored
18 * Fixed compilation problems on Solaris. Issue #369 and issue #379.
19 * Fixed crashes on PowerPC.
9444db6 Hongli Lai Fix a Ruby 1.9 compatibility issue: require stringio in utils.rb. Fixes ...
FooBarWidget authored
20 * Some Ruby 1.9 compatibility fixes. Issue #398.
5967ed7 Hongli Lai Autodetect Mandriva Linux. Fixes issue #357.
FooBarWidget authored
21 * The installer now displays correct dependency installation instructions
22 for Mandriva Linux.
50750b1 Hongli Lai Allow specifying the location of apxs2 and apr-config through command li...
FooBarWidget authored
23 * [Apache] The location of the 'apxs' and 'apr-config' commands can now
24 also be passed to the installer through the --apxs-path and
25 --apr-config-path parameters, in addition to the $APXS2 and $APR_CONFIG
26 environment variables. Issue #3.
6418797 Hongli Lai Update NEWS, bump version number to 2.2.6.
FooBarWidget authored
27 * [Nginx] Various problems that only occur on 64-bit platforms have been fixed.
5f3ac2b Hongli Lai Fix compilation on Solaris: PTHREAD_STACK_MIN might not be a constant, s...
FooBarWidget authored
28
29
7215630 Hongli Lai Write some release notes.
FooBarWidget authored
30 Release 2.2.5
31 -------------
32
24cc3fa Hongli Lai Continue writing release notes
FooBarWidget authored
33 * [Apache] Small file uploads are now buffered; fixes potential DoS attack
e66494d Hongli Lai Update NEWS
FooBarWidget authored
34 Phusion Passenger buffers large file uploads to temp files so that it
24cc3fa Hongli Lai Continue writing release notes
FooBarWidget authored
35 doesn't block applications while an upload is in progress, but it sent
36 small uploads directly to the application without buffering it. This could
37 result in a potential DoS attack: the client can send many small, incomplete
38 file uploads to the server, and this would block all application processes
39 until a timeout occurs. In order to solve this problem, Phusion Passenger
e66494d Hongli Lai Update NEWS
FooBarWidget authored
40 now buffers small file uploads in memory. Bug #356.
24cc3fa Hongli Lai Continue writing release notes
FooBarWidget authored
41
caa9fd7 Hongli Lai Fix support for mod_rewrite passthrough rules (issue #230) and fix some ...
FooBarWidget authored
42 * [Apache] Fixed support for mod_rewrite passthrough rules
e66494d Hongli Lai Update NEWS
FooBarWidget authored
43 Mod_rewrite passthrough rules were not properly supported because of a bug
caa9fd7 Hongli Lai Fix support for mod_rewrite passthrough rules (issue #230) and fix some ...
FooBarWidget authored
44 fix for supporting encoded slashes (%2f) in URLs. Unfortunately, due to
45 bugs/limitations in Apache, we can support either encoded slashes or
46 mod_rewrite passthrough rules, but not both; supporting one will break the
47 other.
48
49 Support for mod_rewrite passthrough rules is now enabled by default; that
50 is, support for encoded slashes is disabled by default. A new configuration
51 option, "PassengerAllowEncodedSlashes", has been added. Turning this option
52 on will enable support for encoded slashes and disable support for
53 mod_rewrite passthrough rules.
54
55 Issue #113 and issue #230.
56
e66494d Hongli Lai Update NEWS
FooBarWidget authored
57 * [Apache] Added a configuration option for resolving symlinks in the document root path
58 Phusion Passenger 2.2.0 and higher no longer resolves symlinks in
24cc3fa Hongli Lai Continue writing release notes
FooBarWidget authored
59 the document root path in order to properly support Capistrano-style
60 directory structures. The exact behavior is documented in the Users Guide,
61 section "How Phusion Passenger detects whether a virtual host is a web
62 application".
63
64 However, some people relied on the old behavior. A new configuration option,
65 PassengerResolveSymlinksInDocumentRoot, has been added to allow reverting
66 back to the old behavior.
67
281c020 Hongli Lai Update NEWS
FooBarWidget authored
68 Patch contributed by Locaweb (http://www.locaweb.com.br/).
69
24cc3fa Hongli Lai Continue writing release notes
FooBarWidget authored
70 * [Apache] mod_env variables are now also passed through CGI environment headers
71 Prior to version 2.2.3, environment variables set by mod_env are passed to
72 the application as CGI environment headers, not through Ruby's ENV variable.
73 In the last release we introduced support for setting ENV environment
74 variables with mod_env, and got rid of the code for setting CGI environment
75 headers. It turns out that some people relied on the old behavior, we so now
76 environment variables set with mod_env are set in both ENV and in the CGI
77 environment.
78
79 Fixes bug #335.
80
81 * [Apache] Fixed compilation problems on some Linux systems with older versions of Apache
82 If you used to see compilation errors like this:
83
84 ext/apache2/Configuration.cpp:554: error: expected primary-expression before '.' token
85
86 then this version should compile properly.
87
e66494d Hongli Lai Update NEWS
FooBarWidget authored
88 * [Apache] Fixed I/O timeouts for communication with backend processes
89 Got rid of the code for enforcing I/O timeouts when reading from or writing to
7ec85d7 Hongli Lai Update release notes
FooBarWidget authored
90 a backend process. This caused more problems than it solved.
91
7215630 Hongli Lai Write some release notes.
FooBarWidget authored
92 * [Nginx] Support for streaming responses (e.g. Comet or HTTP push)
93 Buffering of backend responses is now disabled. This fixes support for
94 streaming responses, something which the Apache version has supported
95 for a while now. One can generate streaming responses in Ruby on Rails
96 like this:
97
98 render :text => lambda { |response, output|
99 10_000.times do |i|
100 output.write("hello #{i}!\n")
101 end
102 }
103
41160df Hongli Lai Nginx installer: install 0.7.61 by default.
FooBarWidget authored
104 * [Nginx] Installer now installs Nginx 0.7.61 by default
105 Previously it installed 0.6.37 by default.
106
9e62b29 Hongli Lai passenger-install-nginx-module: correctly pass --extra-configure-flags f...
FooBarWidget authored
107 * [Nginx] Fixed the installer's --extra-configure-flags flag when combined with --auto-download
108 Arguments passed to --extra-configure-flags were not being passed to the
109 Nginx configure script when --auto-download is given. This has been
110 fixed: bug #349.
111
9ff0e2a Hongli Lai passenger-install-apache2-module: do not unnecessarily donwload PCRE; mi...
FooBarWidget authored
112 * [Nginx] Fixed unnecessary download of PCRE
113 The installer now checks whether PCRE is installed in /opt/local (e.g.
114 MacPorts) as well before concluding that it isn't installed and going ahead
115 with downloading PCRE.
116
7215630 Hongli Lai Write some release notes.
FooBarWidget authored
117 * Fixed STDERR capturing
118 While spawning an application, Phusion Passenger captures any output written
119 to STDERR so that it can show them later if the application failed to start.
120 This turns out to be much more difficult than expected, with all kinds of
121 corner cases that can mess up this feature.
24cc3fa Hongli Lai Continue writing release notes
FooBarWidget authored
122
7215630 Hongli Lai Write some release notes.
FooBarWidget authored
123 For example, if the Rails log file is not writable, then this can cause
124 Rails to crash with a bizarre and unhelpful error message whenever it tries
125 to write to STDERR:
126
127 /!\ FAILSAFE /!\ Thu Aug 20 14:58:39 +1000 2009
128 Status: 500 Internal Server Error
129 undefined method `[]' for nil:NilClass
130
131 Some applications reopen STDERR to a log file. This didn't work.
132
133 Of all of these problems have been fixed now. (Bug #332)
134
24cc3fa Hongli Lai Continue writing release notes
FooBarWidget authored
135 * Fixed some bugs in application sources preloading
136 Rails >= 2.2 already preloads the application sources, in which case Phusion
137 Passenger wasn't supposed to perform it's own preloading, but the Rails
138 >= 2.2 detection code was bugged. This has been fixed.
7215630 Hongli Lai Write some release notes.
FooBarWidget authored
139
24cc3fa Hongli Lai Continue writing release notes
FooBarWidget authored
140 Rails < 2.2 doesn't preload the application sources by itself, but there
141 should be a certain order with which the sources are preloaded, otherwise
142 preloading could fail in some applications. We now enforce a specific load
143 order: first models, then controllers, then helpers.
c878017 Hongli Lai Fix compilation problems with some Linux systems with older versions of ...
FooBarWidget authored
144
24cc3fa Hongli Lai Continue writing release notes
FooBarWidget authored
145 Bug #359.
146
caa9fd7 Hongli Lai Fix support for mod_rewrite passthrough rules (issue #230) and fix some ...
FooBarWidget authored
147 * Fixed a few bugs in WSGI compliance
148 PATH_INFO is supposed to be set to the request URI, but without the query
149 string and without the base URI. This has been fixed: bug #360.
150
ac777e5 Hongli Lai Fix some Ruby 1.9-specific crashes caused by encoding issues. Bug #364.
FooBarWidget authored
151 * Fixed some Ruby 1.9-specific crashes caused by encoding issues. Bug #354.
281c020 Hongli Lai Update NEWS
FooBarWidget authored
152 * Fixed loading of config/environment.rb on Ruby 1.9.2, because Ruby 1.9.2
153 no longer has "." in the default load path. Patch by metaljastix, issue #368.
24cc3fa Hongli Lai Continue writing release notes
FooBarWidget authored
154 * The Users Guide for Apache now mentions something about correct permissions
155 for application directories.
7215630 Hongli Lai Write some release notes.
FooBarWidget authored
156 * Fixed compilation problems on IA-64 (bug #118). We also reduced the stack
157 sizes for the threads by half, so Phusion Passenger should use even less
158 virtual memory now.
312b5e1 Hongli Lai Fix compilation problems on Linux systems with ARM CPU.
FooBarWidget authored
159 * Fixed compilation problems on Linux systems with ARM CPU.
7215630 Hongli Lai Write some release notes.
FooBarWidget authored
160 * Fixed a few compatibility problems with 64-bit OpenBSD.
161 * Fixed a few typos and minor bugs.
162
163
164 Older releases
165 --------------
5f3ac2b Hongli Lai Fix compilation on Solaris: PTHREAD_STACK_MIN might not be a constant, s...
FooBarWidget authored
166 Please consult the blog posts on http://blog.phusion.nl/ for the information about older releases.
Something went wrong with that request. Please try again.