Added global variables in sitefiles to allow for https support

This commit is contained in:
Nate Choe
2022-01-29 13:21:35 -06:00
parent db645b0bf5
commit c46ed581c3
18 changed files with 430 additions and 58 deletions

View File

@@ -86,7 +86,6 @@ static void readResponse(Connection *conn, char *path) {
if (sendBinaryResponse(conn, "200 OK", data, len) < len)
goto error;
free(data);
fsync(conn->fd);
return;
error:
sendErrorResponse(conn, ERROR_500);