cosmetics

This commit is contained in:
UbitUmarov
2022-01-13 13:59:41 +00:00
parent c5f5fa0d2e
commit 6595e3ae26
10 changed files with 13 additions and 13 deletions

View File

@@ -358,7 +358,7 @@ namespace OSHttpServer.Parser
{
if (ch == '\r' || ch == '\n')
{
if (m_curHeaderName == string.Empty)
if (m_curHeaderName.Length == 0)
throw new BadRequestException("Missing header on line " + currentLine);
if (currentPos - startPos > 8190)