fastcgi: Add FIXME

This commit is contained in:
2023-09-28 22:49:33 +02:00
parent 0232331f99
commit fee4cc808a

View File

@ -231,6 +231,7 @@ int fastcgi_php_error(fastcgi_cnx_t *cnx, char *err_msg) {
log_lvl_t msg_type = LOG_INFO; log_lvl_t msg_type = LOG_INFO;
// FIXME php fastcgi sends multiple calls with '; ' as delimiter
for (long ret; cnx->fd_err_bytes > 0 && (ret = getline(&line, &line_len, cnx->err)) != -1; cnx->fd_err_bytes -= ret) { for (long ret; cnx->fd_err_bytes > 0 && (ret = getline(&line, &line_len, cnx->err)) != -1; cnx->fd_err_bytes -= ret) {
if (ret > 0) line[ret - 1] = 0; if (ret > 0) line[ret - 1] = 0;
line_ptr = line; line_ptr = line;