Lines Matching refs:allocptr
279 userp = &conn->allocptr.proxyuserpwd; in http_output_basic()
284 userp = &conn->allocptr.userpwd; in http_output_basic()
328 userp = &conn->allocptr.userpwd; in http_output_bearer()
1814 if(conn->allocptr.host && in Curl_add_custom_headers()
1832 else if(conn->allocptr.te && in Curl_add_custom_headers()
2048 free(conn->allocptr.uagent); in Curl_http()
2049 conn->allocptr.uagent = NULL; in Curl_http()
2077 Curl_safefree(conn->allocptr.ref); in Curl_http()
2079 conn->allocptr.ref = aprintf("Referer: %s\r\n", data->change.referer); in Curl_http()
2080 if(!conn->allocptr.ref) in Curl_http()
2084 conn->allocptr.ref = NULL; in Curl_http()
2093 Curl_safefree(conn->allocptr.accept_encoding); in Curl_http()
2094 conn->allocptr.accept_encoding = in Curl_http()
2096 if(!conn->allocptr.accept_encoding) in Curl_http()
2100 Curl_safefree(conn->allocptr.accept_encoding); in Curl_http()
2101 conn->allocptr.accept_encoding = NULL; in Curl_http()
2117 Curl_safefree(conn->allocptr.te); in Curl_http()
2126 conn->allocptr.te = aprintf("Connection: %s%sTE\r\n" TE_HEADER, in Curl_http()
2130 if(!conn->allocptr.te) in Curl_http()
2209 Curl_safefree(conn->allocptr.host); in Curl_http()
2244 Curl_safefree(conn->allocptr.cookiehost); in Curl_http()
2245 conn->allocptr.cookiehost = cookiehost; in Curl_http()
2250 conn->allocptr.host = aprintf("Host:%s\r\n", &ptr[5]); in Curl_http()
2251 if(!conn->allocptr.host) in Curl_http()
2256 conn->allocptr.host = NULL; in Curl_http()
2268 conn->allocptr.host = aprintf("Host: %s%s%s\r\n", in Curl_http()
2273 conn->allocptr.host = aprintf("Host: %s%s%s:%d\r\n", in Curl_http()
2279 if(!conn->allocptr.host) in Curl_http()
2455 free(conn->allocptr.rangeline); in Curl_http()
2456 conn->allocptr.rangeline = aprintf("Range: bytes=%s\r\n", in Curl_http()
2463 free(conn->allocptr.rangeline); in Curl_http()
2469 conn->allocptr.rangeline = in Curl_http()
2479 conn->allocptr.rangeline = in Curl_http()
2488 conn->allocptr.rangeline = in Curl_http()
2492 if(!conn->allocptr.rangeline) in Curl_http()
2553 (conn->allocptr.host?conn->allocptr.host:""), in Curl_http()
2554 conn->allocptr.proxyuserpwd? in Curl_http()
2555 conn->allocptr.proxyuserpwd:"", in Curl_http()
2556 conn->allocptr.userpwd?conn->allocptr.userpwd:"", in Curl_http()
2557 (data->state.use_range && conn->allocptr.rangeline)? in Curl_http()
2558 conn->allocptr.rangeline:"", in Curl_http()
2561 conn->allocptr.uagent)? in Curl_http()
2562 conn->allocptr.uagent:"", in Curl_http()
2564 conn->allocptr.te?conn->allocptr.te:"", in Curl_http()
2567 conn->allocptr.accept_encoding)? in Curl_http()
2568 conn->allocptr.accept_encoding:"", in Curl_http()
2569 (data->change.referer && conn->allocptr.ref)? in Curl_http()
2570 conn->allocptr.ref:"" /* Referer: <data> */, in Curl_http()
2580 Curl_safefree(conn->allocptr.userpwd); in Curl_http()
2581 Curl_safefree(conn->allocptr.proxyuserpwd); in Curl_http()
2604 conn->allocptr.cookiehost? in Curl_http()
2605 conn->allocptr.cookiehost:host, in Curl_http()
3943 conn->allocptr.cookiehost? in Curl_http_readwrite_headers()
3944 conn->allocptr.cookiehost:conn->host.name, in Curl_http_readwrite_headers()