mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-07 06:09:42 +00:00
* HTTPServer.{cpp,h}: merge HandleWriteReply & Terminate : the same purpose
This commit is contained in:
@@ -18,9 +18,8 @@ namespace http {
|
||||
|
||||
private:
|
||||
|
||||
void Terminate ();
|
||||
void HandleReceive (const boost::system::error_code& ecode, std::size_t bytes_transferred);
|
||||
void HandleWriteReply(const boost::system::error_code& ecode);
|
||||
void Terminate (const boost::system::error_code& ecode);
|
||||
|
||||
void SendReply (const std::string& content, int code = 200);
|
||||
void SendError (const std::string& message);
|
||||
|
||||
Reference in New Issue
Block a user