xpra icon
Bug tracker and wiki

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


Changes between Initial Version and Version 1 of Ticket #156


Ignore:
Timestamp:
07/02/12 07:33:45 (9 years ago)
Author:
Antoine Martin
Comment:

Thanks very much for the detailed bug report!

This bug was introduced by r784 (see #68): we set a maximum packet size for client packets, and your clipboard packet is bigger than that... (something I never tested)

The fix in r994 is to increase the maximum client packet size to 1MB and to force zlib compression on those clipboard packets. I am unsure whether it makes sense to allow anything bigger than 1MB as clipboard contents over the network... I guess that if we do not, what we should do is drop the clipboard contents rather than the connection! (so keeping this ticket open for now)

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #156

    • Property Status changed from new to accepted
    • Property Summary changed from Crashes when pasting chunk of html to large clipboard packets cause the connection to drop
  • Ticket #156 – Description

    initial v1  
    11I cut-n-paste a page of html from firefox running locally to evolution running over xpra, it consistently crashes the xpra client:
    22
    3 
     3{{{
    44Attached (press Control-C to detach)
    55Exception in thread Thread-1:
     
    3232
    3333Connection lost
     34}}}
    3435
     36
     37----
    3538
    3639On the server log it says:
    3740
    38 
     41{{{
    3942connection lost: read buffer too big: 40960 (maximum is 32768), dropping this connection!
    4043Connection lost
    4144xpra client disconnected.
     45}}}
    4246
    4347I am running r990 both ends.