From: Miloš Mulač Date: Thu, 8 Dec 2005 14:01:50 +0000 (+0000) Subject: buffer gsoap response X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=c7e6b1921100dcbbe929e74c3215f06daeb66b35;p=jra1mw.git buffer gsoap response - avoid to quick timeout exhaustion --- diff --git a/org.glite.jp.index/src/bones_server.c b/org.glite.jp.index/src/bones_server.c index 078546d..b71b4cd 100644 --- a/org.glite.jp.index/src/bones_server.c +++ b/org.glite.jp.index/src/bones_server.c @@ -254,6 +254,8 @@ int newconn(int conn,struct timeval *to,void *data) soap_init2(soap,SOAP_IO_KEEPALIVE,SOAP_IO_KEEPALIVE); + soap_set_omode(soap, SOAP_IO_BUFFER); // set buffered response + // buffer set to SOAP_BUFLEN (default = 8k) soap_set_namespaces(soap,jpis__namespaces); soap->user = (void *) private;