From: Aleš Křenek Date: Thu, 4 Oct 2007 08:30:06 +0000 (+0000) Subject: Close proxy connection after each query. X-Git-Tag: glite-lb-client_R_3_1_0_1~5 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=d8b027e144a483b1c269e3b38acbface6c5f1f15;p=jra1mw.git Close proxy connection after each query. Poor but fast and probably sufficient fix for bug #25153 --- diff --git a/org.glite.lb.client/src/connection.c b/org.glite.lb.client/src/connection.c index 35fb63c..300fb77 100644 --- a/org.glite.lb.client/src/connection.c +++ b/org.glite.lb.client/src/connection.c @@ -491,6 +491,12 @@ int edg_wll_http_send_recv_proxy( || edg_wll_http_send_proxy(ctx,request,req_head,req_body) || edg_wll_http_recv_proxy(ctx,response,resp_head,resp_body)); } + + /* XXX: workaround for bug #25153, don't keep proxy connection at all + * May have slight performance impact, it would be nice to cover proxy + * connections in the pool too. + */ + edg_wll_close_proxy(ctx); return edg_wll_Error(ctx,NULL,NULL); }