mirror of
https://github.com/kiwix/kiwix-tools.git
synced 2025-09-25 21:30:10 -04:00
Merge pull request #218 from int19h/217
Fix #217: RequestContext::connection is unused
This commit is contained in:
commit
d4d32aa2e8
@ -30,7 +30,6 @@ RequestContext::RequestContext(struct MHD_Connection* connection,
|
||||
const std::string& _url,
|
||||
const std::string& method,
|
||||
const std::string& version) :
|
||||
connection(connection),
|
||||
full_url(_url),
|
||||
url(_url),
|
||||
valid_url(true),
|
||||
|
@ -85,7 +85,6 @@ class RequestContext {
|
||||
int httpResponseCode;
|
||||
|
||||
private:
|
||||
struct MHD_Connection* connection;
|
||||
std::string full_url;
|
||||
std::string url;
|
||||
bool valid_url;
|
||||
|
Loading…
x
Reference in New Issue
Block a user