Skip to content

randypang/newrelic-express-passenger-post-error

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

Simple Express configuration to reproduce a error when run with Phusion Passenger receiving POST data. Specifically: RangeError: Maximum call stack size exceeded Looks similar to this issue, except only shows up when run with passenger: newrelic/node-newrelic#50

Install

$ cd newrelic-express-passenger-post-error && npm install

Install and install Phusion Passenger standalone: (Error was originally produced on OS X, node v0.10.23)

https://www.phusionpassenger.com/download#open_source

Reproduce:

(With Passenger)

$ cd newrelic-express-passenger-post-error
$ passenger start
$ curl http://0.0.0.0:3000/
OK
$ curl http://0.0.0.0:3000/post -X POST
OK
$ curl http://0.0.0.0:3000/post -X POST -d "{}"
RangeError: Maximum call stack size exceeded

(Works without Passenger)

$ node app.js
$ curl http://0.0.0.0:3000/post -X POST -d "{}"
OK

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published