Skip to content

Commit

Permalink
Client retransmits don't get sent to a virtual server.
Browse files Browse the repository at this point in the history
  • Loading branch information
alandekok committed Apr 23, 2014
1 parent b6c3987 commit b1cd0ef
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/main/process.c
Expand Up @@ -3097,8 +3097,17 @@ STATE_MACHINE_DECL(proxy_wait_for_reply)

switch (action) {
case FR_ACTION_DUP:
/*
* We have a reply, ignore the retransmit.
*/
if (request->proxy_reply) return;

/*
* The request was proxied to a virtual server.
* Ignore the retransmit.
*/
if (request->home_server->server) return;

if ((home->state == HOME_STATE_IS_DEAD) ||
!request->proxy_listener ||
(request->proxy_listener->status != RAD_LISTEN_STATUS_KNOWN)) {
Expand Down

0 comments on commit b1cd0ef

Please sign in to comment.