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

New Post: HttpCreateServerSession return INVALID_HANDLE

$
0
0
I am using the listener in a low-integrity sandboxed process to make some experiment.
When I open the listener (the http endpoint has the correct ACLs) the HttpCreateServerSession in http_listener.cpp return 6 (INVALID_HANDLE).
According to the msdn documentation the only possible fail return codes are ERROR_REVISION_MISMATCH and ERROR_INVALID_PARAMETER, therefore the docs looks wrong.
HttpCreateServerSession on MSDN

Any hint on why the HttpCreateServerSession may fail in a sanboxed process? What kind of permission may be needed in addition to reserving the endpoint?

Thanks

Viewing all articles
Browse latest Browse all 4845

Trending Articles



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