parent
9410e7eca9
commit
15c2b53bcb
|
@ -108,6 +108,8 @@ int main(int argc, char **argv)
|
||||||
|
|
||||||
uh_log_info("libuhttpd version: %s\n", UHTTPD_VERSION_STRING);
|
uh_log_info("libuhttpd version: %s\n", UHTTPD_VERSION_STRING);
|
||||||
|
|
||||||
|
signal(SIGPIPE, SIG_IGN);
|
||||||
|
|
||||||
srv = uh_server_new(loop, "0.0.0.0", port);
|
srv = uh_server_new(loop, "0.0.0.0", port);
|
||||||
if (!srv)
|
if (!srv)
|
||||||
return -1;
|
return -1;
|
||||||
|
|
Loading…
Reference in New Issue