From 4e51e82ccfaf85880f0991883f08479b1b1a46e6 Mon Sep 17 00:00:00 2001 From: Badlop Date: Fri, 24 Jan 2020 12:32:09 +0100 Subject: [PATCH] Add three missing mod_bosh options --- src/mod_bosh.erl | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/src/mod_bosh.erl b/src/mod_bosh.erl index 28750f893..f4a717b29 100644 --- a/src/mod_bosh.erl +++ b/src/mod_bosh.erl @@ -213,11 +213,30 @@ mod_doc() -> [{json, #{value => "true | false", desc => ?T("This option has no effect.")}}, + {max_concat, + #{value => "pos_integer() | infinity", + desc => + ?T("This option limits the number of stanzas that the server " + "will send in a single bosh request. " + "The default value is 'unlimited'.")}}, {max_inactivity, #{value => "timeout()", desc => ?T("The option defines the maximum inactivity period. " "The default value is '30' seconds.")}}, + {max_pause, + #{value => "pos_integer()", + desc => + ?T("Indicate the maximum length of a temporary session pause " + "(in seconds) that a client can request. " + "The default value is '120'.")}}, + {prebind, + #{value => "true | false", + desc => + ?T("If enabled, the client can create the session without " + "going through authentication. Basically, it creates a " + "new session with anonymous authentication. " + "The default value is 'false'.")}}, {queue_type, #{value => "ram | file", desc =>