make 'no proxy for host' available over boinccmd

svn path=/workspaces/fweiler/boinc/; revision=16065
This commit is contained in:
Frank Weiler 2008-09-26 08:08:22 +00:00
parent 5c30ea7209
commit 2d0046d752
2 changed files with 16 additions and 1 deletions

View File

@ -365,6 +365,9 @@ int main(int argc, char** argv) {
pi.socks_version = atoi(next_arg(argc, argv, i));
pi.socks5_user_name = next_arg(argc, argv, i);
pi.socks5_user_passwd = next_arg(argc, argv, i);
//FW
pi.noproxy_hosts = next_arg(argc,argv,i);
//FW
retval = rpc.set_proxy_settings(pi);
} else if (!strcmp(cmd, "--get_messages")) {
int seqno = atoi(next_arg(argc, argv, i));

View File

@ -151,7 +151,19 @@ void MESSAGE::print() {
);
}
void GR_PROXY_INFO::print() { // anyone need this?
void GR_PROXY_INFO::print() { // anyone need this? yes, boinc_cmd uses this
//FW
printf("HTTP server name: %s\n",this->http_server_name.c_str());
printf("HTTP server port: %d\n",this->http_server_port);
printf("HTTP user name: %s\n",this->http_user_name.c_str());
//printf("HTTP user password: %s\n",this->http_user_passwd.c_str());
printf("SOCKS server name: %s\n",this->socks_server_name.c_str());
printf("SOCKS server port: %d\n",this->socks_server_port);
printf("SOCKS version: %d\n",this->socks_version);
printf("SOCKS5 user name: %s\n",this->socks5_user_name.c_str());
//printf("SOCKS5 user password: %s\n",this->socks5_user_passwd.c_str());
printf("no proxy hosts: %s\n",this->noproxy_hosts.c_str());
//FW
}
void HOST_INFO::print() {