diff options
author | Marri Devender Rao <devenrao@in.ibm.com> | 2017-11-20 00:15:47 -0600 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2017-12-12 00:56:57 +0000 |
commit | bc0c67380072ad3461cd9a0dfdb71dc37f54918d (patch) | |
tree | adac35e8207077e8241349cb1135023743931ba2 /servers/setup.cfg | |
parent | 8cc1a034b264d8771648840f3bc57f07ccad72fa (diff) | |
download | phosphor-rest-server-bc0c67380072ad3461cd9a0dfdb71dc37f54918d.tar.gz phosphor-rest-server-bc0c67380072ad3461cd9a0dfdb71dc37f54918d.zip |
Fix infinite do_put recursive call with retry only once
For failure in do-put method call REST server computes
the argument types based on the signature and makes a
recursive call with the modified argument types.
Without proper exit clause recursive call is falling into an
infinite loop, modified to retry only once.
Also fixed do_post which has similar retry logic.
Fixes openbmc/openbmc#2653
Change-Id: I150464de5585ebdfab4ae2da2083a62bd63caca1
Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com>
Diffstat (limited to 'servers/setup.cfg')
0 files changed, 0 insertions, 0 deletions