Lines Matching refs:aptr

281     userp = &data->state.aptr.proxyuserpwd;  in http_output_basic()
282 user = data->state.aptr.proxyuser; in http_output_basic()
283 pwd = data->state.aptr.proxypasswd; in http_output_basic()
289 userp = &data->state.aptr.userpwd; in http_output_basic()
290 user = data->state.aptr.user; in http_output_basic()
291 pwd = data->state.aptr.passwd; in http_output_basic()
336 userp = &data->state.aptr.userpwd; in http_output_bearer()
507 if((data->state.aptr.user || data->set.str[STRING_BEARER]) && in Curl_http_auth_act()
636 (!proxy && data->state.aptr.user && in output_auth_headers()
670 proxy ? (data->state.aptr.proxyuser ? in output_auth_headers()
671 data->state.aptr.proxyuser : "") : in output_auth_headers()
672 (data->state.aptr.user ? in output_auth_headers()
673 data->state.aptr.user : "")); in output_auth_headers()
677 auth, data->state.aptr.user ? in output_auth_headers()
678 data->state.aptr.user : ""); in output_auth_headers()
724 data->state.aptr.user || in Curl_http_output_auth()
1060 if((httpcode == 401) && !data->state.aptr.user) in http_should_fail()
1343 if(data->state.aptr.host && in Curl_dynhds_add_custom()
1361 else if(data->state.aptr.te && in Curl_dynhds_add_custom()
1489 if(data->state.aptr.host && in Curl_add_custom_headers()
1508 else if(data->state.aptr.te && in Curl_add_custom_headers()
1679 free(data->state.aptr.uagent); in Curl_http_useragent()
1680 data->state.aptr.uagent = NULL; in Curl_http_useragent()
1689 struct dynamically_allocated_data *aptr = &data->state.aptr; in Curl_http_host() local
1701 Curl_safefree(aptr->host); in Curl_http_host()
1736 Curl_safefree(aptr->cookiehost); in Curl_http_host()
1737 aptr->cookiehost = cookiehost; in Curl_http_host()
1742 aptr->host = aprintf("Host:%s\r\n", &ptr[5]); in Curl_http_host()
1743 if(!aptr->host) in Curl_http_host()
1758 aptr->host = aprintf("Host: %s%s%s\r\n", conn->bits.ipv6_ip ? "[" : "", in Curl_http_host()
1761 aptr->host = aprintf("Host: %s%s%s:%d\r\n", in Curl_http_host()
1766 if(!aptr->host) in Curl_http_host()
2256 const char *host = data->state.aptr.cookiehost ? in Curl_http_cookies()
2257 data->state.aptr.cookiehost : conn->host.name; in Curl_http_cookies()
2329 free(data->state.aptr.rangeline); in Curl_http_range()
2330 data->state.aptr.rangeline = aprintf("Range: bytes=%s\r\n", in Curl_http_range()
2337 free(data->state.aptr.rangeline); in Curl_http_range()
2343 data->state.aptr.rangeline = in Curl_http_range()
2356 data->state.aptr.rangeline = in Curl_http_range()
2363 data->state.aptr.rangeline = in Curl_http_range()
2367 if(!data->state.aptr.rangeline) in Curl_http_range()
2449 Curl_safefree(data->state.aptr.te); in Curl_transferencode()
2458 data->state.aptr.te = aprintf("Connection: %s%sTE\r\n" TE_HEADER, in Curl_transferencode()
2462 if(!data->state.aptr.te) in Curl_transferencode()
2555 Curl_safefree(data->state.aptr.ref); in Curl_http()
2557 data->state.aptr.ref = aprintf("Referer: %s\r\n", data->state.referer); in Curl_http()
2558 if(!data->state.aptr.ref) in Curl_http()
2564 Curl_safefree(data->state.aptr.accept_encoding); in Curl_http()
2565 data->state.aptr.accept_encoding = in Curl_http()
2567 if(!data->state.aptr.accept_encoding) in Curl_http()
2571 Curl_safefree(data->state.aptr.accept_encoding); in Curl_http()
2637 (data->state.aptr.host ? data->state.aptr.host : ""), in Curl_http()
2639 data->state.aptr.proxyuserpwd ? in Curl_http()
2640 data->state.aptr.proxyuserpwd : "", in Curl_http()
2644 data->state.aptr.userpwd ? data->state.aptr.userpwd : "", in Curl_http()
2645 (data->state.use_range && data->state.aptr.rangeline) ? in Curl_http()
2646 data->state.aptr.rangeline : "", in Curl_http()
2649 data->state.aptr.uagent) ? in Curl_http()
2650 data->state.aptr.uagent : "", in Curl_http()
2652 data->state.aptr.te ? data->state.aptr.te : "", in Curl_http()
2655 data->state.aptr.accept_encoding) ? in Curl_http()
2656 data->state.aptr.accept_encoding : "", in Curl_http()
2657 (data->state.referer && data->state.aptr.ref) ? in Curl_http()
2658 data->state.aptr.ref : "" /* Referer: <data> */, in Curl_http()
2675 Curl_safefree(data->state.aptr.userpwd); in Curl_http()
2677 Curl_safefree(data->state.aptr.proxyuserpwd); in Curl_http()
3079 const char *host = data->state.aptr.cookiehost ? in Curl_http_header()
3080 data->state.aptr.cookiehost : conn->host.name; in Curl_http_header()