Xpra: Ticket #499: old servers error out with 0.11.x clients

The problem comes from the newer bencoders, which do not send dictionary keys in a specific order (pointless since python will immediately stick them in a dict which loses the order), solutions:

The error shows up in the server log as:

Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/xpra/protocol.py", line 575, in do_read_parse_thread_loop
  File "/usr/lib64/python2.7/site-packages/xpra/bencode.py", line 72, in bdecode
  File "/usr/lib64/python2.7/site-packages/xpra/bencode.py", line 45, in decode_list
  File "/usr/lib64/python2.7/site-packages/xpra/bencode.py", line 55, in decode_dict
connection lost: gibberish received: 'l5:hellod16:...

Tue, 21 Jan 2014 10:58:41 GMT - Antoine Martin: attachment set

this fixes the old servers

Tue, 21 Jan 2014 11:04:19 GMT - Antoine Martin: status changed; resolution set

r5236 restores compatibility with old servers, backport for v0.11.x branch in r5239

Note: if you've come here because you are seeing this error, this means you are using an old, buggy and unsupported server...

Tue, 21 Jan 2014 11:07:16 GMT - Antoine Martin: description changed

Sat, 23 Jan 2021 04:57:28 GMT - migration script:

this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/499