Skip to content

Commit

Permalink
Minor doc/comment updates.
Browse files Browse the repository at this point in the history
  • Loading branch information
stephan committed Jan 8, 2022
1 parent 574c167 commit c1e8efb
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
6 changes: 2 additions & 4 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -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
[*]
Expand Down
2 changes: 1 addition & 1 deletion althttpd.c
Original file line number Diff line number Diff line change
Expand Up @@ -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){
Expand Down
5 changes: 3 additions & 2 deletions althttpd.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c1e8efb

Please sign in to comment.