jeanparpaillon / erlang-dbus

Erlang DBUS implementation (forked from unmaintained erlang-dbus)
Apache License 2.0
51 stars 22 forks source link

Fix reception of large responses coming in pieces #32

Closed wrachwal closed 4 years ago

wrachwal commented 4 years ago

Bug encountered when receiving ~139kB size introspection XML data from Pidgin.

Introspecting: "im.pidgin.purple.PurpleService":"/im/pidgin/purple/PurpleObject"

17:55:54.188 [info]  Bad message header: "ection='in'/>\n      <arg name='msg' type='s' direction='in'/>\n (...)"

To reproduce, type in (Elixir):

{:ok, bus} = :dbus_bus_connection.connect(:session)
{:ok, purple} = :dbus_proxy.start_link(bus, "im.pidgin.purple.PurpleService", "/im/pidgin/purple/PurpleObject")