From c1e8efbbf7b92a607b439637a77935301c943079 Mon Sep 17 00:00:00 2001 From: stephan Date: Sat, 8 Jan 2022 15:01:44 +0000 Subject: [PATCH] Minor doc/comment updates. --- .editorconfig | 6 ++---- althttpd.c | 2 +- althttpd.md | 5 +++-- 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/.editorconfig b/.editorconfig index 933a006..1d0fb1f 100644 --- a/.editorconfig +++ b/.editorconfig @@ -1,7 +1,5 @@ -# EditorConfig (https://editorconfig.com) Configuration for Fossil -# and, by extension, libfossil. -# -# Following https://fossil-scm.org/fossil/doc/trunk/www/style.wiki +# EditorConfig (https://editorconfig.com) configuration suitable for +# "drh projects": fossil, althttpd, and their kin. # Defaults for all files [*] diff --git a/althttpd.c b/althttpd.c index 6eef276..e4e32a7 100644 --- a/althttpd.c +++ b/althttpd.c @@ -1673,7 +1673,7 @@ static size_t althttpd_fwrite(void const *src, size_t sz, size_t nmemb, FILE *ou } /* -** In non-builtin-TLS mode, fflush()ed the given FILE handle, else +** In non-builtin-TLS mode, fflush()es the given FILE handle, else ** this is a no-op. */ static void althttpd_fflush(FILE *f){ diff --git a/althttpd.md b/althttpd.md index cae9000..9974afa 100644 --- a/althttpd.md +++ b/althttpd.md @@ -48,8 +48,9 @@ For serving TLS connections there are two options: 1. althttpd can be built with the `ENABLE_TLS` macro defined and linked to `-lssl -lcrypto`, then started with the `-tls 1` or `-tls-cert-file` flags. -2. althttpd can be started with the `-https 1` flag and started via an -external connection service such as stunnel4. +2. althttpd can be started via an external connection service such as +stunnel4, passing the `-https 1` flag to althttpd to tell it that it is +"indirectly" operating in HTTPS mode via that service. Source Code