Update README.md
All checks were successful
Run Unit Tests / build-and-run-unit-tests (push) Successful in 10s

This commit is contained in:
Stephen Seo 2024-09-10 14:00:57 +09:00
parent bf7bfe5c86
commit 31fa6bdd0c

View file

@ -11,6 +11,7 @@ A simple HTTP/1.1 server written in C.
--req-header-to-print=<header> (can be used multiple times) --req-header-to-print=<header> (can be used multiple times)
For example: --req-header-to-print=User-Agent For example: --req-header-to-print=User-Agent
Note that this option is case-insensitive Note that this option is case-insensitive
--enable-reload-config-on-change
## Before Compiling ## Before Compiling
@ -43,3 +44,9 @@ Without this, the project will fail to build.
# Access the website. # Access the website.
# This assumes the server is hosted on port 3000. # This assumes the server is hosted on port 3000.
curl localhost:3000 curl localhost:3000
## Other Notes
The config file can be reloaded if the program receives the SIGUSR1 signal.
The `--enable-reload-config-on-change` option automatically reloads the config
file if the config file has changed.