- client: increase request msg buffer size for GUI RPCs

svn path=/trunk/boinc/; revision=23486
This commit is contained in:
David Anderson 2011-04-30 04:57:59 +00:00
parent 602f972292
commit 36ced0a5f4
3 changed files with 9 additions and 3 deletions

View File

@ -2713,3 +2713,9 @@ Rom 29 Apr 2011
samples/vboxwrapper/
vbox.cpp, .h
vm.cpp, .h
David 29 Apr 2011
- client: increase request msg buffer size for GUI RPCs
client/
gui_rpc_client_ops.cpp
gui_rpc_client.cpp

View File

@ -37,7 +37,7 @@
#define AU_MGR_QUIT_REQ 2
#define AU_MGR_QUIT_SENT 3
#define GUI_RPC_REQ_MSG_SIZE 4096
#define GUI_RPC_REQ_MSG_SIZE 100000
class GUI_RPC_CONN {
public:

View File

@ -1010,9 +1010,9 @@ int GUI_RPC_CONN::handle_rpc() {
int left = GUI_RPC_REQ_MSG_SIZE - request_nbytes;
#ifdef _WIN32
n = recv(sock, request_msg+request_nbytes, left, 0);
n = recv(sock, request_msg+request_nbytes, left, 0);
#else
n = read(sock, request_msg+request_nbytes, left);
n = read(sock, request_msg+request_nbytes, left);
#endif
if (n <= 0) {
request_nbytes = 0;