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
Adding aborted event handler #3916
Conversation
@jasonsaayman Hi! Thank you for #3938. |
@jasonsaayman Hi! Thank you for new releases. https://github.com/axios/axios/releases/tag/v0.21.2 And this bug is blocker of using Node.js v14 in our products. Please let me know if you need to more information and have any help. Thank you for releasing while you are busy! |
Tagging this for next release |
@jasonsaayman Thank you sooo much! |
@jasonsaayman Thank you for maintaining this project! BTW, Any chance of a new release including this PR before #4209? |
* Adding test of aborts request * Adding aborted event handler * Fixing timing of setting rejected flag Co-authored-by: Jay <jasonsaayman@gmail.com>
close #3798
Instructions
Adding aborted event handler.
aborted
event is emitted when a request is aborted with Node.js v14.Now, axios does not have a handler for
aborted
events, so axios cannot reject when that are aborted.This was not a problem in Node.js v12. But axios with Node.js v14 needs to be fixed.
Details: #3798