projects
/
freeradius.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7ef3917
)
Mark home server dead if it doesn't respond to pings
author
Alan T. DeKok
<aland@freeradius.org>
Tue, 6 Oct 2009 06:48:02 +0000
(08:48 +0200)
committer
Alan T. DeKok
<aland@freeradius.org>
Tue, 6 Oct 2009 06:48:02 +0000
(08:48 +0200)
src/main/event.c
patch
|
blob
|
history
diff --git
a/src/main/event.c
b/src/main/event.c
index
39ef8f2
..
139b918
100644
(file)
--- a/
src/main/event.c
+++ b/
src/main/event.c
@@
-113,6
+113,7
@@
static pthread_mutex_t fd_mutex;
static fr_packet_list_t *proxy_list = NULL;
static void remove_from_proxy_hash(REQUEST *request);
+static void check_for_zombie_home_server(REQUEST *request);
#else
#define remove_from_proxy_hash(foo)
#endif
@@
-688,6
+689,8
@@
static void no_response_to_ping(void *ctx)
buffer, sizeof(buffer)),
request->proxy->dst_port);
+ check_for_zombie_home_server(request);
+
wait_for_proxy_id_to_expire(request);
}