Lines Matching refs:host
167 char *host; in http_connect() local
180 host = Z_STRVAL_PP(proxy_host); in http_connect()
184 host = phpurl->host; in http_connect()
231 namelen = spprintf(&name, 0, "%s://%s:%d", protocol, host, port); in http_connect()
249 smart_str_appends(&soap_headers, phpurl->host); in http_connect()
254 smart_str_appends(&soap_headers, phpurl->host); in http_connect()
318 static int in_domain(const char *host, const char *domain) in in_domain() argument
321 int l1 = strlen(host); in in_domain()
324 return strcmp(host+l1-l2,domain) == 0; in in_domain()
329 return strcmp(host,domain) == 0; in in_domain()
446 if (phpurl == NULL || phpurl->host == NULL) { in make_http_soap_request()
489 strcmp(orig->host, phpurl->host) == 0 && in make_http_soap_request()
548 smart_str_appends(&soap_headers, phpurl->host); in make_http_soap_request()
571 smart_str_appends(&soap_headers, phpurl->host); in make_http_soap_request()
839 in_domain(phpurl->host,Z_STRVAL_PP(tmp))) && in make_http_soap_request()
1013 add_index_string(zcookie, 2, phpurl->host, 1); in make_http_soap_request()
1103 new_url->host = phpurl->host ? estrdup(phpurl->host) : NULL; in make_http_soap_request()
1199 if (phpurl->host) phpurl->host = estrdup(phpurl->host); in make_http_soap_request()