Home
last modified time | relevance | path

Searched refs:header_len (Results 1 – 10 of 10) sorted by relevance

/PHP-8.0/win32/
H A Dwsyslog.c148 size_t header_len; in openlog() local
153 header_len = strlen(ident) + 2 + 11; in openlog()
154 PW32G(log_header) = malloc(header_len*sizeof(char)); in openlog()
155 sprintf_s(PW32G(log_header), header_len, (logopt & LOG_PID) ? "%s[%d]" : "%s", ident, getpid()); in openlog()
/PHP-8.0/main/
H A DSAPI.c346 default_header->header_len = len; in sapi_get_default_content_type_header()
599 if (header->header_len > len && header->header[len] == ':' in sapi_remove_header()
724 sapi_header.header_len = header_line_len; in sapi_header_op()
750 sapi_header.header_len = header_line_len; in sapi_header_op()
787 sapi_header.header_len = (uint32_t)(newlen - 1); in sapi_header_op()
855 default_header.header_len = sizeof("Content-type: ") - 1 + len; in sapi_send_headers()
856 default_header.header = emalloc(default_header.header_len + 1); in sapi_send_headers()
894 http_status_line.header_len = (uint32_t)strlen(SG(sapi_headers).http_status_line); in sapi_send_headers()
897 …http_status_line.header_len = slprintf(buf, sizeof(buf), "HTTP/1.0 %d X", SG(sapi_headers).http_re… in sapi_send_headers()
H A DSAPI.h46 size_t header_len; member
/PHP-8.0/sapi/litespeed/
H A Dlsapi_main.c395 if (h->header_len > sizeof("Status:")-1 && in sapi_lsapi_send_headers_like_cgi()
429 if (h->header_len) { in sapi_lsapi_send_headers_like_cgi()
430 if (h->header_len > sizeof("Status:")-1 && in sapi_lsapi_send_headers_like_cgi()
435 LSAPI_AppendRespHeader(h->header, h->header_len); in sapi_lsapi_send_headers_like_cgi()
437 } else if (response_status == 304 && h->header_len > sizeof("Content-Type:")-1 && in sapi_lsapi_send_headers_like_cgi()
443 LSAPI_AppendRespHeader(h->header, h->header_len); in sapi_lsapi_send_headers_like_cgi()
476 if ( h->header_len > 0 ) { in sapi_lsapi_send_headers()
477 LSAPI_AppendRespHeader(h->header, h->header_len); in sapi_lsapi_send_headers()
1705 if ( h->header_len > 0 ) { in PHP_FUNCTION()
/PHP-8.0/sapi/fpm/fpm/
H A Dfpm_log.c304 if (!h->header_len) { in fpm_log_write()
314 if (h->header_len <= format_len + 2) { in fpm_log_write()
H A Dfpm_main.c348 if (h->header_len > sizeof("Status:") - 1 && in sapi_cgi_send_headers()
384 if (h->header_len) { in sapi_cgi_send_headers()
385 if (h->header_len > sizeof("Status:") - 1 && in sapi_cgi_send_headers()
390 PHPWRITE_H(h->header, h->header_len); in sapi_cgi_send_headers()
393 } else if (response_status == 304 && h->header_len > sizeof("Content-Type:") - 1 && in sapi_cgi_send_headers()
399 PHPWRITE_H(h->header, h->header_len); in sapi_cgi_send_headers()
/PHP-8.0/sapi/cgi/
H A Dcgi_main.c408 if (h->header_len > sizeof("Status:")-1 && in sapi_cgi_send_headers()
444 if (h->header_len) { in sapi_cgi_send_headers()
445 if (h->header_len > sizeof("Status:")-1 && in sapi_cgi_send_headers()
450 PHPWRITE_H(h->header, h->header_len); in sapi_cgi_send_headers()
453 } else if (response_status == 304 && h->header_len > sizeof("Content-Type:")-1 && in sapi_cgi_send_headers()
459 PHPWRITE_H(h->header, h->header_len); in sapi_cgi_send_headers()
1662 if (h->header_len > 0) {
1682 add_assoc_stringl_ex(return_value, s, len, p, h->header_len - (p - h->header));
/PHP-8.0/sapi/cli/
H A Dphp_cli_server.c414 if (h->header_len > 0) { in add_response_header()
428 add_assoc_stringl_ex(return_value, s, (uint32_t)len, p, h->header_len - (p - h->header)); in add_response_header()
559 if (h->header_len) { in sapi_cli_server_send_headers()
560 smart_str_appendl(&buffer, h->header, h->header_len); in sapi_cli_server_send_headers()
/PHP-8.0/ext/sodium/
H A Dlibsodium.c3216 size_t header_len; in PHP_FUNCTION() local
3220 &header, &header_len, in PHP_FUNCTION()
3225 if (header_len != crypto_secretstream_xchacha20poly1305_HEADERBYTES) { in PHP_FUNCTION()
/PHP-8.0/ext/session/
H A Dsession.c1280 if (header->header_len > len && header->header[len] == ':' in php_session_remove_cookie()

Completed in 94 milliseconds