Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

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