Lines Matching refs:aptr
313 userp = &data->state.aptr.proxyuserpwd; in http_output_basic()
314 user = data->state.aptr.proxyuser; in http_output_basic()
315 pwd = data->state.aptr.proxypasswd; in http_output_basic()
321 userp = &data->state.aptr.userpwd; in http_output_basic()
322 user = data->state.aptr.user; in http_output_basic()
323 pwd = data->state.aptr.passwd; in http_output_basic()
365 userp = &data->state.aptr.userpwd; in http_output_bearer()
761 proxy ? (data->state.aptr.proxyuser ? in output_auth_headers()
762 data->state.aptr.proxyuser : "") : in output_auth_headers()
763 (data->state.aptr.user ? in output_auth_headers()
764 data->state.aptr.user : "")); in output_auth_headers()
767 auth, data->state.aptr.user ? in output_auth_headers()
768 data->state.aptr.user : ""); in output_auth_headers()
1897 if(data->state.aptr.host && in Curl_add_custom_headers()
1915 else if(data->state.aptr.te && in Curl_add_custom_headers()
2081 free(data->state.aptr.uagent); in Curl_http_useragent()
2082 data->state.aptr.uagent = NULL; in Curl_http_useragent()
2102 Curl_safefree(data->state.aptr.host); in Curl_http_host()
2137 Curl_safefree(data->state.aptr.cookiehost); in Curl_http_host()
2138 data->state.aptr.cookiehost = cookiehost; in Curl_http_host()
2143 data->state.aptr.host = aprintf("Host:%s\r\n", &ptr[5]); in Curl_http_host()
2144 if(!data->state.aptr.host) in Curl_http_host()
2149 data->state.aptr.host = NULL; in Curl_http_host()
2162 data->state.aptr.host = aprintf("Host: %s%s%s\r\n", in Curl_http_host()
2167 data->state.aptr.host = aprintf("Host: %s%s%s:%d\r\n", in Curl_http_host()
2173 if(!data->state.aptr.host) in Curl_http_host()
2728 data->state.aptr.cookiehost? in Curl_http_cookies()
2729 data->state.aptr.cookiehost: in Curl_http_cookies()
2793 free(data->state.aptr.rangeline); in Curl_http_range()
2794 data->state.aptr.rangeline = aprintf("Range: bytes=%s\r\n", in Curl_http_range()
2801 free(data->state.aptr.rangeline); in Curl_http_range()
2807 data->state.aptr.rangeline = in Curl_http_range()
2817 data->state.aptr.rangeline = in Curl_http_range()
2826 data->state.aptr.rangeline = in Curl_http_range()
2830 if(!data->state.aptr.rangeline) in Curl_http_range()
2993 Curl_safefree(data->state.aptr.te); in Curl_transferencode()
3002 data->state.aptr.te = aprintf("Connection: %s%sTE\r\n" TE_HEADER, in Curl_transferencode()
3006 if(!data->state.aptr.te) in Curl_transferencode()
3109 Curl_safefree(data->state.aptr.ref); in Curl_http()
3111 data->state.aptr.ref = aprintf("Referer: %s\r\n", data->state.referer); in Curl_http()
3112 if(!data->state.aptr.ref) in Curl_http()
3118 Curl_safefree(data->state.aptr.accept_encoding); in Curl_http()
3119 data->state.aptr.accept_encoding = in Curl_http()
3121 if(!data->state.aptr.accept_encoding) in Curl_http()
3125 Curl_safefree(data->state.aptr.accept_encoding); in Curl_http()
3194 (data->state.aptr.host?data->state.aptr.host:""), in Curl_http()
3195 data->state.aptr.proxyuserpwd? in Curl_http()
3196 data->state.aptr.proxyuserpwd:"", in Curl_http()
3197 data->state.aptr.userpwd?data->state.aptr.userpwd:"", in Curl_http()
3198 (data->state.use_range && data->state.aptr.rangeline)? in Curl_http()
3199 data->state.aptr.rangeline:"", in Curl_http()
3202 data->state.aptr.uagent)? in Curl_http()
3203 data->state.aptr.uagent:"", in Curl_http()
3205 data->state.aptr.te?data->state.aptr.te:"", in Curl_http()
3208 data->state.aptr.accept_encoding)? in Curl_http()
3209 data->state.aptr.accept_encoding:"", in Curl_http()
3210 (data->state.referer && data->state.aptr.ref)? in Curl_http()
3211 data->state.aptr.ref:"" /* Referer: <data> */, in Curl_http()
3227 Curl_safefree(data->state.aptr.userpwd); in Curl_http()
3228 Curl_safefree(data->state.aptr.proxyuserpwd); in Curl_http()
3593 data->state.aptr.cookiehost? in Curl_http_header()
3594 data->state.aptr.cookiehost:conn->host.name, in Curl_http_header()