mirror of
https://github.com/fumiama/simple-http-server.git
synced 2026-06-09 12:30:34 +08:00
增加lo
This commit is contained in:
1
server.c
1
server.c
@@ -272,6 +272,7 @@ static void execute_cgi(int client, const char *path, const char *method, const
|
|||||||
#else
|
#else
|
||||||
sendfile(client, cgi_output[0], &len, cnt);
|
sendfile(client, cgi_output[0], &len, cnt);
|
||||||
#endif
|
#endif
|
||||||
|
printf("cgi send %d bytes\n", len);
|
||||||
}
|
}
|
||||||
|
|
||||||
close(cgi_output[0]);
|
close(cgi_output[0]);
|
||||||
|
|||||||
Reference in New Issue
Block a user