]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_ari: Remove requirement that body exists when debug is on.
authorJoshua Colp <jcolp@digium.com>
Thu, 3 May 2018 11:34:32 +0000 (11:34 +0000)
committerJoshua Colp <jcolp@digium.com>
Thu, 3 May 2018 11:36:50 +0000 (05:36 -0600)
commit975d277377133f48aa9a60b5e7e3edeae9213f50
tree73755fe69c87d85e777db291e9d2cfca4251cadd
parente18181b06adb423842bee99abdc27898432e165d
res_ari: Remove requirement that body exists when debug is on.

The "ari set debug" code for incoming requests incorrectly assumed
that all requests would contain a body. If one did not exist the
request would be incorrectly rejected. The response that was sent
was also incomplete as an incorrect function was used to construct
the response.

The code has now been changed to no longer require a request to have
a body and the response updated to use the correct function.

ASTERISK-27801

Change-Id: I4eef036ad54550a4368118cc348765ecac25e0f8
res/res_ari.c