version 1.13.2.1, 2013/05/26 20:24:52
|
version 1.15.4.1, 2013/08/21 15:28:15
|
Line 151 rpcServerShutdown(rpc_cli_t *cli, struct tagRPCCall *r
|
Line 151 rpcServerShutdown(rpc_cli_t *cli, struct tagRPCCall *r
|
rpc_freeCli(cli); |
rpc_freeCli(cli); |
|
|
srv->srv_kill = 1; |
srv->srv_kill = 1; |
|
if (srv->srv_blob.tid) |
|
pthread_kill(srv->srv_blob.tid, SIGFBLOB); |
return 0; |
return 0; |
} |
} |
|
|
Line 158 static int
|
Line 160 static int
|
rpcServerPing(rpc_cli_t *cli, struct tagRPCCall *rpc, array_t *iv) |
rpcServerPing(rpc_cli_t *cli, struct tagRPCCall *rpc, array_t *iv) |
{ |
{ |
if (rpc->call_req.flags == RPC_REPLY) |
if (rpc->call_req.flags == RPC_REPLY) |
AIT_SET_U16(ait_getVars(&RPC_RETVARS(cli), 0), ntohs(rpc->call_seq)); | AIT_SET_U16(ait_getVars(&RPC_RETVARS(cli), 0), RPC_PINGDATA); |
return 0; |
return 0; |
} |
} |
|
|