projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
- move the chunked decoder to the encoding_api
[m6w6/ext-http]
/
http_functions.c
diff --git
a/http_functions.c
b/http_functions.c
index ae08b4fa7350e5ba9452c7698035e651e536c7b4..364e81fe13c948eb9b6331afd1272a2f8212cb48 100644
(file)
--- a/
http_functions.c
+++ b/
http_functions.c
@@
-755,7
+755,7
@@
PHP_FUNCTION(http_chunked_decode)
RETURN_FALSE;
}
RETURN_FALSE;
}
- if (NULL != http_
chunked_decode
(encoded, encoded_len, &decoded, &decoded_len)) {
+ if (NULL != http_
encoding_dechunk
(encoded, encoded_len, &decoded, &decoded_len)) {
RETURN_STRINGL(decoded, (int) decoded_len, 0);
} else {
RETURN_FALSE;
RETURN_STRINGL(decoded, (int) decoded_len, 0);
} else {
RETURN_FALSE;