Services/HTTP: Stubbed the CloseContext service function.

It is currently unknown how the real http module handles trying to close contexts for requests that are already in flight.
This commit is contained in:
Subv
2018-07-21 20:11:20 -05:00
parent 34baa882c8
commit 799b45233f
2 changed files with 34 additions and 1 deletions

View File

@@ -45,6 +45,15 @@ private:
*/
void CreateContext(Kernel::HLERequestContext& ctx);
/**
* HTTP_C::CreateContext service function
* Inputs:
* 1 : Context handle
* Outputs:
* 1 : Result of function, 0 on success, otherwise error code
*/
void CloseContext(Kernel::HLERequestContext& ctx);
Kernel::SharedPtr<Kernel::SharedMemory> shared_memory = nullptr;
std::unordered_map<u32, Context> contexts;