restify / restify/node-restify
socket close on request done ?
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 10.7k
- Forks
- 975
- Avg merge
- 1d 6h
- Merged PRs (30d)
- 5
Description
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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No file, test, or entry point is named. Begin by tracing Restify's request lifecycle around next(), socket handling, and unresolved promises; done means establishing and documenting whether ending a request closes the socket or cancels work still running inside it.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, node.js
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100