Home
last modified time | relevance | path

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

/PHP-5.3/main/
H A DSAPI.c253 default_header->header_len = (sizeof("Content-type: ")-1) + default_content_type_len; in sapi_get_default_content_type_header()
254 default_header->header = emalloc(default_header->header_len+1); in sapi_get_default_content_type_header()
257 default_header->header[default_header->header_len] = 0; in sapi_get_default_content_type_header()
516 if (header->header_len > len && header->header[len] == ':' in sapi_remove_header()
643 sapi_header.header_len = header_line_len; in sapi_header_op()
649 sapi_remove_header(&SG(sapi_headers).headers, sapi_header.header, sapi_header.header_len); in sapi_header_op()
694 sapi_header.header_len = newlen - 1; in sapi_header_op()
773 sapi_header.header_len = newlen; in sapi_header_op()
782 …sapi_header.header_len = spprintf(&sapi_header.header, 0, "WWW-Authenticate: Basic realm=\"%ld\"",… in sapi_header_op()
835 sapi_add_header_ex(default_header.header, default_header.header_len, 0, 0 TSRMLS_CC); in sapi_send_headers()
[all …]
H A DSAPI.h53 uint header_len; member
/PHP-5.3/sapi/pi3web/
H A Dpi3web_sapi.c147 *total_length += sapi_header->header_len+2; in accumulate_header_length()
153 memcpy(*combined_headers_ptr, sapi_header->header, sapi_header->header_len); in concat_header()
154 *combined_headers_ptr += sapi_header->header_len; in concat_header()
/PHP-5.3/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.c428 if (h->header_len > sizeof("Status:") - 1 && in sapi_cgi_send_headers()
463 if (h->header_len) { in sapi_cgi_send_headers()
464 if (h->header_len > sizeof("Status:") - 1 && in sapi_cgi_send_headers()
469 PHPWRITE_H(h->header, h->header_len); in sapi_cgi_send_headers()
472 } else if (response_status == 304 && h->header_len > sizeof("Content-Type:") - 1 && in sapi_cgi_send_headers()
478 PHPWRITE_H(h->header, h->header_len); in sapi_cgi_send_headers()
/PHP-5.3/sapi/litespeed/
H A Dlsapi_main.c326 if ( h->header_len > 0 ) { in sapi_lsapi_send_headers()
327 LSAPI_AppendRespHeader(h->header, h->header_len); in sapi_lsapi_send_headers()
1087 if ( h->header_len > 0 ) { in PHP_FUNCTION()
/PHP-5.3/sapi/cgi/
H A Dcgi_main.c425 if (h->header_len > sizeof("Status:")-1 && in sapi_cgi_send_headers()
460 if (h->header_len) { in sapi_cgi_send_headers()
461 if (h->header_len > sizeof("Status:")-1 && in sapi_cgi_send_headers()
466 PHPWRITE_H(h->header, h->header_len); in sapi_cgi_send_headers()
469 } else if (response_status == 304 && h->header_len > sizeof("Content-Type:")-1 && in sapi_cgi_send_headers()
475 PHPWRITE_H(h->header, h->header_len); in sapi_cgi_send_headers()
/PHP-5.3/sapi/isapi/
H A Dphp5isapi.c227 *total_length += sapi_header->header_len+2; in accumulate_header_length()
233 memcpy(*combined_headers_ptr, sapi_header->header, sapi_header->header_len); in concat_header()
234 *combined_headers_ptr += sapi_header->header_len; in concat_header()
/PHP-5.3/sapi/webjames/
H A Dwebjames.c68 int len = sapi_header->header_len; in sapi_webjames_send_header()
/PHP-5.3/sapi/tux/
H A Dphp_tux.c140 vec[n++].iov_len = h->header_len; in sapi_tux_send_headers()
/PHP-5.3/sapi/thttpd/
H A Dthttpd.c211 ADD_VEC(h->header, h->header_len); in sapi_thttpd_send_headers()

Completed in 48 milliseconds