client reset observe failed
Open
@GiedriusM is already working on this.
Since Nov 8, 2017.
bug
question
RFC 7641
- Dominant language
- TypeScript
- Stars
- 552
- Forks
- 154
- PR merge metrics
- No merged PRs in 30d
Description
in client side, i want to send RST packet to server.
req.on('response', function(res) {
console.log("---------------------response---------------------");
console.log(res.headers);
var rcvCount = 5;
res.on('data', function(data) {
console.log(data);
rcvCount--
if(rcvCount == 0){
//it will throw new Error: Empty messages must be empty
req.reset();
}
});
})
req.end()
when i call req.reset(), it will throw Empty messages must be empty error
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.
Assessment
This issue has not been assessed yet.