keep receving new data from socket while previous is being sent to stream

This commit is contained in:
orignal 2025-04-29 12:56:35 -04:00
parent fdbf4366eb
commit b03ec650ef
2 changed files with 16 additions and 7 deletions
libi2pd_client

View file

@ -82,6 +82,7 @@ namespace client
std::shared_ptr<boost::asio::ssl::stream<boost::asio::ip::tcp::socket&> > m_SSL;
std::shared_ptr<i2p::stream::Stream> m_Stream;
boost::asio::ip::tcp::endpoint m_RemoteEndpoint;
bool m_IsReceiving;
};
class I2PClientTunnelConnectionHTTP: public I2PTunnelConnection