initial connect of I2PTunnel

This commit is contained in:
orignal 2014-08-13 21:04:23 -04:00
parent ffd2a9e69e
commit 7002d263ab
2 changed files with 9 additions and 8 deletions

View file

@ -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 ();