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:
eff4554
)
return error to srv_bones if soap call fails
author
Miloš Mulač
<mulac@civ.zcu.cz>
Wed, 15 Feb 2006 11:58:47 +0000
(11:58 +0000)
committer
Miloš Mulač
<mulac@civ.zcu.cz>
Wed, 15 Feb 2006 11:58:47 +0000
(11:58 +0000)
org.glite.jp.primary/src/bones_server.c
patch
|
blob
|
blame
|
history
diff --git
a/org.glite.jp.primary/src/bones_server.c
b/org.glite.jp.primary/src/bones_server.c
index
214e2f7
..
95436b0
100644
(file)
--- a/
org.glite.jp.primary/src/bones_server.c
+++ b/
org.glite.jp.primary/src/bones_server.c
@@
-346,14
+346,15
@@
static int request(int conn,struct timeval *to,void *data)
#endif
)
{
- soap_send_fault(soap);
+ soap_send_fault(soap); // sets soap->keep_alive back to 0 :(
+ // and closes connection
if (ctx->error) {
/* XXX: shall we die on some errors? */
int err = ctx->error->code;
glite_jp_clear_error(ctx);
return err;
}
- return
0;
+ return
ECANCELED; // let srv_bones know something is wrong
}
if (glite_jp_run_deferred(ctx)) {