Fix http:c files
This commit is contained in:
parent
9854cf63dc
commit
26d26653af
@ -314,7 +314,6 @@ void HTTP_C::ReceiveDataImpl(Kernel::HLERequestContext& ctx, bool timeout) {
|
|||||||
} else {
|
} else {
|
||||||
LOG_WARNING(Service_HTTP, "(STUBBED) called");
|
LOG_WARNING(Service_HTTP, "(STUBBED) called");
|
||||||
}
|
}
|
||||||
[[maybe_unused]] Kernel::MappedBuffer& buffer = rp.PopMappedBuffer();
|
|
||||||
|
|
||||||
Kernel::MappedBuffer& buffer = rp.PopMappedBuffer();
|
Kernel::MappedBuffer& buffer = rp.PopMappedBuffer();
|
||||||
|
|
||||||
|
@ -210,7 +210,6 @@ public:
|
|||||||
std::atomic<u64> total_download_size_bytes;
|
std::atomic<u64> total_download_size_bytes;
|
||||||
size_t current_copied_data;
|
size_t current_copied_data;
|
||||||
bool uses_default_client_cert{};
|
bool uses_default_client_cert{};
|
||||||
#ifdef ENABLE_WEB_SERVICE
|
|
||||||
httplib::Response response;
|
httplib::Response response;
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -330,37 +329,6 @@ private:
|
|||||||
*/
|
*/
|
||||||
void BeginRequestAsync(Kernel::HLERequestContext& ctx);
|
void BeginRequestAsync(Kernel::HLERequestContext& ctx);
|
||||||
|
|
||||||
/**
|
|
||||||
* HTTP_C::ReceiveData service function
|
|
||||||
* Inputs:
|
|
||||||
* 1 : Context handle
|
|
||||||
* 2 : Buffer size
|
|
||||||
* 3 : (OutSize<<4) | 12
|
|
||||||
* 4 : Output data pointer
|
|
||||||
* Outputs:
|
|
||||||
* 1 : Result of function, 0 on success, otherwise error code
|
|
||||||
*/
|
|
||||||
void ReceiveData(Kernel::HLERequestContext& ctx);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* HTTP_C::ReceiveDataTimeout service function
|
|
||||||
* Inputs:
|
|
||||||
* 1 : Context handle
|
|
||||||
* 2 : Buffer size
|
|
||||||
* 3-4 : u64 nanoseconds delay
|
|
||||||
* 5 : (OutSize<<4) | 12
|
|
||||||
* 6 : Output data pointer
|
|
||||||
* Outputs:
|
|
||||||
* 1 : Result of function, 0 on success, otherwise error code
|
|
||||||
*/
|
|
||||||
void ReceiveDataTimeout(Kernel::HLERequestContext& ctx);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* ReceiveDataImpl:
|
|
||||||
* Implements ReceiveData and ReceiveDataTimeout service functions
|
|
||||||
*/
|
|
||||||
void ReceiveDataImpl(Kernel::HLERequestContext& ctx, bool timeout);
|
|
||||||
|
|
||||||
void SetProxyDefault(Kernel::HLERequestContext& ctx);
|
void SetProxyDefault(Kernel::HLERequestContext& ctx);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user