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
Fix retrieve-win-deps Windows build script not working correctly
Fix context switches between addon callbacks not causing Node.js to drain microtasks - (#177)
Fix some curl_off_t getinfo values corrupting the stack
WRITEFUNCTION, HEADERFUNCTION and READFUNCTION callbacks now correctly rethrow JS errors thrown inside of them.
The return value of both callbacks is now also checked to be an integer, any other type will cause an error.
This is considered a fix because previously the return value was being cast to an integer, which means the method would already fail, as there are remote chances (aka impossible) casting something else to an integer would yield the length of the data passed by libcurl.
The C++ implementation for the previously removed onData and onHeader Curl/Easy instance fields has been removed - If you were still using those internal fields your code is going to break. Use WRITEFUNCTION and HEADERFUNCTION options instead.