Lines Matching defs:aptr
286 userp = &data->state.aptr.proxyuserpwd;
287 user = data->state.aptr.proxyuser;
288 pwd = data->state.aptr.proxypasswd;
294 userp = &data->state.aptr.userpwd;
295 user = data->state.aptr.user;
296 pwd = data->state.aptr.passwd;
341 userp = &data->state.aptr.userpwd;
579 if((data->state.aptr.user || data->set.str[STRING_BEARER]) &&
720 (!proxy && data->state.aptr.user &&
754 proxy ? (data->state.aptr.proxyuser ?
755 data->state.aptr.proxyuser : "") :
756 (data->state.aptr.user ?
757 data->state.aptr.user : ""));
761 auth, data->state.aptr.user ?
762 data->state.aptr.user : "");
808 data->state.aptr.user ||
1166 if((httpcode == 401) && !data->state.aptr.user)
1798 if(data->state.aptr.host &&
1816 else if(data->state.aptr.te &&
1944 if(data->state.aptr.host &&
1962 else if(data->state.aptr.te &&
2133 free(data->state.aptr.uagent);
2134 data->state.aptr.uagent = NULL;
2143 struct dynamically_allocated_data *aptr = &data->state.aptr;
2155 Curl_safefree(aptr->host);
2190 Curl_safefree(aptr->cookiehost);
2191 aptr->cookiehost = cookiehost;
2196 aptr->host = aprintf("Host:%s\r\n", &ptr[5]);
2197 if(!aptr->host)
2212 aptr->host = aprintf("Host: %s%s%s\r\n", conn->bits.ipv6_ip?"[":"",
2215 aptr->host = aprintf("Host: %s%s%s:%d\r\n", conn->bits.ipv6_ip?"[":"",
2219 if(!aptr->host)
2782 const char *host = data->state.aptr.cookiehost ?
2783 data->state.aptr.cookiehost : conn->host.name;
2854 free(data->state.aptr.rangeline);
2855 data->state.aptr.rangeline = aprintf("Range: bytes=%s\r\n",
2862 free(data->state.aptr.rangeline);
2868 data->state.aptr.rangeline =
2878 data->state.aptr.rangeline =
2887 data->state.aptr.rangeline =
2891 if(!data->state.aptr.rangeline)
3056 Curl_safefree(data->state.aptr.te);
3065 data->state.aptr.te = aprintf("Connection: %s%sTE\r\n" TE_HEADER,
3069 if(!data->state.aptr.te)
3159 Curl_safefree(data->state.aptr.ref);
3161 data->state.aptr.ref = aprintf("Referer: %s\r\n", data->state.referer);
3162 if(!data->state.aptr.ref)
3168 Curl_safefree(data->state.aptr.accept_encoding);
3169 data->state.aptr.accept_encoding =
3171 if(!data->state.aptr.accept_encoding)
3175 Curl_safefree(data->state.aptr.accept_encoding);
3245 (data->state.aptr.host?data->state.aptr.host:""),
3246 data->state.aptr.proxyuserpwd?
3247 data->state.aptr.proxyuserpwd:"",
3248 data->state.aptr.userpwd?data->state.aptr.userpwd:"",
3249 (data->state.use_range && data->state.aptr.rangeline)?
3250 data->state.aptr.rangeline:"",
3253 data->state.aptr.uagent)?
3254 data->state.aptr.uagent:"",
3256 data->state.aptr.te?data->state.aptr.te:"",
3259 data->state.aptr.accept_encoding)?
3260 data->state.aptr.accept_encoding:"",
3261 (data->state.referer && data->state.aptr.ref)?
3262 data->state.aptr.ref:"" /* Referer: <data> */,
3280 Curl_safefree(data->state.aptr.userpwd);
3281 Curl_safefree(data->state.aptr.proxyuserpwd);
3621 const char *host = data->state.aptr.cookiehost?
3622 data->state.aptr.cookiehost:conn->host.name;