From d2bb9fdb68d570718b8781be22b39ec6fe6da176 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Milo=C5=A1=20Mula=C4=8D?= Date: Tue, 14 Mar 2006 16:02:10 +0000 Subject: [PATCH] buffer xml responces --- org.glite.jp.index/src/conf.c | 2 +- org.glite.jp.index/src/soap_ps_calls.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) 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)); -- 1.8.2.3