From: Stephen Seo Date: Tue, 10 Sep 2024 05:00:57 +0000 (+0900) Subject: Update README.md X-Git-Tag: 1.0~54 X-Git-Url: https://git.seodisparate.com/stephenseo/js/darkmode.js?a=commitdiff_plain;h=31fa6bdd0c64224c69d0f9955828b3b4499d4a68;p=c_simple_http Update README.md --- diff --git a/README.md b/README.md index 605f7ad..1e218c1 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,7 @@ A simple HTTP/1.1 server written in C. --req-header-to-print=
(can be used multiple times) For example: --req-header-to-print=User-Agent Note that this option is case-insensitive + --enable-reload-config-on-change ## Before Compiling @@ -43,3 +44,9 @@ Without this, the project will fail to build. # Access the website. # This assumes the server is hosted on port 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.