Hello,
I have just compiled your code and I see the following :
gcc -I include/ -o src/httpd.o -c src/httpd.c -Wall -pedantic
gcc -I include/ -o src/http_server src/main.c src/httpd.o -Wall -pedantic
In file included from src/main.c:1:
include/httpd.h:25:17: warning: ‘reqhdr’ defined but not used [-Wunused-variable]
25 | static header_t reqhdr[17] = {{"\0", "\0"}};
| ^~~~~~
Is there any mistake in your code ?
Thank you.