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

New Post: Automatic Logon Policy in http_client

$
0
0
David,

You are correct in that this is not something the implementation currently supports.

If you want to add it, I would advise you to add an option to the http_client_config class (use "guarantee_order()" as an example) and then add the proper call to WinHttpSetOption() in the winhttp_client::open() function. You can follow the example of how guarantee_order() is used there, around line 1200 in http_client.cpp. Make sure to set the default value of the option to the right level, so that you don't inadvertently get a security problem.

We'll add it to our backlog!

Niklas

Viewing all articles
Browse latest Browse all 4845

Trending Articles



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