Home
last modified time | relevance | path

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

/lighttpd1.4/src/
H A Dhttp-header-glue.c56 static size_t lhost_len = 0; in http_response_buffer_append_authority() local
57 if (0 != lhost_len) { in http_response_buffer_append_authority()
58 buffer_append_string_len(o, lhost, lhost_len); in http_response_buffer_append_authority()
63 lhost_len = buffer_clen(o) - olen; in http_response_buffer_append_authority()
64 if (lhost_len < sizeof(lhost)) { in http_response_buffer_append_authority()
65 memcpy(lhost, o->ptr+olen, lhost_len+1); /*(+1 for '\0')*/ in http_response_buffer_append_authority()
68 lhost_len = 0; in http_response_buffer_append_authority()
72 lhost_len = sizeof("localhost")-1; in http_response_buffer_append_authority()
73 memcpy(lhost, "localhost", lhost_len+1); /*(+1 for '\0')*/ in http_response_buffer_append_authority()
74 buffer_append_string_len(o, lhost, lhost_len); in http_response_buffer_append_authority()