u413-284-si / webserv

This project is about setting up a http web server, providing a static website.
MIT License
0 stars 0 forks source link

Signal handling #26

Closed gwolf-011235 closed 1 week ago

gwolf-011235 commented 2 months ago

signal() is in the allowed functions so it seems to be expected that we handle signals.

The main signal would be SIGINT for server shutdown. This could be used to shutdown the server gracefully.

Possible implementation