Blob Blame Raw
commit 79c2f5a67d950a99948921fcc2a28b81856de3cc
Author: Orion Poplawski <orion@cora.nwra.com>
Date:   Fri Sep 30 15:37:24 2016 -0600

    Increate receiving buffer to 4096 bytes
    
    https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=357507
    https://bugzilla.redhat.com/show_bug.cgi?id=537264

diff --git a/Xlib/protocol/display.py b/Xlib/protocol/display.py
index 566c044..916269f 100644
--- a/Xlib/protocol/display.py
+++ b/Xlib/protocol/display.py
@@ -562,7 +562,7 @@ class Display(object):
                 # We're the recieving thread, parse the data
                 if recieving:
                     try:
-                        bytes_recv = self.socket.recv(2048)
+                        bytes_recv = self.socket.recv(4096)
                     except socket.error as err:
                         self.close_internal('server: %s' % err[1])
                         raise self.socket_error