mirror of https://github.com/BOINC/boinc.git
- client: increase request msg buffer size for GUI RPCs
svn path=/trunk/boinc/; revision=23486
This commit is contained in:
parent
602f972292
commit
36ced0a5f4
|
@ -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
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue