Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

socket close on request done ? #1952

Open
balasta75 opened this issue May 3, 2023 · 0 comments
Open

socket close on request done ? #1952

balasta75 opened this issue May 3, 2023 · 0 comments

Comments

@balasta75
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant