(value of the STATUS field was first defined in system includes)
- setting timeout into gsoap plugin corrected
#include "stats.h"
#ifdef GLITE_LB_SERVER_WITH_WS
+# if GSOAP_VERSION < 20700
+ /* STATUS - defined in <arpa/nameser.h> and it's includes
+ * brake the build
+ */
+# undef STATUS
+# endif
#include "LoggingAndBookkeeping.nsmap"
#endif /* GLITE_LB_SERVER_WITH_WS */
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;