node-XMLHttpRequest
node-XMLHttpRequest copied to clipboard
Added setTimeout for XMLHttpRequest
We have to set request timeout in our production to avoid blocking too many requests.I added a method setTimeout
for XMLHttpRequest.I hope it can be merged into master branch,then i don't have to use my own version of node-XMLHttpRequest
.Thanks for your great work.
We also need the timeout feature, but we need an interface more similar than the W3C standard. Is it possible to change your implementation to comply (at least at interface level) with the standard?
@ortegag can you give an example of something "more similar than the W3C standard"
I've seen two separate instances of this issue crop up. +1
@driverdan Can you let us know what's stopping you from accepting this PR? Any doubts or qualms you have about it?