aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar JustAnotherArchivist2021-12-07 10:00:09 +0000
committerGravatar JustAnotherArchivist2021-12-07 10:00:09 +0000
commit9c90ee443d0ce64911238aa40c592a5f1f216d8c (patch)
tree12cb4d1db237f6fe42348d9bf9d39c4e1c10a9ab
parentAdd configurable request size limit (diff)
signature
Revert "Only rebind web server on host/port changes"
This was a todo item from irclog, which has an extra value in config['web'] whose changes do not require a rebind. This reverts commit 69e9daddec5b9488eec3eb8ca0597e727e28e42f.
-rw-r--r--http2irc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/http2irc.py b/http2irc.py
index 82975a1..1f7d4ea 100644
--- a/http2irc.py
+++ b/http2irc.py
@@ -990,7 +990,7 @@ class WebServer:
map_['moduleargs'],
map_['overlongmode']
) for map_ in config['maps'].values()}
- needRebind = (self.config['web']['host'], self.config['web']['port']) != (config['web']['host'], config['web']['port'])
+ needRebind = self.config['web'] != config['web']
self.config = config
if needRebind:
self._configChanged.set()