mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
Rewriting url parser
This commit is contained in:
parent
02a42b0e98
commit
5fa7671ef7
2 changed files with 28 additions and 28 deletions
|
@ -24,6 +24,7 @@ namespace proxy
|
|||
{
|
||||
std::string method;
|
||||
std::string uri;
|
||||
std::string host;
|
||||
int http_version_major;
|
||||
int http_version_minor;
|
||||
std::vector<header> headers;
|
||||
|
@ -54,7 +55,7 @@ namespace proxy
|
|||
void SendReply (const std::string& content);
|
||||
|
||||
void HandleDestinationRequest (const std::string& address, const std::string& uri);
|
||||
std::pair<std::string, std::string> ExtractRequest ();
|
||||
void ExtractRequest (request& m_Request);
|
||||
void parseHeaders(const std::string& h, std::vector<header>& hm);
|
||||
|
||||
private:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue