Skip to content
This repository
Browse code

Pancake 1.4

Changelog Pancake 1.3 -> Pancake 1.4:

- SSL/TLS is now supported (OpenSSL 0.9.8 or newer required)
- Improved performance
- New "vhost.PHPModules" setting, allowing to load custom PHP modules
for each vHost
- Removed dependencies on pcntl and sockets extensions
- post_max_size is now always fetched from the native SAPI module
- Pancake can now be built as a static PHP module (core module only, TLS
module not supported)
- Fixed possible infinite loop when requesting a non-regular file (e. g.
a UNIX socket, a FIFO or a device file)
- SAPI wait slots are now disabled by default (set
main.waitSlotWaitLimit to 0 to disable them in old Pancake
configurations)
- TRACE and OPTIONS are now disabled by default
- Default processing limit for RequestWorkers is now 250k requests
- Default connection backlog is now 200 instead of 100
- Default RequestWorker amount is now 2 instead of 4
- vHost setting "writeLimit" is now moved to main configuration (Pancake
will automatically determine the highest value from the vHost
configurations for compatibility)
- Fixed bad hash value of $_ENV
- Nagle's algorithm is now disabled by default (use new setting
"main.naglesAlgorithm" to enable it)
- Added new "main.preBuffer" setting, allowing to enable buffering of
static files before sending HTTP headers (set to 65536 byte by default)
- Worker threads won't give a flush message anymore on SIGHUP
- pancake.sh now uses sh instead of bash
- FD_SETSIZE is now set to 262144 (Linux only)
- Fixed "double defined vHost" error on first start
- Fixed directory listings when Host header was missing
- Fixed bug where error_reporting could not be set via
vhost.PHPINISettings
- Fixed Pancake error_reporting value being used by default in SAPI
instead of php.ini value
- Fixed crash when appending a second value to a header with a
non-string value
- Fixed ?pancakedebug
- Bundled Moody updated
  • Loading branch information...
commit 5575e3049106bd37ae724e69d18d9ed790e221b3 1 parent febd062
Yussuf Khalil authored

Showing 2 changed files with 88 additions and 0 deletions. Show diff stats Hide diff stats

  1. +72 0 CHANGELOG
  2. +16 0 UPGRADING
