git://scientific.zcu.cz
/
jra1mw.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6e02710
)
Close proxy connection after each query.
author
Aleš Křenek
<ljocha@ics.muni.cz>
Thu, 4 Oct 2007 08:30:06 +0000
(08:30 +0000)
committer
Aleš Křenek
<ljocha@ics.muni.cz>
Thu, 4 Oct 2007 08:30:06 +0000
(08:30 +0000)
Poor but fast and probably sufficient fix for bug #25153
org.glite.lb.client/src/connection.c
patch
|
blob
|
blame
|
history
diff --git
a/org.glite.lb.client/src/connection.c
b/org.glite.lb.client/src/connection.c
index
35fb63c
..
300fb77
100644
(file)
--- 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);
}