summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorClément Lassieur <clement@lassieur.org>2017-10-28 01:33:57 +0200
committerClément Lassieur <clement@lassieur.org>2017-11-26 15:30:57 +0100
commit1f6f1a07c84c6a0c69803c8e9703237ace7abf77 (patch)
tree85062b0188aca413675776ef097432f5da289ed7 /gnu
parentf59de6bea9a2fc83df492eafbfb7f8bfc5148939 (diff)
services: prosody: Add support for http-max-content-size.
* doc/guix.texi (Messaging Services): Update accordingly. * gnu/services/messaging.scm (prosody-configuration)[http-max-content-size]: New field.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/services/messaging.scm5
1 files changed, 5 insertions, 0 deletions
diff --git a/gnu/services/messaging.scm b/gnu/services/messaging.scm
index 5a7b19605b..f348ca1a38 100644
--- a/gnu/services/messaging.scm
+++ b/gnu/services/messaging.scm
@@ -436,6 +436,11 @@ by the GuixSD Prosody Service. See @url{http://prosody.im/doc/logging}."
"File to write pid in. See @url{http://prosody.im/doc/modules/mod_posix}."
global)
+ (http-max-content-size
+ (maybe-non-negative-integer 'disabled)
+ "Maximum allowed size of the HTTP body (in bytes)."
+ common)
+
(http-external-url
(maybe-string 'disabled)
"Some modules expose their own URL in various ways. This URL is built