Home
last modified time | relevance | path

Searched refs:http_status_line (Results 1 – 8 of 8) sorted by relevance

/PHP-7.4/main/
H A DSAPI.c398 SG(sapi_headers).http_status_line = NULL; in sapi_activate_headers_only()
440 SG(sapi_headers).http_status_line = NULL; in sapi_activate()
488 if (SG(sapi_headers).http_status_line) { in sapi_send_headers_free()
489 efree(SG(sapi_headers).http_status_line); in sapi_send_headers_free()
490 SG(sapi_headers).http_status_line = NULL; in sapi_send_headers_free()
576 if (SG(sapi_headers).http_status_line) { in sapi_update_response_code()
756 if (SG(sapi_headers).http_status_line) { in sapi_header_op()
894 sapi_header_struct http_status_line; in sapi_send_headers() local
898 http_status_line.header = SG(sapi_headers).http_status_line; in sapi_send_headers()
899 http_status_line.header_len = (uint32_t)strlen(SG(sapi_headers).http_status_line); in sapi_send_headers()
[all …]
H A DSAPI.h60 char *http_status_line; member
/PHP-7.4/sapi/fpm/fpm/
H A Dfpm_main.c329 if (CGIG(rfc2616_headers) && SG(sapi_headers).http_status_line) { in sapi_cgi_send_headers()
331 len = slprintf(buf, SAPI_CGI_MAX_HEADER_LENGTH, "%s", SG(sapi_headers).http_status_line); in sapi_cgi_send_headers()
332 if ((s = strchr(SG(sapi_headers).http_status_line, ' '))) { in sapi_cgi_send_headers()
343 if (SG(sapi_headers).http_status_line && in sapi_cgi_send_headers()
344 (s = strchr(SG(sapi_headers).http_status_line, ' ')) != 0 && in sapi_cgi_send_headers()
345 (s - SG(sapi_headers).http_status_line) >= 5 && in sapi_cgi_send_headers()
346 strncasecmp(SG(sapi_headers).http_status_line, "HTTP/", 5) == 0 in sapi_cgi_send_headers()
/PHP-7.4/sapi/cgi/
H A Dcgi_main.c388 if (CGIG(rfc2616_headers) && SG(sapi_headers).http_status_line) { in sapi_cgi_send_headers()
390 len = slprintf(buf, SAPI_CGI_MAX_HEADER_LENGTH, "%s", SG(sapi_headers).http_status_line); in sapi_cgi_send_headers()
391 if ((s = strchr(SG(sapi_headers).http_status_line, ' '))) { in sapi_cgi_send_headers()
402 if (SG(sapi_headers).http_status_line && in sapi_cgi_send_headers()
403 (s = strchr(SG(sapi_headers).http_status_line, ' ')) != 0 && in sapi_cgi_send_headers()
404 (s - SG(sapi_headers).http_status_line) >= 5 && in sapi_cgi_send_headers()
405 strncasecmp(SG(sapi_headers).http_status_line, "HTTP/", 5) == 0 in sapi_cgi_send_headers()
/PHP-7.4/sapi/litespeed/
H A Dlsapi_main.c393 if (SG(sapi_headers).http_status_line && in sapi_lsapi_send_headers_like_cgi()
394 (s = strchr(SG(sapi_headers).http_status_line, ' ')) != 0 && in sapi_lsapi_send_headers_like_cgi()
395 (s - SG(sapi_headers).http_status_line) >= 5 && in sapi_lsapi_send_headers_like_cgi()
396 strncasecmp(SG(sapi_headers).http_status_line, "HTTP/", 5) == 0 in sapi_lsapi_send_headers_like_cgi()
/PHP-7.4/sapi/apache2handler/
H A Dsapi_apache2.c148 const char *sline = SG(sapi_headers).http_status_line; in php_apache_sapi_send_headers()
/PHP-7.4/ext/soap/
H A Dsoap.c2114 _old_http_status_line = SG(sapi_headers).http_status_line;
2214 SG(sapi_headers).http_status_line = NULL;
2220 if (SG(sapi_headers).http_status_line) {
2221 efree(SG(sapi_headers).http_status_line);
2223 SG(sapi_headers).http_status_line = _old_http_status_line;
/PHP-7.4/sapi/cli/
H A Dphp_cli_server.c603 if (SG(sapi_headers).http_status_line) { in sapi_cli_server_send_headers()
604 smart_str_appends(&buffer, SG(sapi_headers).http_status_line); in sapi_cli_server_send_headers()

Completed in 80 milliseconds