summaryrefslogtreecommitdiff
path: root/config.toml.sample
diff options
context:
space:
mode:
Diffstat (limited to 'config.toml.sample')
-rw-r--r--config.toml.sample6
1 files changed, 5 insertions, 1 deletions
diff --git a/config.toml.sample b/config.toml.sample
index ca6313f..adcc44b 100644
--- a/config.toml.sample
+++ b/config.toml.sample
@@ -22,9 +22,13 @@ cert_key_dir = "certs" # avoid putting final '/'
# Setting the following to 'false' will not emit an error.
cert_key_dir_write_warning = true
# For each accepted connection a fork() is called. This toggles if that should happen or not.
-# For debugging or memory reasons, it may help to set this to false, though it may result in clients timing out if your server is busy serving a client.
+# For debugging or memory reasons, it may help to set this to false, though it may result in clients timing out # if your server is busy serving a client.
# Will cause 'timed-out' and 'sysread failed' to appear at the same time in log files.
fork = true
+# When the server accept()s the client needs to send, per the Gemini spec: '<URL><CR><LF>'
+# This timeout option determines how long the server will wait before timing them out.
+# 0 is equivalent to 'do not timeout'. Naughty bots/people sit there doing nothing but clogging the ports.
+timeout = 5
## These are not specific to default and can be used with vhost
## Vhost options will override default options