diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2015-04-15 12:41:23 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2015-04-15 12:41:23 +0200 |
commit | 9547a28faa9b4a9df02bea3cd55b011d615532e9 (patch) | |
tree | 8a51a34b718db91fd726bbaf1c0c8285e42af949 /nxcomp/WriteBuffer.h | |
parent | 6236266d4e18d4d264fab94643f9473ec3458e47 (diff) | |
download | nx-libs-feature/nxcomp-bigreq-support.tar.gz nx-libs-feature/nxcomp-bigreq-support.tar.bz2 nx-libs-feature/nxcomp-bigreq-support.zip |
Add BIGREQUEST extension support to nxproxy/nxcomp.feature/nxcomp-bigreq-support
This work has been started by Paul Szarbo but has been discontinued
before final completion. So, this is work in progress.
For reference / communication history, see [1].
[1] https://bugs.debian.org/766299
Diffstat (limited to 'nxcomp/WriteBuffer.h')
-rw-r--r-- | nxcomp/WriteBuffer.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/nxcomp/WriteBuffer.h b/nxcomp/WriteBuffer.h index 4673cecee..55b1098e4 100644 --- a/nxcomp/WriteBuffer.h +++ b/nxcomp/WriteBuffer.h @@ -32,8 +32,14 @@ // This is likely to be a reply to a X_ListFonts where // user has a large amount of installed fonts. // +// Used also for messages sent, and should accommodate any BIG-REQUESTS. +// Value was 4MB = 4194304, changed to 100MB = 104857600. +// See also sanity check limits (set same, to 100*1024*1024) in +// ClientReadBuffer.cpp ServerReadBuffer.cpp and ClientChannel.cpp, and +// ENCODE_BUFFER_OVERFLOW_SIZE DECODE_BUFFER_OVERFLOW_SIZE elsewhere. +// -#define WRITE_BUFFER_OVERFLOW_SIZE 4194304 +#define WRITE_BUFFER_OVERFLOW_SIZE 100*1024*1024 class WriteBuffer { |