diff options
author | Badlop <badlop@process-one.net> | 2020-01-24 12:32:09 +0100 |
---|---|---|
committer | Badlop <badlop@process-one.net> | 2020-04-02 12:56:31 +0200 |
commit | 4e51e82ccfaf85880f0991883f08479b1b1a46e6 (patch) | |
tree | bbd4394ea42d35c8613efea8e182e2e823a88d13 | |
parent | add missing mod_mam options (diff) |
Add three missing mod_bosh options
-rw-r--r-- | src/mod_bosh.erl | 19 |
1 files changed, 19 insertions, 0 deletions
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 => |