Home
last modified time | relevance | path

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

/PHP-8.4/main/
H A DSAPI.c396 SG(sapi_headers).http_status_line = NULL; in sapi_activate_headers_only()
438 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()
589 if (SG(sapi_headers).http_status_line) { in sapi_update_response_code()
767 if (SG(sapi_headers).http_status_line) { in sapi_header_op()
898 sapi_header_struct http_status_line; in sapi_send_headers() local
902 http_status_line.header = SG(sapi_headers).http_status_line; in sapi_send_headers()
903 http_status_line.header_len = (uint32_t)strlen(SG(sapi_headers).http_status_line); in sapi_send_headers()
[all …]
H A DSAPI.h55 char *http_status_line; member
/PHP-8.4/sapi/fpm/fpm/
H A Dfpm_main.c326 if (CGIG(rfc2616_headers) && SG(sapi_headers).http_status_line) { in sapi_cgi_send_headers()
328 len = slprintf(buf, SAPI_CGI_MAX_HEADER_LENGTH, "%s", SG(sapi_headers).http_status_line); in sapi_cgi_send_headers()
329 if ((s = strchr(SG(sapi_headers).http_status_line, ' '))) { in sapi_cgi_send_headers()
340 if (SG(sapi_headers).http_status_line && in sapi_cgi_send_headers()
341 (s = strchr(SG(sapi_headers).http_status_line, ' ')) != 0 && in sapi_cgi_send_headers()
342 (s - SG(sapi_headers).http_status_line) >= 5 && in sapi_cgi_send_headers()
343 strncasecmp(SG(sapi_headers).http_status_line, "HTTP/", 5) == 0 in sapi_cgi_send_headers()
/PHP-8.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-8.4/sapi/litespeed/
H A Dlsapi_main.c384 if (SG(sapi_headers).http_status_line && in sapi_lsapi_send_headers_like_cgi()
385 (s = strchr(SG(sapi_headers).http_status_line, ' ')) != 0 && in sapi_lsapi_send_headers_like_cgi()
386 (s - SG(sapi_headers).http_status_line) >= 5 && in sapi_lsapi_send_headers_like_cgi()
387 strncasecmp(SG(sapi_headers).http_status_line, "HTTP/", 5) == 0 in sapi_lsapi_send_headers_like_cgi()
/PHP-8.4/sapi/apache2handler/
H A Dsapi_apache2.c152 const char *sline = SG(sapi_headers).http_status_line; in php_apache_sapi_send_headers()
/PHP-8.4/ext/soap/
H A Dsoap.c1852 _old_http_status_line = SG(sapi_headers).http_status_line; in soap_real_error_handler()
1914 SG(sapi_headers).http_status_line = NULL; in soap_real_error_handler()
1920 if (SG(sapi_headers).http_status_line) { in soap_real_error_handler()
1921 efree(SG(sapi_headers).http_status_line); in soap_real_error_handler()
1923 SG(sapi_headers).http_status_line = _old_http_status_line; in soap_real_error_handler()
/PHP-8.4/sapi/cli/
H A Dphp_cli_server.c562 if (SG(sapi_headers).http_status_line) { in sapi_cli_server_send_headers()
563 smart_str_appends(&buffer, SG(sapi_headers).http_status_line); in sapi_cli_server_send_headers()

Completed in 44 milliseconds