summaryrefslogtreecommitdiff
path: root/www/nginx-devel/files/extra-patch-passenger-build-nginx.rb (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Update from 5.0.20 to 5.0.21:Sergey A. Osokin2015-10-241-2/+2
| | | | | | | | o) www/rubygem-passenger; o) third-party passenger modules for www/nginx and www/nginx-devel. Notes: svn path=/head/; revision=400104
* Upgrade from 5.0.18 to 5.0.20:Sergey A. Osokin2015-09-251-3/+3
| | | | | | | | o) www/rubygem-passenger; o) third-party modules for www/nginx and www/nginx-devel. Notes: svn path=/head/; revision=397903
* Upgrade from 5.0.16 to 5.0.18:Sergey A. Osokin2015-09-161-2/+2
| | | | | | | | o) www/rubygem-passenger; o) third-party modules for www/nginx and www/nginx-devel. Notes: svn path=/head/; revision=397090
* Upgrade from 5.0.15 to 5.0.16:Sergey A. Osokin2015-08-271-2/+2
| | | | | | | | o) www/rubygem-passenger; o) third-party modules for www/nginx and www/nginx-devel. Notes: svn path=/head/; revision=395446
* Upgrade from 5.0.14 to 5.0.15:Sergey A. Osokin2015-08-101-2/+2
| | | | | | | | o) www/rubygem-passenger; o) third-party modules for www/nginx and www/nginx-devel. Notes: svn path=/head/; revision=393918
* Upgrade from 5.0.13 to 5.0.14:Sergey A. Osokin2015-07-171-2/+2
| | | | | | | | o) www/rubygem-passenger; o) third-party modules for www/nginx and www/nginx-devel. Notes: svn path=/head/; revision=392328
* Upgrade from 5.0.11 to 5.0.13:Sergey A. Osokin2015-07-041-2/+2
| | | | | | | | o) www/rubygem-passenger; o) third-party modules for www/nginx and www/nginx-devel. Notes: svn path=/head/; revision=391335
* Upgrade from 5.0.10 to 5.0.11:Sergey A. Osokin2015-07-011-2/+2
| | | | | | | | o) www/rubygem-passenger; o) third-party modules for www/nginx and www/nginx-devel. Notes: svn path=/head/; revision=391039
* Upgrade from 5.0.9 to 5.0.10:Sergey A. Osokin2015-06-121-2/+2
| | | | | | | | o) www/rubygem-passenger; o) third-party modules for www/nginx and www/nginx-devel. Notes: svn path=/head/; revision=389257
* Upgrade from 5.0.8 to 5.0.9:Sergey A. Osokin2015-06-051-2/+2
| | | | | | | | o) www/rubygem-passenger; o) third-party modules for www/nginx and www/nginx-devel. Notes: svn path=/head/; revision=388563
* Upgrade from 5.0.7 to 5.0.8:Sergey A. Osokin2015-05-241-2/+2
| | | | | | | | o) www/rubygem-passenger; o) third-party modules for www/nginx and www/nginx-devel. Notes: svn path=/head/; revision=387280
* Update from 5.0.6 to 5.0.7:Sergey A. Osokin2015-04-291-2/+2
| | | | | | | | o) www/rubygem-passenger; o) third-party passenger modules for www/nginx and www/nginx-devel. Notes: svn path=/head/; revision=384952
* Upgrade from 5.0.4 to 5.0.6:Sergey A. Osokin2015-04-041-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | o) www/rubygem-passenger; o) third-party modules for www/nginx and www/nginx-devel. The passenger now uses its own libev fork, so remove devel/libev dependency. <ChangeLog> Release 5.0.6 ------------- * The turbocache no longer caches responses for which the Cache-Control header contains "no-cache". Please note that "no-cache" does not mean "do not cache this response". Instead, it means "any caching servers may only serve the cached response after validating it". Since the turbocache does not support validation, we've chosen to skip caching instead. Coincidentally, this change "fixes" problems with applications that erroneously use "no-cache" as a flag for "do not cache this response". What these applications should actually use is "no-store". We recommend the developers of such applications to change their caching headers in this manner, because even if Passenger doesn't unintentionally cache the response, any intermediate proxies that visitors are behind may still cache the response. * Fixes a number of memory leaks. Memory was leaked upon processing a request with multiple headers, upon processing a response with multiple headers, and upon processing a response with Set-Cookie headers. Every time such a request or response was processed, 512 bytes of memory was leaked due to improperly dereferencing relevant memory buffers. Closes GH-1455. * Fixes various bugs related to Union Station data collection. Union Station is our upcoming application analytics and performance monitoring SaaS platform. It is opt-in: no data is collected unless you turn the feature on. * Fixes a Union Station-related file descriptor leak. Closes GH-1439. * Fixes some bugs w.r.t. use of uninitialized memory. * More informative error message if a support binary is not found, including a resolution hint. Closes GH-1395. * [Apache] `SetEnv` variables are now passed as Rack/CGI/request variables. This was also the case in Passenger 4, but not in Passenger 5.0.0-5.0.5. We've restored the old behavior because the behavior in 5.0.0-5.0.5 breaks certain Apache modules such as Shibboleth. Closes GH-1446. * [Standalone] PID and log files now correctly created if user specifies relative path. Release 5.0.5 ------------- * Fixes various crashes due to use of uninitialized memory. One such crash is documented in GH-1431. * Fixes a connection stall in the Apache module. Closes GH-1425. * Fixes a potential read-past-buffer bug in string-to-integer conversion routines. Thanks to dcb314 for spotting this. Closes GH-1441. * Fixes a compilation problem on Solaris. This problem was caused by the fact that `tm_gmtoff` is not supported on that platform. Closes GH-1435. * There is now an API endpoint for force disconnecting a client: `passenger-config admin-command DELETE /server/<client name>.json`. Closes GH-1246. * Fixes some file descriptor leaks. These leaks were caused by the fact that keep-alive connections with application processes were not being closed properly. Closes GH-1439. * In order to more easily debug future file descriptor leaks, we've introduced the `PassengerFileDescriptorLogFile` (Apache) and `passenger_file_descriptor_log_file` (Nginx) config options. This allows Passenger to log all file descriptor open/close activity to a specific log file. * The `PassengerDebugLogFile` (Apache) and `passenger_debug_log_file` (Nginx) configuration options have been renamed to `PassengerLogFile` and `passenger_log_file`, respectively. The old name is support supported for backward compatibility reasons. * [Enterprise] Fixes a bug in Flying Passenger's `--instance-registry-dir` command line parameter. This command line parameter didn't do anything. * [Enterprise] The Flying Passenger daemon no longer supports the `--max-preloader-idle-time` config option. This is because the config option never worked. The correct way to set the max preloader idle time is through the Nginx config option, but this was wrongly documented, so the documentation has been fixed. </ChangeLog> Notes: svn path=/head/; revision=383248
* Upgrade from 5.0.2 to 5.0.4:Sergey A. Osokin2015-03-131-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | o) www/rubygem-passenger; o) third-party modules for www/nginx and www/nginx-devel. <ChangeLog> Release 5.0.3 ------------- * [Standalone] When using the builtin engine, `passenger start` may crash during startup due to an initialization race condition. This has been fixed. * [Enterprise] Fixes a bug in passenger-irb. Running passenger-irb without a PID parameter worked, but running it with a PID parameter didn't. * Fixes an integer overflow that resulted in a file descriptor leak and stalled client connections. Closes GH-1412. * Truncates Passenger source code paths in logs (to 3 chars) to reduce redundant info. Closes GH-1383. * Fixes invalid JSON output for non-finite double values (e.g. from the HTTP JSON API). Closes GH-1408. * All hooks now set the `PASSENGER_HOOK_NAME` environment variable. This variable is set to the name of the hook that is being called. * The Ruby handler no longer tries to call #force_encoding on response body strings, which fixes an incompatibility with apps/libraries that return frozen body strings. Closes GH-1414. * If the Ruby handler crashes while processing a Rack response body, it will now no longer stall the connection. * Fixes env.SERVER_PORT containing 80 instead of 443 when using https on default port. Closes GH-1421. * We now handle errors in the `poll()` system call better. This might fix some crashes during shutdown which manifest on FreeBSD. </ChangeLog> Notes: svn path=/head/; revision=381156
* Upgrade from 4.0.59 to 5.0.2:Sergey A. Osokin2015-03-131-13/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | o) www/rubygem-passenger; o) third-party modules for www/nginx and www/nginx-devel. <ChangeLog> Release 5.0.2 ------------- * Fixes a connection freeze that could occur when processing large responses. This would manifest itself under the error message "This website is under heavy load" or "Request queue is full, returning an error". Closes GH-1404. * Debian and Ubuntu packages have been reintroduces. * When `passenger-config restart-app` is run interactively, if Passenger is not serving any applications, then the command now prints an error message instead of showing a menu with only a "Cancel" option. * Fixes a compilation problem on FreeBSD 10 (contributed by: clemensg). Closes GH-1401. * [Standalone] Fixes a crash that would occur if you use the `--ctl` parameter. * [Enterprise] The `--max-request-time` option has been added to Passenger Standalone. * [Enterprise] The `max_request_time_reached` hook has been introduced. This hook allows you to run diagnostics on a process that that took too long to respond to a request. Release 5.0.1 ------------- * The `passenger-config restart-app` command is now more user friendly. When run in a terminal, it will show an interactive menu, allowing you to select the app to restart. Closes GH-1387. * Fixed a crash bug in the handling of sticky session cookies. * Log failed program in error message, not its command line (contributed by: paisleyrob). Closes GH-1397. * [Nginx] Fixes cases in which Passenger overrides the Nginx handler function even when it shouldn't, for example when Passenger is disabled. Closes GH-1393. * [Enterprise] The `sticky_sessions` and `envvars` options in Passengerfile.json is now also supported in mass deployment mode. Release 5.0.0 release candidate 2 --------------------------------- * Fixes an installation problem with the Ruby gem due to incorrect Makefile generation. Closes GH-1382. * More helpful message when request queue is full. Closes GH-1375. Release 5.0.0 release candidate 1 --------------------------------- * Fixed Date headers not being formatted in the GMT timezone. Closes GH-1367. * Fixed Passengerfile.json/passenger-standalone.json not being properly loaded in Passenger Standalone. * Fixed support for sticky sessions. * Fixed an infinite loop if the ApplicationPool garbage collector fails due to an exception. Closes GH-1360. * Fixed Passenger Standalone exiting prematurely when the HelperAgent crashes. Exiting prematurely is not supposed to happen because the watchdog will restart the HelperAgent. Closes GH-1339. * Fixed a crash that occurs when using a non-standard startup file value. Closes GH-1378. * When dumping system metrics during error page generation, the `passenger-config` command is now invoked under the same Ruby interpreter as the app, instead of the one in PATH. Closes GH-1381. * When a Ruby process crashes due to an uncaught exception, this fact is now properly logged. * Specifying 0 for the `max_pool_size` config option no longer results in a crash. Closes GH-1334. * The timeouts when downloading Passenger Standalone binaries and source files are now customizable. Closes GH-1295. * The `envvars` option is now supported in Passengerfile.json, for passing environment variables to the application. Closes GH-1377. * Introduced `hook_queue_full_error` for request queue overflows. Closes GH-1358. * [Ruby] Fixed handling of "transfer-encoding chunked" response bodies which contain zero-sized chunks. * [Nginx] It is no longer necessary to re-specify `passenger_enabled` in `location` contexts. Closes GH-1338. * [Enterprise] Fixed a bug in mass deployment reloading. * [Enterprise] Fixed a bug in mass deployment daemonization. * [Enterprise] The mass deployment mode now supports the `app_type` and `startup_file` configuration options in Passengerfile.json/passenger-standalone.json. Closes GH-1366. Release 5.0.0 beta 3 -------------------- * The turbocache has received major updates and fixes based on excellent feedback Chris Heald and the community. First, several bugs w.r.t. the handling of caching headers have been fixed. Second, the turbocache has become slightly more conservative for security reasons. In previous versions, default cacheable responses (as defined by RFC 7234) were cached unless caching headers tell us not to. Now, default cacheable responses are only cached if caching headers explicitly tell us to. This change was introduced because there are many applications that set incorrect caching headers on private responses. This new behavior is currently not configurable, but there are plans to make it configurable in 5.0.0 release candidate 1. * Introduced a new configuration option, `passenger_response_buffer_high_watermark` (Nginx) and `PassengerResponseBufferHighWatermark` (Apache), for configuring the behavior of the response buffering system. Closes GH-1300. * Fixed more cookie handling issues. Closes GH-1310. * Fixed various WebSocket issues. Closes GH-1306. * Fixed some crashes caused by race conditions. Closes GH-1326. * Fixed issues with handling POST data. Closes GH-1331. * Fixed some issues on Heroku. Closes GH-1329. * Fixed some integer overflows. Fix contributed by Go Maeda. Closes GH-1357. * Fixed the `passenger-status --show=union_station` command. Closes GH-1336. * Nginx versions earlier than 1.6 are no longer supported. * Improved state introspection. Release 5.0.0 beta 2 -------------------- * Fixed handling of multiple Set-Cookie headers. Closes GH-1296. * `passenger-config system-metrics` now works properly if the agent is installed in ~/.passenger. Closes GH-1304. * Documentation enhancements by Igor Vuk. Closes GH-1318. * Fixed some crasher bugs. * [Standalone] User switching is now correctly disabled. * [Standalone] Fixed the `--thread-count` parameter. * [Apache] IPs set by mod_remoteip are now respected. Closes GH-1284. * [Apache] Fixed support for gzipped chunked responses. Closes GH-1309. Release 5.0.0 beta 1 -------------------- Version 5.0.0 beta 1 contains major changes. It's mostly compatible with version 4, but there are a few minor breakages, which are described below. Major changes and notable breakages are: * Performance has been much improved. This is thanks to months of optimization work. You can learn more at www.rubyraptor.org. * We've published a [server optimization guide] (https://www.phusionpassenger.com/documentation/ServerOptimizationGuide.html) for those who are interested in tuning Phusion Passenger. * Support for Rails 1.2 - 2.2 has been removed, for performance reasons. Rails 2.3 is still supported. * Phusion Passenger now supports integrated HTTP caching, which we call turbocaching. If your app sets the right HTTP headers then Phusion Passenger can tremendously accelerate your app. It is enabled by default, but you can disable it with `--disable-turbocaching` (Standalone), `PassengerTurbocaching off` (Apache), or 'passenger_turbocaching off' (Nginx). * Touching restart.txt will no longer restart your app immediately. This is because, for performance reasons, the stat throttle rate now defaults to 10. You can still get back the old behavior by setting `PassengerStatThrottleRate 0` (Apache) or `passenger_stat_throttle_rate 0` (Nginx), but this is not encouraged. Instead, we encourage you to use the `passenger-config restart-app` tool to initiate restarts, which has immediate effect. * Websockets are now properly disconnected on application restarts. * The Phusion Passneger log levels have been completely revamped. If you were setting a log level before (e.g. through `passenger_log_level`), please read the latest documentation to learn about the new log levels. * If you use out-of-band garbage collection, beware that the `X-Passenger-Request-OOB-Work` header has now been renamed to `!~Request-OOB-Work`. * When using Rack's full socket hijacking, you must now output an HTTP status line. * [Nginx] The `passenger_set_cgi_param` option has been removed and replaced by `passenger_set_header` and `passenger_env_var`. * [Nginx] `passenger_show_version_in_header` is now only valid in the `http` context. * [Apache] The `PassengerStatThrottleRate` option is now global. Minor changes: * The minimum required Nginx version is now 1.6.0. * The instance directory is now touched every hour instead of every 6 hours. This should hopefully prevent more problems with /tmp cleaner daemons. * Applications are not grouped not only on the application root path, but also on the environment. For example, this allows you to run the same app in both production and staging mode, with only a single directory, without further configuration. Closes GH-664. * The `passenger_temp_dir` option (Nginx) and the `PassengerTempDir` option (Apache) have been replaced by two config options. On Nginx they are `passenger_instance_registry_dir` and `passenger_data_buffer_dir`. On Apache they are `PassengerInstanceRegistryDir` and `PassengerDataBufferDir`. On Apache, `PassengerUploadBufferDir` has been replaced by `PassengerDataBufferDir`. * Command line tools no longer respect the `PASSENGER_TEMP_DIR` environment variable. Use `PASSENGER_INSTANCE_REGISTRY_DIR` instead. * `passenger-status --show=requests` has been deprecated in favor of `passenger-status --show=connections`. * Using the SIGUSR1 signal to restart a Ruby app without dropping connections, is no longer supported. Instead, use `passenger-config detach-process`. * Introduced the `passenger-config reopen-logs` command, which instructs all Phusion Passenger agent processes to reopen their log files. You should call this after having rotated the web server logs. * [Standalone] The Phusion Passenger Standalone config template has changed. Users are encouraged to update it. * [Standalone] `passenger-standalone.json` has been renamed to `Passengerfile.json`. * [Standalone] `passenger-standalone.json`/`Passengerfile.json` no longer overrides command line options. Instead, command line options now have the highest priority. Release 4.0.60 -------------- * Fixed the password protection of internal Phusion Passenger processes. For security reasons, Phusion Passenger limits access to internal processes, by using Unix file permissions and randomly generated passwords that only authorized internal processes know. It turns out that this password wasn't set correctly, which has now been fixed. There was no security vulnerability, because the file permissions already provide sufficient security. The password only serves as an extra layer of security just in case there is a problem with the former. This issue is not at all related to any application-level security or application-level passwords. Any database passwords, keys, or secrets used and generated by applications have got nothing to do with the nature of this issue. This issue only relates to some randomly generated passwords that Passenger uses internally, for its internal operations. </ChangeLog> Notes: svn path=/head/; revision=381154
* Upgrade from 4.0.58 to 4.0.59:Sergey A. Osokin2015-02-111-2/+2
| | | | | | | | | | | | | | | | | o) www/rubygem-passenger; o) third-party modules for www/nginx and www/nginx-devel. <ChangeLog> Release 4.0.59 -------------- * [Enterprise] Fixed support for free-style Node.js apps. </ChangeLog> Notes: svn path=/head/; revision=378812
* Upgrade from 4.0.57 to 4.0.58:Sergey A. Osokin2015-01-231-2/+2
| | | | | | | | | | | | | | | | | | o) www/rubygem-passenger; o) third-party modules for www/nginx and www/nginx-devel. <ChangeLog> Release 4.0.58 -------------- * [Enterprise] Fixed a bug in the Debian packages which caused Flying Passenger to break when used with non-system Rubies. * The Debian packages no longer require Ruby 1.9. Closes GH-1353. </ChangeLog> Notes: svn path=/head/; revision=377773
* Upgrade from 4.0.53 to 4.0.57 (as preparation to upgrade the www/nginx-devel ↵Sergey A. Osokin2015-01-031-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to 1.7.9): o) www/rubygem-passenger; o) third-party modules for www/nginx and www/nginx-devel. <ChangeLog> Release 4.0.57 -------------- * Fixed a native extension compatibility problem with Ruby 2.2. Closes [ruby-core:67152](https://bugs.ruby-lang.org/issues/10656). * Fixed compatibility with Nginx 1.7.9. Closes GH-1335. Release 4.0.56 -------------- * Fixed a file descriptor leak that manifests when an error page is shown. Contributed by Paul Bonaud, closes GH-1325. * Improved Node.js request load balancing. Closes GH-1322. Thanks to Charles Vallieres for the analysis. Release 4.0.55 -------------- * Supports Ruby 2.2. Closes GH-1314. * Fixed Linux OS name detection. Release 4.0.54 -------------- * Contains a licensing-related hot fix for Enterprise customers. </ChangeLog> Notes: svn path=/head/; revision=376127
* Update from 4.0.52 to 4.0.53:Sergey A. Osokin2014-10-041-2/+2
| | | | | | | | | | | | | | | | o) www/rubygem-passenger; o) third-party modules for www/nginx and www/nginx-devel. <ChangeLog> * Upgraded the preferred Nginx version to 1.6.2. * Improved RVM gemset autodetection. * Fixed some Ruby 2.2 compatibility issues. </ChangeLog> Notes: svn path=/head/; revision=369965
* Update from 4.0.50 to 4.0.52:Sergey A. Osokin2014-10-011-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | o) www/rubygem-passenger; o) third-party modules for www/nginx and www/nginx-devel. <ChangeLog> * Fixed a null termination bug when autodetecting application types. * Node.js apps can now also trigger the inverse port binding mechanism by passing `'/passenger'` as argument. This was introduced in order to be able to support the Hapi.js framework. Please read http://stackoverflow.com/questions/20645231/phusion-passenger-error-http-server-listen-was-called-more-than-once/20645549 for more information regarding Hapi.js support. * It is now possible to abort Node.js WebSocket connections upon application restart. Please refer to https://github.com/phusion/passenger/wiki/Phusion-Passenger:-Node.js-tutorial#restarting_apps_that_serve_long_running_connections for more information. Closes GH-1200. * Passenger Standalone no longer automatically resolves symlinks in its paths. * `passenger-config system-metrics` no longer crashes when the system clock is set to a time in the past. Closes GH-1276. * `passenger-status`, `passenger-memory-stats`, `passenger-install-apache2-module` and `passenger-install-nginx-module` no longer output ANSI color codes by default when STDOUT is not a TTY. Closes GH-487. * `passenger-install-nginx-module --auto` is now all that's necessary to make it fully non-interactive. It is no longer necessary to provide all the answers through command line parameters. Closes GH-852. * Minor contribution by Alessandro Lenzen. </ChangeLog> Notes: svn path=/head/; revision=369682
* Update from 4.0.49 to 4.0.50:Sergey A. Osokin2014-08-291-2/+2
| | | | | | | | | | | | | | | o) www/rubygem-passenger; o) third-party modules for www/nginx and www/nginx-devel. <ChangeLog> * Fixed a potential heap corruption bug. * Added Union Station support for Rails 4.1. </ChangeLog> Notes: svn path=/head/; revision=366502
* Update from 4.0.48 to 4.0.49:Sergey A. Osokin2014-08-221-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | o) www/rubygem-passenger; o) third-party modules for www/nginx and www/nginx-devel. <ChangeLog> * Upgraded the preferred Nginx version to 1.6.1. * Fixed a crash that may be triggered by the `passenger_max_requests` feature. * Introduced the `spawn_failed` hook, which is called when an application process fails to spawn. You could use this hook to setup an error notification system. Closes GH-1252. * Fonts, RSS and XML are now gzip-compressed by default in Phusion Passenger Standalone. Thanks to Jacob Elder. Closes GH-1254. * Fixed some user and group information lookup issues. Closes GH-1253. * Fixed some request handling crashes. Closes GH-1250. * Fixed some compilation problems on Gentoo. Closes GH-1261. * Fixed some compilation problems on Solaris. Closes GH-1260. </ChangeLog> Notes: svn path=/head/; revision=365702
* Update from 4.0.45 to 4.0.48:Sergey A. Osokin2014-08-101-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | o) www/rubygem-passenger; o) third-party modules for www/nginx and www/nginx-devel. Add CPE information. <ChangeLog> Release 4.0.48 -------------- * Fixed a race condition while determining what user an application should be executed as. This bug could lead to applications being run as the wrong user. Closes GH-1241. * [Standalone] Improved autodetection of Rails asset pipeline files. This prevents Standalone from incorrectly setting caching headers on non-asset pipeline files. Closes GH-1225. * Fixed compilation problems on CentOS 5. Thanks to J. Smith. Closes GH-1247. * Fixed compilation problems on OpenBSD. * Fixed compatibility with Ruby 1.8.5. Release 4.0.47 -------------- * [Enterprise] Fixed a bug in Flying Passenger's `--max-preloader-idle-time` option. Release 4.0.46 -------------- * Further improved Node.js and Socket.io compatibility. * Sticky session cookies have been made more reliable. * Fixed WebSocket upgrade issues on Firefox. Closes GH-1232. * The Python application loader now inserts the application root into `sys.path`. The fact that this was not done previously caused a lot of confusion amongst Python users, who wondered why their `passenger_wsgi.py` could not import any modules from the same directory. * Fixed a compatibility problem with Django, which could cause Django apps to freeze indefinitely. Closes GH-1215. * Logging of application spawning errors has been much improved. Full details about the error, such as environment variables, are saved to a private log file. In the past, these details were only viewable in the browser. This change also fixes a bug on Phusion Passenger Enterprise, where enabling Deployment Error Resistance causes error messages to get lost. Closes GH-1021 and GH-1175. * Fixed a regression in Node.js support. When a Node.js app is deployed on a HTTPS host, the `X-Forwarded-Proto` header wasn't set in 4.0.45. Closes GH-1231. * Passenger Standalone no longer, by default, loads shell startup files before loading the application. This is because Passenger Standalone is often invoked from the shell anyway. Indeed, loading shell startup files again can interfere with any environment variables already set in the invoking shell. You can still tell Passenger Standalone to load shell startup files by passing `--load-shell-envvars`. Passenger for Apache and Passenger for Nginx still load shell startup files by default. * Passenger Standalone now works properly when the HOME environment variable isn't set. Closes GH-713. * Passenger Standalone's `package-runtime` command has been removed. It has been broken for a while and has nowadays been obsolete by our automatic [binary generation system](https://github.com/phusion/passenger_autobuilder). Closes GH-1133. * The `passenger_startup_file` option now also works on Python apps. Closes GH-1233. * If you are a [Union Station](https://www.unionstationapp.com) customer, then Phusion Passenger will now also log application spawning errors to Union Station. This data isn't shown in the Union Station interface yet, but it will be implemented in the future. * Fixed compilation problems on OmniOS and OpenIndiana. Closes GH-1212. * Fixed compilation problems when Nginx is configured with OpenResty. Thanks to Yichun Zhang. Closes GH-1226. * Fixed Nginx HTTP POST failures on ARM platforms. Thanks to nocelic for the fix. Closes GH-1151. * Documentation contributions by Tim Bishop and Tugdual de Kerviler. * Minor Nginx bug fix by Feng Gu. Closes GH-1235. </ChangeLog> Notes: svn path=/head/; revision=364549
* Update from 4.0.44 to 4.0.45:Sergey A. Osokin2014-06-201-2/+2
| | | | | | | | o) www/rubygem-passenger; o) third-party modules for www/nginx and www/nginx-devel. Notes: svn path=/head/; revision=358542
* Update from 4.0.41 to 4.0.44:Sergey A. Osokin2014-06-021-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | o) www/rubygem-passenger; o) third-party modules for www/nginx and www/nginx-devel. <ChangeLog> Release 4.0.44 -------------- * The issue tracker has now been moved from Google Code to Github. Before version 4.0.44 (May 29 2014, commit 3dd0964c9f4), all issue numbers referred to Google Code. From now on, all issue numbers will refer to Github Issues. * Fixed compilation problems on OS X Lion and OS X Mountain Lion. * On Ruby, fixed `nil` being frozen on accident in some cases. See issue #1192. Release 4.0.43 -------------- * Introduced a new command `passenger-config list-instances`, which prints all running Phusion Passenger instances. * Introduced a new command `passenger-config system-metrics, which displays metrics about the system such as the total CPU and memory usage. * Fixed some compilation problems caused by the compiler capability autodetector. * System metrics such as total CPU usage and memory usage, are now sent to [Union Station](https://www.unionstationapp.com) in preparation for future features. Release 4.0.42 -------------- * [Nginx] Upgraded the preferred Nginx version to 1.6.0. * [Nginx] Fixed compatibility with Nginx 1.7.0. * [Standalone] The MIME type for .woff files has been changed to application/font-woff. Fixes issue #1071. * There are now APT packages for Ubuntu 14.04. At the same time, packages for Ubuntu 13.10 have been abandoned. * Introduced a new command, `passenger-config build-native-support`, for ensuring that the native_support library for the current Ruby interpreter is built. This is useful in system provisioning scripts. * For security reasons, friendly error pages (those black/purple pages that shows the error message, backtrace and environment variable dump when an application fails to start) are now disabled by default when the application environment is set to 'staging' or 'production'. Fixes issue #1063. * Fixed some compilation warnings on Ubuntu 14.04. * Fixed some compatibility problems with Rake 10.2.0 and later. See [Rake issue 274](https://github.com/jimweirich/rake/issues/274). * Improved error handling in [Union Station](https://www.unionstationapp.com) support. * Data is now sent to Union Station on a more frequent basis, in order to make new data show up more quickly. * Information about the code revision is now sent to Union Station, which will be used in the upcoming deployment tracking feature in Union Station 2. </ChangeLog> Notes: svn path=/head/; revision=356191
* Update from 4.0.35 to 4.0.41:Sergey A. Osokin2014-04-091-2/+2
| | | | | | | | | | o) www/rubygem-passenger; o) third-party modules for www/nginx and www/nginx-devel. STAGEfy www/rubygem-passenger. Notes: svn path=/head/; revision=350664
* Update from 4.0.33 to 4.0.35:Sergey A. Osokin2014-01-171-2/+2
| | | | | | | | o) www/rubygem-passenger; o) third-party modules for www/nginx and www/nginx-devel. Notes: svn path=/head/; revision=340006
* Update from 4.0.30 to 4.0.33:Sergey A. Osokin2014-01-041-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | o) www/rubygem-passenger; o) third-party modules for www/nginx and www/nginx-devel. <ChangeLog> Release 4.0.33 -------------- * Fixed a compatibility problem in passenger-install-apache2-module with Ruby 1.8. The language selection menu didn't work properly. Release 4.0.32 -------------- * Fixed compatibility problems with old Ruby versions that didn't include RubyGems. Release 4.0.31 -------------- * Introduced a new tool: `passenger-config restart-app`. With this command you can initiate an application restart without touching restart.txt. Unlike touching restart.txt, this tool initiates the restart immediately instead of on the next request. * Fixed some problems in process spawning and request handling. * Fixed some problems with the handling of HTTP chunked transfer encoding bodies. These problems only occurred in Ruby. * Fixed the HelperAgent, upon shutdown, not correctly waiting 5 seconds until all clients have disconnected. Fixes issue #884. * Fixed compilation problems on FreeBSD. * Fixed some C++ strict aliasing problems. * Fixed some problems with spawning applications that print messages without newline during startup. Fixes issue #1039. * Fixed potential hangs on JRuby when Ctrl-C is used to shutdown the server. Fixes issue #1035. * When Phusion Passenger is installed through the Debian package, passenger-install-apache2-module now checks whether the Apache module package (libapache2-mod-passenger) is properly installed, and installs it using apt-get if it's not installed. Fixes issue #1031. * The `passenger-status --show=xml` command no longer prints the non-XML preamble, such as the version number and the time. Fixes issue #1037. * The Ruby native extension check whether it's loaded against the right Ruby version, to prevent problems when people upgrade Ruby without recompiling their native extensions. * Various other minor Debian packaging improvements. </ChangeLog> Notes: svn path=/head/; revision=338622
* Update from 4.0.29 to 4.0.30:Sergey A. Osokin2013-12-311-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | o) www/rubygem-passenger; o) third-party modules for www/nginx and www/nginx-devel. <ChangeLog> * Fixed wrong autogeneration of HTTP Date header. If the web app does not supply a Date header, then Passenger will add one. Unfortunately due to the use of the wrong format string, December 30 2013 is formatted as December 30 2014. As a result, cookies that expire before 2014 would expire on December 30 2013 and December 31 2013. Details can be found at [Github pull request 93](https://github.com/phusion/passenger/pull/93). This issue only affects Phusion Passenger for Nginx and Phusion Passenger Standalone, and does not affect Phusion Passenger for Apache. You can work around this problem in your application by setting a Date header. For example, in Rails you can do: before_filter { response.date = Time.now.utc } Many thanks to Jeff Michael Dean (zilkey) and many others for bringing this to our attention and for providing workarounds and feedback. </ChangeLog> Notes: svn path=/head/; revision=338325
* Update from 4.0.27 to 4.0.29:Sergey A. Osokin2013-12-141-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | o) www/rubygem-passenger; o) third-party modules for www/nginx and www/nginx-devel. <ChangeLog> Release 4.0.29 -------------- * Fixed a compilation problem on OS X Mavericks. Release 4.0.28 -------------- * Introduced a workaround for a GCC 4.6 bug. This bug could cause Phusion Passsenger to crash during startup. Affected operating systems include Ubuntu 12.04 and Amazon Linux 2013.09.01, though not every machine with this OS installed exhibits the problem. See issue #902. * Improved Node.js support: the Sails framework is now supported. * Improved Node.js support: the streams2 API is now supported. * Introduced support for hooks, allowing users to easily extend Phusion Passenger's behavior. * Fixed a bug in the `passenger start -R` option. It was broken because of a change introduced in 4.0.25. * Fixed a bug in PassengerMaxInstancesPerApp. Fixes issue #1016. * Fixed compilation problems on Solaris. * Fixed an encoding problem in the Apache autodetection code. Fixes issue #1026. * The Debian packages no longer depend on libruby. * Application stdout and stderr are now printed without normal Phusion Passenger debugging information, making them easier to read. </ChangeLog> Notes: svn path=/head/; revision=336456
* Update from 4.0.26 to 4.0.27:Sergey A. Osokin2013-12-061-2/+2
| | | | | | | | | | | | | | | | o) www/rubygem-passenger; o) third-party modules for www/nginx and www/nginx-devel. <ChangeLog> * [Apache] Fixed a bug in the Apache module which could lock up the Apache process or thread. This is a regression introduced in version 4.0.24. * Node.js application processes now have friendly process titles. </ChangeLog> Notes: svn path=/head/; revision=335722
* Update from 4.0.25 to 4.0.26:Sergey A. Osokin2013-11-301-2/+2
| | | | | | | | | | | | | | | | | | | o) www/rubygem-passenger; o) third-party modules for www/nginx and www/nginx-devel. <ChangeLog> * Introduced the `PassengerBufferUpload` option for Apache. This option allows one to disable upload buffering, e.g. in order to be able to track upload progress. * [Nginx] The `HTTPS` variable is now set correctly for HTTPS connections, even without setting `ssl on`. Fixes issue #401. * [Standalone] It is now possible to listen on both a normal HTTP and an HTTPS port. * [Enterprise] The `passenger-status` tool now displays rolling restart status. </ChangeLog> Notes: svn path=/head/; revision=335279
* Update from 4.0.24 to 4.0.25:Sergey A. Osokin2013-11-201-2/+2
| | | | | | | | o) www/rubygem-passenger; o) third-party passenger modules for www/nginx and www/nginx-devel. Notes: svn path=/head/; revision=334435
* Update from 4.0.23 to 4.0.24:Sergey A. Osokin2013-11-191-2/+2
| | | | | | | | | | o) www/rubygem-passenger; o) third-party modules for www/nginx and www/nginx-devel. Try to fix build www/rubygem-passenger with upcoming FreeBSD 10. Notes: svn path=/head/; revision=334340
* Update from 4.0.21 to 4.0.23:Sergey A. Osokin2013-11-021-2/+2
| | | | | | | | o) www/rubygem-passenger; o) third-party passenger modules for www/nginx and www/nginx-devel. Notes: svn path=/head/; revision=332469
* Update from 4.0.20 to 4.0.21:Sergey A. Osokin2013-10-261-2/+2
| | | | | | | | o) www/rubygem-passenger; o) third-party modules for www/nginx and www/nginx-devel. Notes: svn path=/head/; revision=331688
* Update from 4.0.19 to 4.0.20:Sergey A. Osokin2013-10-121-4/+5
| | | | | | | | o) www/rubygem-passenger; o) third-party modules for www/nginx and www/nginx-devel. Notes: svn path=/head/; revision=330122
* Update from 4.0.17 to 4.0.19:Sergey A. Osokin2013-09-291-2/+2
| | | | | | | | o) www/rubygem-passenger; o) third-party passenger modules for www/nginx and www/nginx-devel. Notes: svn path=/head/; revision=328708
* Update from 4.0.16 to 4.0.17:Sergey A. Osokin2013-09-111-2/+2
| | | | | | | | o) www/rubygem-passenger; o) third-party modules for www/nginx and www/nginx-devel. Notes: svn path=/head/; revision=326987
* Update from 4.0.14 to 4.0.16:Sergey A. Osokin2013-09-071-3/+4
| | | | | | | | | | o) www/rubygem-passenger; o) third-party modules for www/nginx and www/nginx-devel. Also, convert to perl framework nginx ports. Notes: svn path=/head/; revision=326622
* Update from 4.0.13 to 4.0.14:Sergey A. Osokin2013-08-201-2/+2
| | | | | | | | o) www/rubygem-passenger; o) third-party modules for www/nginx and www/nginx-devel. Notes: svn path=/head/; revision=325028
* Update from 4.0.10 to 4.0.13:Sergey A. Osokin2013-08-161-2/+2
| | | | | | | | o) www/rubygem-passenger; o) third-party modules for www/nginx and www/nginx-devel. Notes: svn path=/head/; revision=324815
* Update from 4.0.8 to 4.0.10:Sergey A. Osokin2013-07-221-2/+2
| | | | | | | | o) www/rubygem-passenger; o) third-party passenger module for www/nginx and www/nginx-devel. Notes: svn path=/head/; revision=323456
* Update:Sergey A. Osokin2013-07-101-2/+2
| | | | | | | | | o) third-party passenger module from 4.0.5 to 4.0.8; o) rubygem-passenger from 4.0.5 to 4.0.8; o) third-party rtmp module from 1.0.0 to 1.0.1. Notes: svn path=/head/; revision=322718
* Update from 4.0.4 to 4.0.5:Sergey A. Osokin2013-05-291-3/+3
| | | | | | | | o) www/rubygem-passenger; o) third-party passenger module for www/nginx and www/nginx-devel. Notes: svn path=/head/; revision=319383
* Update from 3.0.19 to 4.0.4:Sergey A. Osokin2013-05-281-30/+14
| | | | | | | | o) www/rubygem-passenger; o) third-party passenger module for www/nginx and www/nginx-devel. Notes: svn path=/head/; revision=319318
* Update from 3.0.17 to 3.0.19:Sergey A. Osokin2013-01-091-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | o) www/rubygem-passenger; o) third-party passenger module for www/nginx and www/nginx-devel. <Changes> Release 3.0.19 -------------- * Nginx security fix: do not display Nginx version when server_tokens are off. * Fixed compilation problems on some systems. * Fixed some Union Station-related bugs. Release 3.0.18 -------------- * Fixed compilation problems on Fedora 17. * Fixed Union Station compatibility with Rails 3.2. * Phusion Passenger Enterprise Standalone now supports rolling restarts and deployment error resistance. </Changes> Notes: svn path=/head/; revision=310153
* Use more canonical names for patches.Sergey A. Osokin2012-11-221-0/+34
No functionaly changes. Don't bump PORTREVISION. Feature safe: yes Notes: svn path=/head/; revision=307636