node-restify
node-restify copied to clipboard
socket close on request done ?
Hi,
If i understand well, on each requests, restify will open a socket to manage the request. If, on the request, we have promises who is not finish to run and request is done (next() method is called). Do restify close the socket and automatically close all promises running inside the socket ?
On my case, i develop a bot who use restify to handle requests and sometimes i would like to close all promises who is running by closing the request.
Thanks