Lines Matching refs:allocptr
304 userp = &conn->allocptr.proxyuserpwd; in http_output_basic()
309 userp = &conn->allocptr.userpwd; in http_output_basic()
1639 if(conn->allocptr.host && in Curl_add_custom_headers()
1653 else if(conn->allocptr.te && in Curl_add_custom_headers()
1860 free(conn->allocptr.uagent); in Curl_http()
1861 conn->allocptr.uagent=NULL; in Curl_http()
1879 Curl_safefree(conn->allocptr.ref); in Curl_http()
1881 conn->allocptr.ref = aprintf("Referer: %s\r\n", data->change.referer); in Curl_http()
1882 if(!conn->allocptr.ref) in Curl_http()
1886 conn->allocptr.ref = NULL; in Curl_http()
1895 Curl_safefree(conn->allocptr.accept_encoding); in Curl_http()
1896 conn->allocptr.accept_encoding = in Curl_http()
1898 if(!conn->allocptr.accept_encoding) in Curl_http()
1915 Curl_safefree(conn->allocptr.te); in Curl_http()
1918 conn->allocptr.te = cptr? aprintf("%s, TE\r\n" TE_HEADER, cptr): in Curl_http()
1921 if(!conn->allocptr.te) in Curl_http()
1962 Curl_safefree(conn->allocptr.host); in Curl_http()
1997 Curl_safefree(conn->allocptr.cookiehost); in Curl_http()
1998 conn->allocptr.cookiehost = cookiehost; in Curl_http()
2003 conn->allocptr.host = aprintf("%s\r\n", ptr); in Curl_http()
2004 if(!conn->allocptr.host) in Curl_http()
2009 conn->allocptr.host = NULL; in Curl_http()
2021 conn->allocptr.host = aprintf("Host: %s%s%s\r\n", in Curl_http()
2026 conn->allocptr.host = aprintf("Host: %s%s%s:%hu\r\n", in Curl_http()
2032 if(!conn->allocptr.host) in Curl_http()
2204 free(conn->allocptr.rangeline); in Curl_http()
2205 conn->allocptr.rangeline = aprintf("Range: bytes=%s\r\n", in Curl_http()
2212 free(conn->allocptr.rangeline); in Curl_http()
2218 conn->allocptr.rangeline = in Curl_http()
2228 conn->allocptr.rangeline = in Curl_http()
2237 conn->allocptr.rangeline = in Curl_http()
2241 if(!conn->allocptr.rangeline) in Curl_http()
2290 (conn->allocptr.host?conn->allocptr.host:""), in Curl_http()
2291 conn->allocptr.proxyuserpwd? in Curl_http()
2292 conn->allocptr.proxyuserpwd:"", in Curl_http()
2293 conn->allocptr.userpwd?conn->allocptr.userpwd:"", in Curl_http()
2294 (data->state.use_range && conn->allocptr.rangeline)? in Curl_http()
2295 conn->allocptr.rangeline:"", in Curl_http()
2298 conn->allocptr.uagent)? in Curl_http()
2299 conn->allocptr.uagent:"", in Curl_http()
2301 conn->allocptr.te?conn->allocptr.te:"", in Curl_http()
2304 conn->allocptr.accept_encoding)? in Curl_http()
2305 conn->allocptr.accept_encoding:"", in Curl_http()
2306 (data->change.referer && conn->allocptr.ref)? in Curl_http()
2307 conn->allocptr.ref:"" /* Referer: <data> */, in Curl_http()
2316 Curl_safefree(conn->allocptr.userpwd); in Curl_http()
2326 Curl_safefree(conn->allocptr.proxyuserpwd); in Curl_http()
2351 conn->allocptr.cookiehost? in Curl_http()
2352 conn->allocptr.cookiehost:host, in Curl_http()
3656 conn->allocptr.cookiehost? in Curl_http_readwrite_headers()
3657 conn->allocptr.cookiehost:conn->host.name, in Curl_http_readwrite_headers()