X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=http_message_api.c;h=dd597fccf32dbc6a466d1c857f16611a0b34085d;hp=89f67e0bd942bec7ab0375167e4c9b530dd1079f;hb=f6a58b4f97105ba3c3177116c18672f1b8ba4179;hpb=9d4113f62a7a8fe2fe3879b94a3712d11cec8726;ds=sidebyside diff --git a/http_message_api.c b/http_message_api.c index 89f67e0..dd597fc 100644 --- a/http_message_api.c +++ b/http_message_api.c @@ -157,7 +157,7 @@ PHP_HTTP_API http_message *_http_message_parse_ex(http_message *msg, const char size_t decoded_len; /* decode and replace Transfer-Encoding with Content-Length header */ - if (continue_at = http_chunked_decode(body, message + message_length - body, &decoded, &decoded_len)) { + if (continue_at = http_encoding_dechunk(body, message + message_length - body, &decoded, &decoded_len)) { zval *len; char *tmp; int tmp_len;