chore: fix infinite loop condition in http_fileserver.rc and add file server documentation
This commit is contained in:
@@ -36,8 +36,8 @@ int main() {
|
||||
printf("Example: http://localhost:8080/\n\n");
|
||||
|
||||
filename = "README.md";
|
||||
count = 0;
|
||||
while (count < 100) {
|
||||
count = 1;
|
||||
while (count > 0) {
|
||||
printf("Waiting for connection %d\n", count + 1);
|
||||
client_fd = accept(server_fd);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user