72 CHANGELOG
... ... @@ -0,0 +1,72 @@
  1 +1.4
  2 +
  3 +- SSL/TLS is now supported (OpenSSL 0.9.8 or newer required)
  4 +- Improved performance
  5 +- New "vhost.PHPModules" setting, allowing to load custom PHP modules for each vHost
  6 +- Removed dependencies on pcntl and sockets extensions
  7 +- post_max_size is now always fetched from the native SAPI module
  8 +- Pancake can now be built as a static PHP module (core module only, TLS module not supported)
  9 +- Fixed possible infinite loop when requesting a non-regular file (e. g. a UNIX socket, a FIFO or a device file)
  10 +- SAPI wait slots are now disabled by default (set main.waitSlotWaitLimit to 0 to disable them in old Pancake configurations)
  11 +- TRACE and OPTIONS are now disabled by default
  12 +- Default processing limit for RequestWorkers is now 250k requests
  13 +- Default connection backlog is now 200 instead of 100
  14 +- Default RequestWorker amount is now 2 instead of 4
  15 +- vHost setting "writeLimit" is now moved to main configuration (Pancake will automatically determine the highest value from the vHost configurations for compatibility)
  16 +- Fixed bad hash value of $_ENV
  17 +- Nagle's algorithm is now disabled by default (use new setting "main.naglesAlgorithm" to enable it)
  18 +- Added new "main.preBuffer" setting, allowing to enable buffering of static files before sending HTTP headers (set to 65536 byte by default)
  19 +- Worker threads won't give a flush message anymore on SIGHUP
  20 +- pancake.sh now uses sh instead of bash
  21 +- FD_SETSIZE is now set to 262144 (Linux only)
  22 +- Fixed "double defined vHost" error on first start
  23 +- Fixed directory listings when Host header was missing
  24 +- Fixed bug where error_reporting could not be set via vhost.PHPINISettings
  25 +- Fixed Pancake error_reporting value being used by default in SAPI instead of php.ini value
  26 +- Fixed crash when appending a second value to a header with a non-string value
  27 +- Fixed ?pancakedebug
  28 +- Bundled Moody updated
  29 +
  30 +1.3
  31 +
  32 +- Great performance improvements
  33 +- Improved RAM usage
  34 +- Dropped support for PHP 5.3 (only PHP 5.4 supported currently, support for PHP 5.5 will probably be introduced in Pancake 1.4)
  35 +- Complete just-in-time parsing of request variables in PHP SAPI
  36 +- Improved AJP13 stability
  37 +- Removed dependency on sysvmsg extension
  38 +- Improved daemon mode (it is now recommended to run Pancake in daemon mode using the new bundled Debian init script)
  39 +- HTTPRequest::$answerCodes is not available anymore for custom exception page handlers (see UPGRADING)
  40 +- Added more HTTP answer codes as specified in RFC 6585, RFC 2817, RFC 5842 and RFC 3229
  41 +- Added --config setting to specify a custom configuration file on startup
  42 +- Added --pidfile start option, allowing to set a file where Pancake will store its PID in daemonized mode
  43 +- Added some more MIME types to the default mime.yml
  44 +- Added "PHPINISettings" vHost configuration setting, allowing to specify custom php.ini entries for each vHost
  45 +- New basic-crypted authentication mode (passwords need to be sha1-crypted in authentication files)
  46 +- New "enabled" setting for vHosts (defaults to true)
  47 +- Included configuration files may define other includes themselves now
  48 +- Working HTTP TRACE implementation
  49 +- Log file pointers are now reopened on SIGHUP (useful for logrotate)
  50 +- Workers will now try to finish all pending requests before exiting
  51 +- Improved some system messages
  52 +- Workers are now run as root in debug mode
  53 +- New --use-malloc start option to disable Zend Memory Manager (use with care!)
  54 +- $_ENV will now be an empty array per default (previously contained only 'USER' key)
  55 +- More stable internal communication
  56 +- Improved PHP compatibility
  57 +- Pancake will now warn the user when a vHost is defined in two files (probably the user forgot to change the name)
  58 +- Fixed mt_rand() and rand() returning the same number twice in (very unlikely) edge cases
  59 +- Fixed errors when session or filter extensions were not loaded
  60 +- Fixed bug in session_start() where an error with the session ID might be reported
  61 +- Fixed edge case bug where a single PHPWorker could hang
  62 +- Fixed keys in authentication configuration being treated case-sensitive
  63 +- Fixed session.name not being reverted across requests
  64 +- Fixed keys sometimes being parsed incorrectly in GPC values
  65 +- Fixed YAML errors being hidden sometimes
  66 +- Fixed script output sometimes being sent to STDOUT on PHP fatal error
  67 +- Fixed CGI path info not working correctly when using FastCGI
  68 +- Fixed uploaded files not being cleaned correctly in some cases
  69 +- Fixed script execution not being aborted on E_USER_ERROR
  70 +- Init script for Debian GNU/Linux bundled (thanks to Jan Erik Petersen)
  71 +- DeepTrace v2 and Pancake binaries bundled for i686, x86_64 and Raspberry Pi
  72 +- Moody bundled for PHP 5.4
16 UPGRADING
... ... @@ -1,3 +1,19 @@
  1 +Upgrading to Pancake 1.4
  2 +
  3 +Some default configuration values have changed in Pancake 1.4. Please look at the changelog for further information. It is especially
  4 +recommended to disable PHP wait slots (main.waitSlotWaitLimit = 0) when upgrading from older Pancake versions since those are not needed
  5 +in most cases.
  6 +
  7 +The former vHost setting "writeLimit" has been moved to the "main" configuration section. For compatibility, Pancake looks up the highest
  8 +"writeLimit" value from all vHosts and uses this one if it's higher than the "main.writeLimit" value. It is recommended to remove the
  9 +"writeLimit" setting from all vHosts and set a new, reasonable value in the "main" configuration. The new default value for "main.writeLimit"
  10 +is 1048576.
  11 +
  12 +Please note that the "filter" extension binary MUST be called exactly "filter.so" if loaded as a dynamic vHost PHP module. Other extensions are
  13 +not affected by this limitation.
  14 +
  15 +Enjoy your tasty Pancake 1.4!
  16 +
1 17 Upgrading to Pancake 1.3
2 18
3 19 There are two compatibility changes in Pancake 1.3 that should be noted.

0 comments on commit 5575e30

Please sign in to comment.
Something went wrong with that request. Please try again.