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:
d8b027e
)
keep error over closing proxy connection
author
Aleš Křenek
<ljocha@ics.muni.cz>
Thu, 4 Oct 2007 08:41:59 +0000
(08:41 +0000)
committer
Aleš Křenek
<ljocha@ics.muni.cz>
Thu, 4 Oct 2007 08:41:59 +0000
(08:41 +0000)
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
300fb77
..
da587cd
100644
(file)
--- a/
org.glite.lb.client/src/connection.c
+++ b/
org.glite.lb.client/src/connection.c
@@
-472,6
+472,9
@@
int edg_wll_http_send_recv_proxy(
char ***resp_head,
char **resp_body)
{
+ int err;
+ char *et = NULL;
+
if (edg_wll_open_proxy(ctx)) return edg_wll_Error(ctx,NULL,NULL);
switch (edg_wll_http_send_proxy(ctx,request,req_head,req_body)) {
@@
-496,7
+499,13
@@
int edg_wll_http_send_recv_proxy(
* May have slight performance impact, it would be nice to cover proxy
* connections in the pool too.
*/
+
+ err = edg_wll_Error(ctx,NULL,&et);
edg_wll_close_proxy(ctx);
+ if (err) {
+ edg_wll_SetError(ctx,err,et);
+ free(et);
+ }
return edg_wll_Error(ctx,NULL,NULL);
}