Add fixes performance and static web server

This commit is contained in:
Justine Tunney 2020-10-05 23:11:49 -07:00
parent b6793d42d5
commit c45e46f871
108 changed files with 2927 additions and 819 deletions

View file

@ -54,10 +54,3 @@ TEST(inet_ntop, testNoSpace) {
ASSERT_STREQ("", buf);
tfree(buf);
}
TEST(inet_ntop, testSqueeze) {
char *buf = memcpy(tmalloc(8), "hi", 3);
uint8_t localhost[4] = {0, 0, 0, 0};
ASSERT_STREQ("0.0.0.0", inet_ntop(AF_INET, localhost, buf, 8));
tfree(buf);
}