Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 132 lines (103 sloc) 6.205 kb
7215630 @FooBarWidget Write some release notes.
FooBarWidget authored
1 Release 2.2.5
2 -------------
3
24cc3fa @FooBarWidget Continue writing release notes
FooBarWidget authored
4 * [Apache] Small file uploads are now buffered; fixes potential DoS attack
5 Phusion Passenger buffers large file uploads to a temp file so that it
6 doesn't block applications while an upload is in progress, but it sent
7 small uploads directly to the application without buffering it. This could
8 result in a potential DoS attack: the client can send many small, incomplete
9 file uploads to the server, and this would block all application processes
10 until a timeout occurs. In order to solve this problem, Phusion Passenger
11 now buffers small file upload in memory. Bug #356.
12
caa9fd7 @FooBarWidget Fix support for mod_rewrite passthrough rules (issue #230) and fix some ...
FooBarWidget authored
13 * [Apache] Fixed support for mod_rewrite passthrough rules
14 mod_rewrite passthrough rules were not properly supported because of a bug
15 fix for supporting encoded slashes (%2f) in URLs. Unfortunately, due to
16 bugs/limitations in Apache, we can support either encoded slashes or
17 mod_rewrite passthrough rules, but not both; supporting one will break the
18 other.
19
20 Support for mod_rewrite passthrough rules is now enabled by default; that
21 is, support for encoded slashes is disabled by default. A new configuration
22 option, "PassengerAllowEncodedSlashes", has been added. Turning this option
23 on will enable support for encoded slashes and disable support for
24 mod_rewrite passthrough rules.
25
26 Issue #113 and issue #230.
27
24cc3fa @FooBarWidget Continue writing release notes
FooBarWidget authored
28 * [Apache] Added a configuration option for resolving symlinks in the document
29 root path Phusion Passenger 2.2.0 and higher no longer resolve symlinks in
30 the document root path in order to properly support Capistrano-style
31 directory structures. The exact behavior is documented in the Users Guide,
32 section "How Phusion Passenger detects whether a virtual host is a web
33 application".
34
35 However, some people relied on the old behavior. A new configuration option,
36 PassengerResolveSymlinksInDocumentRoot, has been added to allow reverting
37 back to the old behavior.
38
39 * [Apache] mod_env variables are now also passed through CGI environment headers
40 Prior to version 2.2.3, environment variables set by mod_env are passed to
41 the application as CGI environment headers, not through Ruby's ENV variable.
42 In the last release we introduced support for setting ENV environment
43 variables with mod_env, and got rid of the code for setting CGI environment
44 headers. It turns out that some people relied on the old behavior, we so now
45 environment variables set with mod_env are set in both ENV and in the CGI
46 environment.
47
48 Fixes bug #335.
49
50 * [Apache] Fixed compilation problems on some Linux systems with older versions of Apache
51 If you used to see compilation errors like this:
52
53 ext/apache2/Configuration.cpp:554: error: expected primary-expression before '.' token
54
55 then this version should compile properly.
56
7ec85d7 @FooBarWidget Update release notes
FooBarWidget authored
57 * [Apache] Got rid of the code for enforcing I/O timeouts when reading from or writing to
58 a backend process. This caused more problems than it solved.
59
7215630 @FooBarWidget Write some release notes.
FooBarWidget authored
60 * [Nginx] Support for streaming responses (e.g. Comet or HTTP push)
61 Buffering of backend responses is now disabled. This fixes support for
62 streaming responses, something which the Apache version has supported
63 for a while now. One can generate streaming responses in Ruby on Rails
64 like this:
65
66 render :text => lambda { |response, output|
67 10_000.times do |i|
68 output.write("hello #{i}!\n")
69 end
70 }
71
41160df @FooBarWidget Nginx installer: install 0.7.61 by default.
FooBarWidget authored
72 * [Nginx] Installer now installs Nginx 0.7.61 by default
73 Previously it installed 0.6.37 by default.
74
9e62b29 @FooBarWidget passenger-install-nginx-module: correctly pass --extra-configure-flags f...
FooBarWidget authored
75 * [Nginx] Fixed the installer's --extra-configure-flags flag when combined with --auto-download
76 Arguments passed to --extra-configure-flags were not being passed to the
77 Nginx configure script when --auto-download is given. This has been
78 fixed: bug #349.
79
9ff0e2a @FooBarWidget passenger-install-apache2-module: do not unnecessarily donwload PCRE; mi...
FooBarWidget authored
80 * [Nginx] Fixed unnecessary download of PCRE
81 The installer now checks whether PCRE is installed in /opt/local (e.g.
82 MacPorts) as well before concluding that it isn't installed and going ahead
83 with downloading PCRE.
84
7215630 @FooBarWidget Write some release notes.
FooBarWidget authored
85 * Fixed STDERR capturing
86 While spawning an application, Phusion Passenger captures any output written
87 to STDERR so that it can show them later if the application failed to start.
88 This turns out to be much more difficult than expected, with all kinds of
89 corner cases that can mess up this feature.
24cc3fa @FooBarWidget Continue writing release notes
FooBarWidget authored
90
7215630 @FooBarWidget Write some release notes.
FooBarWidget authored
91 For example, if the Rails log file is not writable, then this can cause
92 Rails to crash with a bizarre and unhelpful error message whenever it tries
93 to write to STDERR:
94
95 /!\ FAILSAFE /!\ Thu Aug 20 14:58:39 +1000 2009
96 Status: 500 Internal Server Error
97 undefined method `[]' for nil:NilClass
98
99 Some applications reopen STDERR to a log file. This didn't work.
100
101 Of all of these problems have been fixed now. (Bug #332)
102
24cc3fa @FooBarWidget Continue writing release notes
FooBarWidget authored
103 * Fixed some bugs in application sources preloading
104 Rails >= 2.2 already preloads the application sources, in which case Phusion
105 Passenger wasn't supposed to perform it's own preloading, but the Rails
106 >= 2.2 detection code was bugged. This has been fixed.
7215630 @FooBarWidget Write some release notes.
FooBarWidget authored
107
24cc3fa @FooBarWidget Continue writing release notes
FooBarWidget authored
108 Rails < 2.2 doesn't preload the application sources by itself, but there
109 should be a certain order with which the sources are preloaded, otherwise
110 preloading could fail in some applications. We now enforce a specific load
111 order: first models, then controllers, then helpers.
c878017 @FooBarWidget Fix compilation problems with some Linux systems with older versions of ...
FooBarWidget authored
112
24cc3fa @FooBarWidget Continue writing release notes
FooBarWidget authored
113 Bug #359.
114
caa9fd7 @FooBarWidget Fix support for mod_rewrite passthrough rules (issue #230) and fix some ...
FooBarWidget authored
115 * Fixed a few bugs in WSGI compliance
116 PATH_INFO is supposed to be set to the request URI, but without the query
117 string and without the base URI. This has been fixed: bug #360.
118
ac777e5 @FooBarWidget Fix some Ruby 1.9-specific crashes caused by encoding issues. Bug #364.
FooBarWidget authored
119 * Fixed some Ruby 1.9-specific crashes caused by encoding issues. Bug #354.
24cc3fa @FooBarWidget Continue writing release notes
FooBarWidget authored
120 * The Users Guide for Apache now mentions something about correct permissions
121 for application directories.
7215630 @FooBarWidget Write some release notes.
FooBarWidget authored
122 * Fixed compilation problems on IA-64 (bug #118). We also reduced the stack
123 sizes for the threads by half, so Phusion Passenger should use even less
124 virtual memory now.
312b5e1 @FooBarWidget Fix compilation problems on Linux systems with ARM CPU.
FooBarWidget authored
125 * Fixed compilation problems on Linux systems with ARM CPU.
7215630 @FooBarWidget Write some release notes.
FooBarWidget authored
126 * Fixed a few compatibility problems with 64-bit OpenBSD.
127 * Fixed a few typos and minor bugs.
128
129
130 Older releases
131 --------------
132 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.