Orion Poplawski df1ea4
commit 79c2f5a67d950a99948921fcc2a28b81856de3cc
Orion Poplawski df1ea4
Author: Orion Poplawski <orion@cora.nwra.com>
Orion Poplawski df1ea4
Date:   Fri Sep 30 15:37:24 2016 -0600
Orion Poplawski df1ea4
Orion Poplawski df1ea4
    Increate receiving buffer to 4096 bytes
Orion Poplawski df1ea4
    
Orion Poplawski df1ea4
    https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=357507
Orion Poplawski df1ea4
    https://bugzilla.redhat.com/show_bug.cgi?id=537264
Orion Poplawski df1ea4
Orion Poplawski df1ea4
diff --git a/Xlib/protocol/display.py b/Xlib/protocol/display.py
Orion Poplawski df1ea4
index 566c044..916269f 100644
Orion Poplawski df1ea4
--- a/Xlib/protocol/display.py
Orion Poplawski df1ea4
+++ b/Xlib/protocol/display.py
Orion Poplawski df1ea4
@@ -562,7 +562,7 @@ class Display(object):
8f7eec
                 # We're the recieving thread, parse the data
8f7eec
                 if recieving:
8f7eec
                     try:
8f7eec
-                        bytes_recv = self.socket.recv(2048)
8f7eec
+                        bytes_recv = self.socket.recv(4096)
Orion Poplawski df1ea4
                     except socket.error as err:
8f7eec
                         self.close_internal('server: %s' % err[1])
8f7eec
                         raise self.socket_error