Mercurial > libervia-backend
view docker/backend-dev-demo/libervia.conf @ 3914:4cb38c8312a1
plugin XEP-0384, xml_tools: avoid `getItems` timeout + fix empty node crash + parsing:
- use `max_items` in `getItems` calls for bundles, as otherwise some pubsub service may
return full nodes, which may be huge is `max_items=1` is not set on the node, possibly
resulting in timeouts.
- the plugin was crashing when TWOMEMO devices list node has no items at all. This is not
the case anymore.
- a naive parsing method has been implemented in `xml_tools` to replace the
serialisation/deserialisation method. This should be more efficient and will avoid
annoying `ns0:` prefixes in XML logs.
author | Goffi <goffi@goffi.org> |
---|---|
date | Sat, 24 Sep 2022 16:37:46 +0200 |
parents | d5fd630b57bb |
children | 22cd3094cd1e |
line wrap: on
line source
[DEFAULT] xmpp_domain = server1.test email_server = libervia-backend.test email_port = 8025 email_admins_list = admin@server1.test [component file-sharing] http_upload_public_facing_url = http://localhost:7777 http_upload_connection_type = http http_upload_port = 7777