From 29933916d94591fc9073e50030969dfcc490fb00 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Ale=C5=A1=20K=C5=99enek?= Date: Wed, 4 Jun 2008 20:14:20 +0000 Subject: [PATCH] keepalive --- org.glite.jp.primary/examples/jpps-test.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/org.glite.jp.primary/examples/jpps-test.c b/org.glite.jp.primary/examples/jpps-test.c index e79cefe..2928271 100644 --- a/org.glite.jp.primary/examples/jpps-test.c +++ b/org.glite.jp.primary/examples/jpps-test.c @@ -71,11 +71,11 @@ int main(int argc,char *argv[]) { char *server = NULL; int opt,ret = 0; - struct soap *soap = soap_new(); + struct soap *soap = soap_new2(SOAP_IO_KEEPALIVE,SOAP_IO_KEEPALIVE); if (argc < 2) usage(argv[0]); - soap_init(soap); +/* soap_init(soap); */ soap_set_namespaces(soap, jpps__namespaces); soap_register_plugin(soap,glite_gsplugin); @@ -257,7 +257,6 @@ int main(int argc,char *argv[]) in.__sizeattributes = 1; in.attributes = &argv[3]; - soap->omode |= SOAP_IO_KEEPALIVE; for (;rep;rep--) if (!(ret = check_fault(soap,soap_call___jpsrv__GetJobAttributes(soap,server,"",&in,&out)))) { int i; -- 1.8.2.3