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:
b57975e
)
don't hang when a non-fatal error occurs serving the first request
author
Aleš Křenek
<ljocha@ics.muni.cz>
Mon, 25 Apr 2005 15:21:02 +0000
(15:21 +0000)
committer
Aleš Křenek
<ljocha@ics.muni.cz>
Mon, 25 Apr 2005 15:21:02 +0000
(15:21 +0000)
org.glite.lb.server-bones/src/srvbones.c
patch
|
blob
|
blame
|
history
diff --git
a/org.glite.lb.server-bones/src/srvbones.c
b/org.glite.lb.server-bones/src/srvbones.c
index
bb58a53
..
12f748e
100644
(file)
--- a/
org.glite.lb.server-bones/src/srvbones.c
+++ b/
org.glite.lb.server-bones/src/srvbones.c
@@
-382,6
+382,7
@@
static int slave(slave_data_init_hnd data_init_hnd, int sock)
kick_client = 3;
} else {
+ first_request = 0;
to = set_request_to;
if ((rv = services[srv].on_request_hnd(conn,to.tv_sec>=0 ? &to : NULL,clnt_data)) == ENOTCONN) {
if (services[srv].on_disconnect_hnd
@@
-416,7
+417,6
@@
static int slave(slave_data_init_hnd data_init_hnd, int sock)
gettimeofday(&client_done, NULL);
}
- first_request = 0;
continue;
}