From: Aleš Křenek Date: Mon, 25 Apr 2005 15:21:02 +0000 (+0000) Subject: don't hang when a non-fatal error occurs serving the first request X-Git-Tag: glite-security-gsoap-plugin_R_1_1_0~24 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=8d995be687a9855aecdd634895dc0d62bcd3909c;p=jra1mw.git don't hang when a non-fatal error occurs serving the first request --- diff --git a/org.glite.lb.server-bones/src/srvbones.c b/org.glite.lb.server-bones/src/srvbones.c index bb58a53..12f748e 100644 --- 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; }