- ensure detaching the request from the handles list is the last op
[m6w6/ext-http] / http_message_api.c
index 6dd20673b081addab2c92fa72902d6cfa93b7ce1..7fe5aecb73d6a7f96aa8188a7c004e1b058f1d0c 100644 (file)
@@ -259,7 +259,7 @@ PHP_HTTP_API http_message *_http_message_parse_ex(http_message *msg, const char
 #      endif /* HTTP_HAVE_ZLIB */
                        }
                        
-                       if (decoded && decoded_len) {
+                       if (decoded) {
                                zval *len;
                                char *tmp;
                                int tmp_len;