CGI
This commit is contained in:
4
main.c
4
main.c
@@ -1,9 +1,6 @@
|
||||
#include "http/http_server.h"
|
||||
#include <netinet/in.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <sys/socket.h>
|
||||
#include <unistd.h>
|
||||
|
||||
int main() {
|
||||
HttpServer server = {.port = 8080, .workers = 3};
|
||||
@@ -14,7 +11,6 @@ int main() {
|
||||
|
||||
while ((status = http_server_run(&server)) == HTTP_SRS_RUNNING)
|
||||
;
|
||||
|
||||
printf("Status: %d\n", status);
|
||||
|
||||
http_server_stop(&server);
|
||||
|
||||
Reference in New Issue
Block a user