diff options
author | Maria Matejka <mq@jmq.cz> | 2021-11-23 12:06:27 +0000 |
---|---|---|
committer | Maria Matejka <mq@jmq.cz> | 2021-11-23 12:06:27 +0000 |
commit | 5395880908fdb264b5b78ccc455dced49eb29915 (patch) | |
tree | 5cfece0f526f859f49c409eaa14c653b4860c7c5 /nest/proto.c | |
parent | 821344c781a99a4f559949a7497617b64c061c82 (diff) |
Fixed pipe reload/refeed
Diffstat (limited to 'nest/proto.c')
-rw-r--r-- | nest/proto.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/nest/proto.c b/nest/proto.c index 7a09ed64..2d30e640 100644 --- a/nest/proto.c +++ b/nest/proto.c @@ -589,6 +589,10 @@ channel_export_stopped(struct rt_export_request *req) { c->refeeding = 1; c->refeed_pending = 0; + + bmap_reset(&c->export_map, 1024); + bmap_reset(&c->export_reject_map, 1024); + rt_request_export(c->table, req); return; } @@ -621,6 +625,7 @@ channel_feed_end(struct channel *c) (l->count <= l->max)) { log(L_INFO "Protocol %s resets route export limit (%u)", c->proto->name, l->max); + channel_reset_limit(c, &c->out_limit, PLD_OUT); c->refeed_pending = 1; rt_stop_export(req, channel_export_stopped); |