diff --git a/checkin_notes b/checkin_notes index ba4bccd80f..e29b358863 100644 --- a/checkin_notes +++ b/checkin_notes @@ -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 diff --git a/client/gui_rpc_server.h b/client/gui_rpc_server.h index 1a8734af97..6642533f22 100644 --- a/client/gui_rpc_server.h +++ b/client/gui_rpc_server.h @@ -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: diff --git a/client/gui_rpc_server_ops.cpp b/client/gui_rpc_server_ops.cpp index 728113b017..12e4fd6241 100644 --- a/client/gui_rpc_server_ops.cpp +++ b/client/gui_rpc_server_ops.cpp @@ -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;