Add websocket header tests

This commit is contained in:
2022-07-05 11:26:23 +02:00
parent 1fe9c38914
commit f12c21b41b
12 changed files with 205 additions and 49 deletions
@@ -16,14 +16,14 @@ constexpr const char * const TAG = "ASIO_WEBSERVER";
ChunkedResponseHandler::ChunkedResponseHandler(ClientConnection &clientConnection) :
m_clientConnection{clientConnection}
{
ESP_LOGV(TAG, "constructed for (%s:%hi)",
m_clientConnection.remote_endpoint().address().to_string().c_str(), m_clientConnection.remote_endpoint().port());
// ESP_LOGV(TAG, "constructed for (%s:%hi)",
// m_clientConnection.remote_endpoint().address().to_string().c_str(), m_clientConnection.remote_endpoint().port());
}
ChunkedResponseHandler::~ChunkedResponseHandler()
{
ESP_LOGV(TAG, "destructed for (%s:%hi)",
m_clientConnection.remote_endpoint().address().to_string().c_str(), m_clientConnection.remote_endpoint().port());
// ESP_LOGV(TAG, "destructed for (%s:%hi)",
// m_clientConnection.remote_endpoint().address().to_string().c_str(), m_clientConnection.remote_endpoint().port());
}
void ChunkedResponseHandler::requestHeaderReceived(std::string_view key, std::string_view value)