HTTP/1.0 works now

This commit is contained in:
2022-07-13 01:49:05 -05:00
parent 94220166ad
commit 45aa67062f

View File

@@ -259,7 +259,7 @@ static int processRequest(Connection *conn) {
return 1;
}
}
if (strcmp(line, "HTTP/1.1"))
if (strcmp(line, "HTTP/1.0") && strcmp(line, "HTTP/1.1"))
return 1;
conn->progress = RECEIVE_HEADER;
conn->fieldCount = 0;