limit HTTP header size

This commit is contained in:
orignal 2022-08-23 19:06:28 -04:00
parent 150b8f8cbd
commit 5b19237a85
2 changed files with 14 additions and 3 deletions

View file

@ -34,7 +34,8 @@ namespace client
const char X_I2P_DEST_HASH[] = "X-I2P-DestHash"; // hash in base64
const char X_I2P_DEST_B64[] = "X-I2P-DestB64"; // full address in base64
const char X_I2P_DEST_B32[] = "X-I2P-DestB32"; // .b32.i2p address
const int I2P_TUNNEL_HTTP_MAX_HEADER_SIZE = 8192;
class I2PTunnelConnection: public I2PServiceHandler, public std::enable_shared_from_this<I2PTunnelConnection>
{
public: