passenger 5.0.0.beta2 → 5.0.0.beta3

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of passenger might be problematic. Click here for more details.

Files changed (73) hide show
  1. checksums.yaml +8 -8
  2. checksums.yaml.gz.asc +7 -7
  3. data.tar.gz.asc +7 -7
  4. data/CHANGELOG +30 -0
  5. data/CONTRIBUTORS +2 -0
  6. data/Gemfile.lock +1 -1
  7. data/bin/passenger-status +13 -15
  8. data/build/cxx_tests.rb +14 -1
  9. data/build/preprocessor.rb +4 -2
  10. data/debian.template/control.template +2 -2
  11. data/doc/Security of user switching support.txt +2 -2
  12. data/doc/Users guide Apache.idmap.txt +6 -4
  13. data/doc/Users guide Apache.txt +20 -1
  14. data/doc/Users guide Nginx.idmap.txt +5 -3
  15. data/doc/Users guide Nginx.txt +22 -2
  16. data/ext/apache2/Configuration.cpp +6 -0
  17. data/ext/apache2/Configuration.hpp +4 -1
  18. data/ext/apache2/Hooks.cpp +1 -0
  19. data/ext/common/Constants.h +4 -2
  20. data/ext/common/Constants.h.erb +1 -1
  21. data/ext/common/DataStructures/LString.h +10 -0
  22. data/ext/common/ServerKit/Channel.h +1 -1
  23. data/ext/common/ServerKit/Context.h +2 -21
  24. data/ext/common/ServerKit/CookieUtils.h +246 -0
  25. data/ext/common/ServerKit/FdSourceChannel.h +10 -0
  26. data/ext/common/ServerKit/FileBufferedChannel.h +173 -17
  27. data/ext/common/ServerKit/FileBufferedFdSinkChannel.h +33 -1
  28. data/ext/common/ServerKit/HeaderTable.h +3 -1
  29. data/ext/common/ServerKit/HttpServer.h +36 -8
  30. data/ext/common/ServerKit/Server.h +1 -0
  31. data/ext/common/Utils.cpp +2 -1
  32. data/ext/common/Utils/DateParsing.h +15 -2
  33. data/ext/common/Utils/JsonUtils.h +39 -1
  34. data/ext/common/agents/HelperAgent/Main.cpp +4 -2
  35. data/ext/common/agents/HelperAgent/OptionParser.h +14 -2
  36. data/ext/common/agents/HelperAgent/RequestHandler.h +22 -8
  37. data/ext/common/agents/HelperAgent/RequestHandler/ForwardResponse.cpp +92 -11
  38. data/ext/common/agents/HelperAgent/RequestHandler/Hooks.cpp +3 -1
  39. data/ext/common/agents/HelperAgent/RequestHandler/InitRequest.cpp +9 -5
  40. data/ext/common/agents/HelperAgent/RequestHandler/Request.h +1 -0
  41. data/ext/common/agents/HelperAgent/RequestHandler/SendRequest.cpp +27 -13
  42. data/ext/common/agents/HelperAgent/ResponseCache.h +91 -34
  43. data/ext/common/agents/LoggingAgent/AdminServer.h +21 -1
  44. data/ext/nginx/CacheLocationConfig.c +20 -0
  45. data/ext/nginx/Configuration.c +130 -24
  46. data/ext/nginx/Configuration.h +2 -1
  47. data/ext/nginx/ConfigurationCommands.c +10 -0
  48. data/ext/nginx/ConfigurationFields.h +2 -0
  49. data/ext/nginx/ContentHandler.c +1 -6
  50. data/ext/nginx/CreateLocationConfig.c +5 -0
  51. data/ext/nginx/MergeLocationConfig.c +6 -0
  52. data/ext/nginx/StaticContentHandler.c +3 -9
  53. data/ext/nginx/ngx_http_passenger_module.c +2 -1
  54. data/ext/ruby/extconf.rb +5 -4
  55. data/lib/phusion_passenger.rb +2 -2
  56. data/lib/phusion_passenger/constants.rb +2 -1
  57. data/lib/phusion_passenger/nginx/config_options.rb +5 -1
  58. data/lib/phusion_passenger/rack/thread_handler_extension.rb +3 -1
  59. data/lib/phusion_passenger/ruby_core_enhancements.rb +3 -4
  60. data/lib/phusion_passenger/standalone/start_command.rb +5 -1
  61. data/lib/phusion_passenger/standalone/start_command/builtin_engine.rb +10 -3
  62. data/resources/templates/standalone/config.erb +2 -1
  63. data/test/cxx/DateParsingTest.cpp +75 -0
  64. data/test/cxx/ResponseCacheTest.cpp +322 -0
  65. data/test/cxx/ServerKit/CookieUtilsTest.cpp +274 -0
  66. data/test/cxx/ServerKit/HttpServerTest.cpp +77 -0
  67. data/test/stub/rails3.0/Gemfile.lock +2 -2
  68. data/test/stub/rails3.1/Gemfile.lock +2 -2
  69. data/test/stub/rails3.2/Gemfile.lock +2 -2
  70. data/test/stub/rails4.0/Gemfile.lock +2 -2
  71. data/test/stub/rails4.1/Gemfile.lock +2 -2
  72. metadata +6 -2
  73. metadata.gz.asc +7 -7
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: passenger
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.0.0.beta2
4
+ version: 5.0.0.beta3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Phusion - http://www.phusion.nl/
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-12-19 00:00:00.000000000 Z
11
+ date: 2015-02-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -2536,6 +2536,7 @@ files:
2536
2536
  - ext/common/ServerKit/Client.h
