Repository navigation
Commit 6d861d4
rtpengine: fail the call when rtpengine replies with an error
Since the failover change (3d0959a), an error reply that is not a
failover error breaks out of the retry loop and is returned as a
success. So rtpengine_delete(), the recording, block, forward and
unsubscribe functions return true when rtpengine refused them, and
error_pv is never set for such errors.
Go to the error path instead, as before that change and as the async
path does.
(cherry picked from commit 9aa23bf)1 parent fbca97a commit 6d861d4
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2967 | 2967 | | |
2968 | 2968 | | |
2969 | 2969 | | |
2970 | | - | |
| 2970 | + | |
| 2971 | + | |
| 2972 | + | |
| 2973 | + | |
| 2974 | + | |
2971 | 2975 | | |
2972 | 2976 | | |
2973 | 2977 | | |
| |||
0 commit comments