Lines Matching refs:result
72 CURLcode result; in cf_haproxy_date_out_set() local
82 result = Curl_dyn_addn(&ctx->data_out, STRCONST("PROXY UNKNOWN\r\n")); in cf_haproxy_date_out_set()
85 result = Curl_conn_cf_get_ip_info(cf->next, data, &is_ipv6, &ipquad); in cf_haproxy_date_out_set()
86 if(result) in cf_haproxy_date_out_set()
87 return result; in cf_haproxy_date_out_set()
95 result = Curl_dyn_addf(&ctx->data_out, "PROXY %s %s %s %i %i\r\n", in cf_haproxy_date_out_set()
103 return result; in cf_haproxy_date_out_set()
111 CURLcode result; in cf_haproxy_connect() local
120 result = cf->next->cft->do_connect(cf->next, data, blocking, done); in cf_haproxy_connect()
121 if(result || !*done) in cf_haproxy_connect()
122 return result; in cf_haproxy_connect()
126 result = cf_haproxy_date_out_set(cf, data); in cf_haproxy_connect()
127 if(result) in cf_haproxy_connect()
137 &result); in cf_haproxy_connect()
139 if(result != CURLE_AGAIN) in cf_haproxy_connect()
141 result = CURLE_OK; in cf_haproxy_connect()
146 result = CURLE_OK; in cf_haproxy_connect()
158 *done = (!result) && (ctx->state == HAPROXY_DONE); in cf_haproxy_connect()
160 return result; in cf_haproxy_connect()
216 CURLcode result; in cf_haproxy_create() local
221 result = CURLE_OUT_OF_MEMORY; in cf_haproxy_create()
227 result = Curl_cf_create(&cf, &Curl_cft_haproxy, ctx); in cf_haproxy_create()
228 if(result) in cf_haproxy_create()
234 *pcf = result ? NULL : cf; in cf_haproxy_create()
235 return result; in cf_haproxy_create()
242 CURLcode result; in Curl_cf_haproxy_insert_after() local
244 result = cf_haproxy_create(&cf, data); in Curl_cf_haproxy_insert_after()
245 if(result) in Curl_cf_haproxy_insert_after()
250 return result; in Curl_cf_haproxy_insert_after()