|
|
@ -246,6 +246,7 @@ def https_server(client, args, unknown_args, url, clVarsCore, wait_thread):
|
|
|
|
from pid_information import client_pid_kill
|
|
|
|
from pid_information import client_pid_kill
|
|
|
|
return client_pid_kill(client, args.pid_kill)
|
|
|
|
return client_pid_kill(client, args.pid_kill)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
retCode = 0
|
|
|
|
if not args.method:
|
|
|
|
if not args.method:
|
|
|
|
wait_thread.stop()
|
|
|
|
wait_thread.stop()
|
|
|
|
client_list_methods(client)
|
|
|
|
client_list_methods(client)
|
|
|
@ -299,11 +300,12 @@ def https_server(client, args, unknown_args, url, clVarsCore, wait_thread):
|
|
|
|
pid = int(mess.message)
|
|
|
|
pid = int(mess.message)
|
|
|
|
except:
|
|
|
|
except:
|
|
|
|
return 1
|
|
|
|
return 1
|
|
|
|
|
|
|
|
retCode = \
|
|
|
|
|
|
|
|
1 if int(client.service.pid_info(client.sid,pid)[0][1]) else 0
|
|
|
|
client.service.clear_pid_cache(client.sid, pid)
|
|
|
|
client.service.clear_pid_cache(client.sid, pid)
|
|
|
|
client.service.clear_method_cache(client.sid, args.method)
|
|
|
|
client.service.clear_method_cache(client.sid, args.method)
|
|
|
|
wait_thread.stop()
|
|
|
|
wait_thread.stop()
|
|
|
|
return 0
|
|
|
|
return retCode
|
|
|
|
|
|
|
|
|
|
|
|
def main(wait_thread):
|
|
|
|
def main(wait_thread):
|
|
|
|
parser = parse()
|
|
|
|
parser = parse()
|
|
|
|