Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

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