case-insensitive headers

This commit is contained in:
orignal 2022-05-29 16:59:15 -04:00
parent 6ecab66b0e
commit 2d4c7729ad
2 changed files with 67 additions and 34 deletions

View file

@ -20,7 +20,6 @@
#include "Destination.h"
#include "Datagram.h"
#include "Streaming.h"
#include "HTTP.h"
#include "I2PService.h"
#include "AddressBook.h"
@ -111,9 +110,7 @@ namespace client
private:
std::string m_Host;
i2p::http::HTTPReq m_ClientRequest;
std::string m_RequestSendBuffer;
std::stringstream m_InHeader, m_OutHeader; // for responses
std::stringstream m_InHeader, m_OutHeader;
bool m_HeaderSent, m_ResponseHeaderSent;
std::shared_ptr<const i2p::data::IdentityEx> m_From;
};