Closed ttghr closed 8 years ago
Hi!
Thank you for pointing out this issue. I'll check this as soon as possible. Tests are broken under the last version of NPM and I have to do some refactor before adding anything to this module.
Ok, I've probably a better idea regarding this issue.
What if Sockpress populates the express application with the raw http
or https
server? You could then customize this server with any option you want with something like app.rawServer.setTimeout(...)
. Express provides maybe a way to access the server, but I've not found anything yet...
What do you think about that? :)
You are right. That is more general and prevents other configuration issues.
Added and available in sockpress@1.0.2 :+1:
Hi, the sockpress server has no oppertunity to set server.timeout. A new property
serverTimeout
in the options solve this problem. In index.js: