From 4a5c418b43ba5c5d7de06102c77ce59487ab2965 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Fri, 29 Apr 2011 23:47:41 +0000 Subject: [PATCH] - GUI RPC client library: increase request buffer size from 4KB to 100B svn path=/trunk/boinc/; revision=23484 --- checkin_notes | 7 +++++++ lib/gui_rpc_client.cpp | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/checkin_notes b/checkin_notes index cc91224787..9b30f638cd 100644 --- a/checkin_notes +++ b/checkin_notes @@ -2698,3 +2698,10 @@ Rom 29 Apr 2011 samples/vboxwrapper/ vbox.cpp, .h + +David 29 Apr 2011 + - GUI RPC client library: increase request buffer size + from 4KB to 100B + + lib/ + gui_rpc_client.cpp diff --git a/lib/gui_rpc_client.cpp b/lib/gui_rpc_client.cpp index 4126573d33..6abdb15239 100644 --- a/lib/gui_rpc_client.cpp +++ b/lib/gui_rpc_client.cpp @@ -269,7 +269,7 @@ int RPC_CLIENT::authorize(const char* passwd) { } int RPC_CLIENT::send_request(const char* p) { - char buf[4096]; + char buf[100000]; sprintf(buf, "\n" "%s"