Quantcast
Channel: WE MOVED to github.com/microsoft/cpprestsdk. This site is not monitored!
Viewing all articles
Browse latest Browse all 4845

New Post: How to cancel file upload and download task

$
0
0
I have been able to use the set_nativehandle_options() and, when called by this, calling WinHttpSetStatusCallback to intercept and process Winhttp callbacks. If I close the request handle in my callback intercept, I can cancel the HTTP/S request. Since I am closing the handle in the callback, there are no surprises for the WinHttp stack.

Give it a shot.

Viewing all articles
Browse latest Browse all 4845

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>