You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
http2: check if callback is valid before closing the request? #18855
I came across this issue while writing unit tests for req.close(code) in PR #18854
The function currently checks if callback is valid after performing close operation
Activity
joyeecheung commentedon Feb 20, 2018
cc @nodejs/http2
mcollina commentedon Feb 23, 2018
I think this is a bug, would you mind sending a PR?
trivikr commentedon Feb 26, 2018
Sure, I'll post a PR in a day or two
trivikr commentedon Feb 28, 2018
Blocked on #19057 and #18938
mcollina commentedon Feb 28, 2018
@trivikr why is this blocked by those? Can you open the PR in the meanwhile?
trivikr commentedon Feb 28, 2018
I can make the code change and test it by running just single test as defined in https://github.com/nodejs/node/blob/master/doc/guides/contributing/pull-requests.md#step-6-test
However, since coverage is failing on my machine and also at coverage.nodejs.org I would like to wait for that fix before posting a PR.
trivikr commentedon Feb 28, 2018
PR posted at #19061
http2: callback valid check before closing request
http2: callback valid check before closing request
http2: callback valid check before closing request
http2: callback valid check before closing request
http2: callback valid check before closing request
http2: callback valid check before closing request
http2: callback valid check before closing request