mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-30 04:37:50 +02:00
Merge branch 'master' into web-ui
This commit is contained in:
commit
3cc95c0df2
8 changed files with 32 additions and 24 deletions
|
@ -518,15 +518,7 @@ namespace util
|
|||
|
||||
void HTTPConnection::Terminate ()
|
||||
{
|
||||
if (!m_Stream) return;
|
||||
m_Socket->close ();
|
||||
m_Stream->Close ();
|
||||
|
||||
m_Socket->get_io_service ().post ([=](void)
|
||||
{
|
||||
m_Stream.reset ();
|
||||
m_Stream = nullptr;
|
||||
});
|
||||
}
|
||||
|
||||
void HTTPConnection::Receive ()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue