mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
initial connect of I2PTunnel
This commit is contained in:
parent
ffd2a9e69e
commit
7002d263ab
2 changed files with 9 additions and 8 deletions
|
@ -219,7 +219,7 @@ namespace stream
|
|||
size_t Stream::Send (const uint8_t * buf, size_t len, int timeout)
|
||||
{
|
||||
bool isNoAck = m_LastReceivedSequenceNumber < 0; // first packet
|
||||
while (len > 0)
|
||||
while (!m_IsOpen || len > 0)
|
||||
{
|
||||
Packet * p = new Packet ();
|
||||
uint8_t * packet = p->GetBuffer ();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue