diff options
author | Matthew Wild <mwild1@gmail.com> | 2018-09-13 16:35:48 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2018-09-13 16:35:48 +0100 |
commit | 27d8902b8e38dd459f0b69dc9f17ebf6ad3e2059 (patch) | |
tree | b0c749993e031bfa71f9cb2b0b672b83c20bd985 /tools | |
parent | c3ba0cd3c5865294540fb559400941fa9c729eaa (diff) | |
download | prosody-27d8902b8e38dd459f0b69dc9f17ebf6ad3e2059.tar.gz prosody-27d8902b8e38dd459f0b69dc9f17ebf6ad3e2059.zip |
util.stanza: Don't automatically generate ids for iq stanzas
Users of this API should provide their own id attribute that meets their
uniqueness requirements.
The current implementation leaks information (i.e. how many iq stanzas
have been sent by the server to other JIDs). Providing any strong
guarantees of randomness here would need to pull in additional
dependencies that we don't want in this simple library.
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions