Searched refs:sapi_headers (Results 26 – 32 of 32) sorted by relevance
12
2120 if (SG(sapi_headers).mimetype && in PHP_FUNCTION()2123 SG(sapi_headers).mimetype, in PHP_FUNCTION()2124 strlen(SG(sapi_headers).mimetype))) { in PHP_FUNCTION()2125 if ((s = strchr(SG(sapi_headers).mimetype,';')) == NULL){ in PHP_FUNCTION()2126 mimetype = estrdup(SG(sapi_headers).mimetype); in PHP_FUNCTION()2128 mimetype = estrndup(SG(sapi_headers).mimetype,s-SG(sapi_headers).mimetype); in PHP_FUNCTION()2131 } else if (SG(sapi_headers).send_default_content_type) { in PHP_FUNCTION()2136 if (SG(sapi_headers).send_default_content_type || send_text_mimetype) { in PHP_FUNCTION()2141 SG(sapi_headers).send_default_content_type = 0; in PHP_FUNCTION()
2136 _old_http_response_code = SG(sapi_headers).http_response_code;2137 _old_http_status_line = SG(sapi_headers).http_status_line;2197 SG(sapi_headers).http_status_line = NULL;2204 if (SG(sapi_headers).http_status_line) {2205 efree(SG(sapi_headers).http_status_line);2207 SG(sapi_headers).http_status_line = _old_http_status_line;2281 SG(sapi_headers).http_status_line = NULL;2288 if (SG(sapi_headers).http_status_line) {2289 efree(SG(sapi_headers).http_status_line);2291 SG(sapi_headers).http_status_line = _old_http_status_line;[all …]
886 static int sapi_milter_send_headers(sapi_headers_struct *sapi_headers TSRMLS_DC) in sapi_milter_send_headers()
402 static int sapi_cli_send_headers(sapi_headers_struct *sapi_headers TSRMLS_DC) /* {{{ */ in sapi_cli_send_headers()
1156 SG(sapi_headers).http_response_code == 200 && in php_error_cb()
1301 zend_llist *l = &SG(sapi_headers).headers;
7006 - Fixed bug #43295 (crash because of uninitialized SG(sapi_headers).mimetype). (Dmitry)
Completed in 95 milliseconds