From 17a9b642d899cc9a8d045cc4a262889d2abb21d1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Ji=C5=99=C3=AD=20=C5=A0kr=C3=A1bal?= Date: Fri, 4 Mar 2005 12:18:31 +0000 Subject: [PATCH] - fix buildings problems with gSOAP v < 2.7 (value of the STATUS field was first defined in system includes) - setting timeout into gsoap plugin corrected --- org.glite.lb.server/src/bkserverd.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/org.glite.lb.server/src/bkserverd.c b/org.glite.lb.server/src/bkserverd.c index 3ccd051..a6774b2 100644 --- a/org.glite.lb.server/src/bkserverd.c +++ b/org.glite.lb.server/src/bkserverd.c @@ -51,6 +51,12 @@ int soap_serve(struct soap*); #include "stats.h" #ifdef GLITE_LB_SERVER_WITH_WS +# if GSOAP_VERSION < 20700 + /* STATUS - defined in and it's includes + * brake the build + */ +# undef STATUS +# endif #include "LoggingAndBookkeeping.nsmap" #endif /* GLITE_LB_SERVER_WITH_WS */ @@ -897,7 +903,7 @@ int bk_handle_ws_connection(int conn, struct timeval client_start, void *data) goto err; } gsplugin_ctx->connection = &cdata->ctx->connPool[cdata->ctx->connToUse].gss; - gsplugin_ctx->timeout = cdata->ctx->p_tmp_timeout; + glite_gsplugin_set_timeout(gsplugin_ctx, &cdata->ctx->p_tmp_timeout); gsplugin_ctx->cred = mycred; cdata->soap = soap; -- 1.8.2.3