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
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