2537
2537
  - ext/common/ServerKit/ClientRef.h
2538
2538
  - ext/common/ServerKit/Context.h
2539
+ - ext/common/ServerKit/CookieUtils.h
2539
2540
  - ext/common/ServerKit/Errors.h
2540
2541
  - ext/common/ServerKit/FdSinkChannel.h
2541
2542
  - ext/common/ServerKit/FdSourceChannel.h
@@ -2983,6 +2984,7 @@ files:
2983
2984
  - test/cxx/CxxTestMain.cpp
2984
2985
  - test/cxx/DataStructures/LStringTest.cpp
2985
2986
  - test/cxx/DataStructures/StringKeyTableTest.cpp
2987
+ - test/cxx/DateParsingTest.cpp
2986
2988
  - test/cxx/DechunkerTest.cpp
2987
2989
  - test/cxx/EventedBufferedInputTest.cpp
2988
2990
  - test/cxx/EventedClientTest.cpp
@@ -2997,7 +2999,9 @@ files:
2997
2999
  - test/cxx/MessageServerTest.cpp
2998
3000
  - test/cxx/ProcessMetricsCollectorTest.cpp
2999
3001
  - test/cxx/RequestHandlerTest.cpp
3002
+ - test/cxx/ResponseCacheTest.cpp
3000
3003
  - test/cxx/ServerKit/ChannelTest.cpp
3004
+ - test/cxx/ServerKit/CookieUtilsTest.cpp
3001
3005
  - test/cxx/ServerKit/FileBufferedChannelTest.cpp
3002
3006
  - test/cxx/ServerKit/HeaderTableTest.cpp
3003
3007
  - test/cxx/ServerKit/HttpServerTest.cpp
metadata.gz.asc CHANGED
@@ -2,11 +2,11 @@
2
2
  Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
3
3
  Comment: GPGTools - http://gpgtools.org
4
4
 
5
- iQEcBAABAgAGBQJUlA2PAAoJECrHRaUKISqMr/wH/32meSRiPtVaiDcVmbacmRXn
6
- iZ7KrTWZ1PqA03DpZBSDc/aZmpIQCR/kbt/Ozq5bEar102V8XuJ9iM9l4LNeiRBx
7
- iOXAj2/F8hRAR4eUPjNeMmrDFnoGF250aBTSjzr846DQZGUxB3PwDIPxeKMS96ek
8
- eD70rQ5BYzb1yfsxgcRMnSEQtjGv5je+t13c7gjwfERhpkBPquEA5rboQYRnyCsD
9
- 5ujz+VM3Tf04QMGQy66V9KiRa99BwuzkUaX62qpHdPB6K97f+2729nR0duY3pH6+
10
- MY2XYKut8R0XIR+J9Ho6M0lHWASytT4huFDRmF7th2uxPCI2NdOg0fmdG3gyTyo=
11
- =2PDq
5
+ iQEcBAABAgAGBQJU2MfwAAoJECrHRaUKISqMPmYIAKtrMbpRJ2DHxagF3AnOV7xM
6
+ LzLmXQ8mTHZdd1fL2DJmWHISF0y9FQKseLrStQbq9G/tPTaAzNEwF9Z/Jc952Z7n
7
+ 7rx/FGkwzAJdqlgVWsMC18CvZY5UHirzvvMnkCG146X6w/sybWA3FhKy13pkUZh9
8
+ 9CKT1RVlDR+jciUKOsE6AZXdLHv6Dsy/9Egy9fgqQbJV9NAMgO7dQ8xBx2GJgUX1
9
+ QKiGxMX5thOkNTLlZ+Xjw7t5RyR778Jka+UN2pfNaRy749Z9wWoImZpgKRAQEwF4
10
+ lgp7UNO8eMwgCE0cagIAcpVwSxVuI139ux8rk4E0zmHOKIUpqUtOWI3dB1oPsAw=
11
+ =YYe9
12
12
  -----END PGP SIGNATURE-----