Skip to content
Snippets Groups Projects
  • Joshua Colp's avatar
    de3ca9ba
    res_ari: Remove requirement that body exists when debug is on. · de3ca9ba
    Joshua Colp authored
    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
    de3ca9ba
    History
    res_ari: Remove requirement that body exists when debug is on.
    Joshua Colp authored
    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