xpra icon
Bug tracker and wiki

This bug tracker and wiki are being discontinued
please use https://github.com/Xpra-org/xpra instead.


Ticket #2160: protocol-memoryview-merge.patch

File protocol-memoryview-merge.patch, 594 bytes (added by Antoine Martin, 3 years ago)

patch for trunk

  • src/xpra/net/protocol.py

     
    900900                else:
    901901                    #we need to aggregate chunks,
    902902                    #just concatenate them all:
    903                     data = b"".join(read_buffers)
     903                    data = b"".join(memoryview_to_bytes(rb) for rb in read_buffers)
    904904                    if bl==payload_size:
    905905                        #nothing left:
    906906                        read_buffers = []