Added timeouts and checked for POLLRDHUP events

This commit is contained in:
Nate Choe
2022-01-29 16:37:54 -06:00
parent c46ed581c3
commit ab2e28ed10
11 changed files with 47 additions and 16 deletions

View File

@@ -39,6 +39,7 @@ typedef struct {
SocketType type;
char *key;
char *cert;
int timeout;
} Sitefile;
Sitefile *parseSitefile(char *path);