From c7e6b1921100dcbbe929e74c3215f06daeb66b35 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Milo=C5=A1=20Mula=C4=8D?= Date: Thu, 8 Dec 2005 14:01:50 +0000 Subject: [PATCH] buffer gsoap response - avoid to quick timeout exhaustion --- org.glite.jp.index/src/bones_server.c | 2 ++ 1 file changed, 2 insertions(+) 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; -- 1.8.2.3