mirror of
https://github.com/servalproject/serval-dna.git
synced 2024-12-20 05:37:57 +00:00
fix http->mdp rhizome fetch failover regression.
This commit is contained in:
parent
9b09021605
commit
53ce40a053
@ -1531,8 +1531,8 @@ void rhizome_fetch_poll(struct sched_ent *alarm)
|
||||
// timeout or socket error, close the socket
|
||||
if (config.debug.rhizome_rx)
|
||||
DEBUGF("Closing due to timeout or error %x (%x %x)", alarm->poll.revents, POLLHUP, POLLERR);
|
||||
if (slot->state!=RHIZOME_FETCH_FREE)
|
||||
rhizome_fetch_close(slot);
|
||||
if (slot->state!=RHIZOME_FETCH_FREE&&slot->state!=RHIZOME_FETCH_RXFILEMDP)
|
||||
rhizome_fetch_switch_to_mdp(slot);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user