passenger 4.0.36 → 4.0.37

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 (41) hide show
  1. checksums.yaml +8 -8
  2. checksums.yaml.gz.asc +7 -7
  3. data.tar.gz.asc +7 -7
  4. data/NEWS +51 -0
  5. data/README.md +3 -1
  6. data/build/integration_tests.rb +5 -1
  7. data/build/test_basics.rb +2 -2
  8. data/dev/run_travis.sh +3 -0
  9. data/doc/Users guide Nginx.txt +3 -3
  10. data/ext/common/ApplicationPool2/Group.h +2 -1
  11. data/ext/common/ApplicationPool2/Implementation.cpp +30 -1
  12. data/ext/common/ApplicationPool2/Pool.h +26 -3
  13. data/ext/common/ApplicationPool2/Process.h +39 -10
  14. data/ext/common/Constants.h +1 -1
  15. data/ext/common/MultiLibeio.cpp +4 -0
  16. data/ext/common/ServerInstanceDir.h +1 -1
  17. data/ext/common/Utils.cpp +29 -0
  18. data/ext/common/Utils.h +7 -1
  19. data/ext/common/Utils/BufferedIO.h +13 -0
  20. data/ext/common/agents/HelperAgent/Main.cpp +6 -2
  21. data/ext/common/agents/HelperAgent/RequestHandler.h +32 -1
  22. data/helper-scripts/meteor-loader.rb +126 -10
  23. data/helper-scripts/node-loader.js +5 -3
  24. data/helper-scripts/wsgi-loader.py +23 -11
  25. data/lib/phusion_passenger.rb +1 -1
  26. data/lib/phusion_passenger/config/detach_process_command.rb +96 -0
  27. data/lib/phusion_passenger/config/main.rb +1 -0
  28. data/lib/phusion_passenger/request_handler.rb +11 -4
  29. data/node_lib/phusion_passenger/httplib_emulation.js +20 -14
  30. data/test/cxx/RequestHandlerTest.cpp +80 -0
  31. data/test/integration_tests/apache2_tests.rb +57 -0
  32. data/test/integration_tests/nginx_tests.rb +62 -0
  33. data/test/node/httplib_emulation_spec.js +137 -5
  34. data/test/node/spec_helper.js +13 -0
  35. data/test/stub/node/app.js +125 -0
  36. data/test/stub/node/public/.gitignore +0 -0
  37. data/test/stub/node/tmp/.gitignore +0 -0
  38. data/test/stub/rack/config.ru +19 -0
  39. data/test/stub/wsgi/passenger_wsgi.py +37 -1
  40. metadata +6 -2
  41. metadata.gz.asc +7 -7
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
- iQEcBAABAgAGBQJS4syKAAoJECrHRaUKISqMpZoH/iwKVIdh40yt8z9zma0e7w8R
6
- olvsvhYmjAtX+Jigosb5hXPr3pF4ZOtuuAJlyrU/JZkcseOFqmigGf2Junl6mN03
7
- v7E6RbiTJSAsEZZpOEqhSiqDINlolChmWtXWKi1D6tV1RtFzwR+xclsks3m+Dm7O
8
- mB9y1pCwW3EQvZr4dKpS4f22z/QBiDm9ieC1NVpfEy0u9d2N+W7Wty0ExNzP1jjP
9
- STWpMcV1G8hUbZ2ZJ2epObCQeHGLT3SKoD9q2WV8p6+m7+eo9MxeJgqjcKob7Hb5
10
- 2pwmBFkwzmlV4FblJ42rFcs5W/BUL2U3tUpYTQJ2zeO7oQRhoulhsmLZnG8j44o=
11
- =JXVh
5
+ iQEcBAABAgAGBQJS6CPHAAoJECrHRaUKISqMVE8IAJ1rJonGDQ1UC7Yvb15ee0rP
6
+ GfZ/TfGnc/4QhQPiurKmZedvNR8J2jX1rpHDZ608V5x2/ob6XRu4JjWNsfQa9dg2
7
+ cj5voVZEVJzEQEPVfqAGxFxWGoAB/Y0sOMV+gm6ApPYVLrx7E+Z9zrA4MPD+Cg21
8
+ 3BDA85scuJVJbzE/83m3DfmqcdNnyLga4jXRJ5BoiFgsDmbK672nrKB/1z/rMlK9
9
+ JPXtWWAIvMb4W28VSQ9khqAkMkqzn+QoBU0IamaTc9uguktnCdvkMoy8tI2ximYB
10
+ Vsl1e3/nNIcGpUhIoe55se9D4d242c4sge0RlFWbnkTnfqCRkos/Sn6l+yn8HkU=
11
+ =aUm3
12
12
  -----END PGP SIGNATURE-----