Fix readline

This commit is contained in:
2026-01-07 12:09:15 -06:00
parent f88cc21a85
commit 7dc4ad9b08
5 changed files with 34 additions and 10 deletions

View File

@@ -468,7 +468,7 @@ namespace Tesses::Framework::Http
HttpDictionary req;
StreamReader reader(ctx->GetStream());
std::string line;
while(reader.ReadLine(line))
while(reader.ReadLineHttp(line))
{
auto v = HttpUtils::SplitString(line,": ", 2);
if(v.size() == 2)
@@ -944,7 +944,7 @@ namespace Tesses::Framework::Http
try{
bool firstLine = true;
std::string line;
while(reader.ReadLine(line))
while(reader.ReadLineHttp(line))
{
if(firstLine)
{