Searched refs:lhost (Results 1 – 2 of 2) sorted by relevance
55 static char lhost[32]; in http_response_buffer_append_authority() local58 buffer_append_string_len(o, lhost, lhost_len); 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()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()
1564 static const buffer lhost ={CONST_STR_LEN("127.0.0.1")+1,0}; in gw_set_defaults_backend() local1565 host->host = &lhost; in gw_set_defaults_backend()