From 31fa6bdd0c64224c69d0f9955828b3b4499d4a68 Mon Sep 17 00:00:00 2001 From: Stephen Seo Date: Tue, 10 Sep 2024 14:00:57 +0900 Subject: [PATCH] Update README.md --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) 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.