Searched refs:header_len (Results 1 – 10 of 10) sorted by relevance
/PHP-7.2/win32/ |
H A D | wsyslog.c | 123 size_t header_len; in openlog() local 128 header_len = strlen(ident) + 2 + 11; in openlog() 129 PW32G(log_header) = malloc(header_len*sizeof(char)); in openlog() 130 sprintf_s(PW32G(log_header), header_len, (logopt & LOG_PID) ? "%s[%d]" : "%s", ident, getpid()); in openlog()
|
/PHP-7.2/main/ |
H A D | SAPI.c | 358 default_header->header_len = len; in sapi_get_default_content_type_header() 601 if (header->header_len > len && header->header[len] == ':' in sapi_remove_header() 728 sapi_header.header_len = header_line_len; in sapi_header_op() 754 sapi_header.header_len = header_line_len; in sapi_header_op() 798 sapi_header.header_len = (uint32_t)(newlen - 1); in sapi_header_op() 866 default_header.header_len = sizeof("Content-type: ") - 1 + len; in sapi_send_headers() 867 default_header.header = emalloc(default_header.header_len + 1); in sapi_send_headers() 905 http_status_line.header_len = (uint32_t)strlen(SG(sapi_headers).http_status_line); in sapi_send_headers() 908 …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 D | SAPI.h | 53 size_t header_len; member
|
/PHP-7.2/sapi/litespeed/ |
H A D | lsapi_main.c | 421 if (h->header_len > sizeof("Status:")-1 && in sapi_lsapi_send_headers_like_cgi() 455 if (h->header_len) { in sapi_lsapi_send_headers_like_cgi() 456 if (h->header_len > sizeof("Status:")-1 && in sapi_lsapi_send_headers_like_cgi() 461 LSAPI_AppendRespHeader(h->header, h->header_len); in sapi_lsapi_send_headers_like_cgi() 463 } else if (response_status == 304 && h->header_len > sizeof("Content-Type:")-1 && in sapi_lsapi_send_headers_like_cgi() 469 LSAPI_AppendRespHeader(h->header, h->header_len); in sapi_lsapi_send_headers_like_cgi() 503 if ( h->header_len > 0 ) { in sapi_lsapi_send_headers() 504 LSAPI_AppendRespHeader(h->header, h->header_len); in sapi_lsapi_send_headers() 1768 if ( h->header_len > 0 ) { in PHP_FUNCTION()
|
/PHP-7.2/sapi/fpm/fpm/ |
H A D | fpm_log.c | 305 if (!h->header_len) { in fpm_log_write() 315 if (h->header_len <= format_len + 2) { in fpm_log_write()
|
H A D | fpm_main.c | 395 if (h->header_len > sizeof("Status:") - 1 && in sapi_cgi_send_headers() 430 if (h->header_len) { in sapi_cgi_send_headers() 431 if (h->header_len > sizeof("Status:") - 1 && in sapi_cgi_send_headers() 436 PHPWRITE_H(h->header, h->header_len); in sapi_cgi_send_headers() 439 } else if (response_status == 304 && h->header_len > sizeof("Content-Type:") - 1 && in sapi_cgi_send_headers() 445 PHPWRITE_H(h->header, h->header_len); in sapi_cgi_send_headers()
|
/PHP-7.2/sapi/cgi/ |
H A D | cgi_main.c | 422 if (h->header_len > sizeof("Status:")-1 && in sapi_cgi_send_headers() 457 if (h->header_len) { in sapi_cgi_send_headers() 458 if (h->header_len > sizeof("Status:")-1 && in sapi_cgi_send_headers() 463 PHPWRITE_H(h->header, h->header_len); in sapi_cgi_send_headers() 466 } else if (response_status == 304 && h->header_len > sizeof("Content-Type:")-1 && in sapi_cgi_send_headers() 472 PHPWRITE_H(h->header, h->header_len); in sapi_cgi_send_headers() 1736 if (h->header_len > 0) { 1752 add_assoc_stringl_ex(return_value, s, len, p, h->header_len - (p - h->header));
|
/PHP-7.2/sapi/cli/ |
H A D | php_cli_server.c | 403 if (h->header_len > 0) { in add_response_header() 417 add_assoc_stringl_ex(return_value, s, (uint32_t)len, p, h->header_len - (p - h->header)); in add_response_header() 555 if (h->header_len) { in sapi_cli_server_send_headers() 556 smart_str_appendl(&buffer, h->header, h->header_len); in sapi_cli_server_send_headers()
|
/PHP-7.2/ext/sodium/ |
H A D | libsodium.c | 3614 size_t header_len; in PHP_FUNCTION() local 3618 &header, &header_len, in PHP_FUNCTION() 3623 if (header_len != crypto_secretstream_xchacha20poly1305_HEADERBYTES) { in PHP_FUNCTION()
|
/PHP-7.2/ext/session/ |
H A D | session.c | 1277 if (header->header_len > len && header->header[len] == ':' in php_session_remove_cookie()
|
Completed in 61 milliseconds