http: supported chunked Transfer-Encoding
authorScott Griepentrog <sgriepentrog@digium.com>
Fri, 17 Jan 2014 20:51:19 +0000 (20:51 +0000)
committerScott Griepentrog <sgriepentrog@digium.com>
Fri, 17 Jan 2014 20:51:19 +0000 (20:51 +0000)
commit2704b49c1b038ffd4a6a413b9973814bee7a42b3
treec5673014f2f17e28a912e064cc7efc94671677df
parent926081461b87e61529e03f133b22cf21a6cafa40
http: supported chunked Transfer-Encoding

This change implements support for HTTP Transfer-Encoding
chunked in both JSON and Form (post vars) body content. A
new function ast_http_get_contents() handles both regular
and chunked mode body, returning after the entire body is
received.

(closes issue ASTERISK-23068)
Reported by: Matt Jordan
Review: https://reviewboard.asterisk.org/r/3125/
........

Merged revisions 405861 from http://svn.asterisk.org/svn/asterisk/branches/12

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@405862 65c4cc65-6c06-0410-ace0-fbb531ad65f3
main/http.c