buffer gsoap response
authorMiloš Mulač <mulac@civ.zcu.cz>
Thu, 8 Dec 2005 14:01:50 +0000 (14:01 +0000)
committerMiloš Mulač <mulac@civ.zcu.cz>
Thu, 8 Dec 2005 14:01:50 +0000 (14:01 +0000)
- avoid to quick timeout exhaustion

org.glite.jp.index/src/bones_server.c

index 078546d..b71b4cd 100644 (file)
@@ -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;