From: Miloš Mulač Date: Tue, 14 Mar 2006 16:02:10 +0000 (+0000) Subject: buffer xml responces X-Git-Tag: merge_for_3_1_after~15 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=d2bb9fdb68d570718b8781be22b39ec6fe6da176;p=jra1mw.git buffer xml responces --- diff --git a/org.glite.jp.index/src/conf.c b/org.glite.jp.index/src/conf.c index cf38f18..502da22 100644 --- a/org.glite.jp.index/src/conf.c +++ b/org.glite.jp.index/src/conf.c @@ -96,7 +96,7 @@ int glite_jp_get_conf(int argc, char **argv, char *config_file, glite_jp_is_conf // prefixes & attributes defined in: // lb.server/build/jp_job_attrs.h (created when build plugin) - // jp.common/interfaces/known_attr.h + // jp.common/interface/known_attr.h conf->attrs = calloc(19, sizeof(*conf->attrs)); conf->attrs[0] = strdup("http://egee.cesnet.cz/en/Schema/JP/System:owner"); diff --git a/org.glite.jp.index/src/soap_ps_calls.c b/org.glite.jp.index/src/soap_ps_calls.c index 874b8b0..41ae0be 100644 --- a/org.glite.jp.index/src/soap_ps_calls.c +++ b/org.glite.jp.index/src/soap_ps_calls.c @@ -144,6 +144,8 @@ lprintf("MyFeedIndex for %s called\n", dest); soap_init(soap); soap_set_namespaces(soap,jpps__namespaces); + soap_set_omode(soap, SOAP_IO_BUFFER); // set buffered response + // buffer set to SOAP_BUFLEN (default = 8k) soap_register_plugin_arg(soap,glite_gsplugin,plugin_ctx); memset(&in, 0, sizeof(in));