From d8b027e144a483b1c269e3b38acbface6c5f1f15 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Ale=C5=A1=20K=C5=99enek?= Date: Thu, 4 Oct 2007 08:30:06 +0000 Subject: [PATCH] Close proxy connection after each query. Poor but fast and probably sufficient fix for bug #25153 --- org.glite.lb.client/src/connection.c | 6 ++++++ 1 file changed, 6 insertions(+) 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); } -- 1.8.2.3