- Changed the $context parameter on copy() to actually have an effect. (Kalle)
- Fixed possible crash in mssql_fetch_batch(). (Kalle)
+- Fixed bug #52674 (FPM Status page returns inconsistent Content-Type headers).
+ (fat)
- Fixed bug #52654 (mysqli doesn't install headers with structures it uses).
(Andrey)
- Fixed bug #52636 (php_mysql_fetch_hash writes long value into int).
"total processes: %d\n",
status->accepted_conn, fpm_status_pool, status->pm == PM_STYLE_STATIC ? "static" : "dynamic", status->idle, status->active, status->total);
- spprintf(content_type, 0, "text/plain");
+ spprintf(content_type, 0, "Content-Type: text/plain");
}
/* }}} */
"</table>",
status->accepted_conn, fpm_status_pool, status->pm == PM_STYLE_STATIC ? "static" : "dynamic", status->idle, status->active, status->total);
- spprintf(content_type, 0, "text/html");
+ spprintf(content_type, 0, "Content-Type: text/html");
}
/* }}} */
"}",
status->accepted_conn, fpm_status_pool, status->pm == PM_STYLE_STATIC ? "static" : "dynamic", status->idle, status->active, status->total);
- spprintf(content_type, 0, "application/jsonrequest");
+ spprintf(content_type, 0, "Content-Type: application/json");
}
/* }}} */