Browse Source

Handle long HTTP headers

pull/1786/head
orignal 2 years ago
parent
commit
150b8f8cbd
  1. 4
      libi2pd_client/I2PTunnel.cpp

4
libi2pd_client/I2PTunnel.cpp

@ -321,6 +321,8 @@ namespace client @@ -321,6 +321,8 @@ namespace client
m_HeaderSent = true;
I2PTunnelConnection::Write ((uint8_t *)m_OutHeader.str ().c_str (), m_OutHeader.str ().length ());
}
else
StreamReceive (); // read more header
}
}
@ -404,6 +406,8 @@ namespace client @@ -404,6 +406,8 @@ namespace client
m_HeaderSent = true;
I2PTunnelConnection::Write ((uint8_t *)m_OutHeader.str ().c_str (), m_OutHeader.str ().length ());
}
else
StreamReceive (); // read more header
}
}

Loading…
Cancel
Save