node-restify icon indicating copy to clipboard operation
node-restify copied to clipboard

socket close on request done ?

Open balasta75 opened this issue 1 year ago • 0 comments

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

balasta75 avatar May 03 '23 15:05 balasta75