I'd like to change the socket timeout for an HTTPS server instance, but 
find that the following doesn't work:

var options = {
key: fs.readFileSync('ssl/my.key'),
cert: fs.readFileSync('ssl/my.crt'),
ca: fs.readFileSync('ssl/myca.crt'),
handshakeTimeout: 20000,
};
var server = https.createServer(options, requestListener);
server.setTimeout(30000);
server.listen(8080);

In our development environment, where we use an HTTP server, the timeout 
works great.

I'm wondering if there is some technical reason why SSL connections can't 
time out, or if this is just an oversight.

Thanks in advance for any help/insight.

-ch

-- 
-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to