Lines Matching refs:ctx
171 struct cf_proxy_ctx *ctx = cf->ctx;
186 if(!ctx->cf_protocol) {
220 ctx->cf_protocol = cf_protocol;
230 DEBUGASSERT(ctx->cf_protocol);
262 struct cf_proxy_ctx *ctx = cf->ctx;
266 free(ctx);
272 struct cf_proxy_ctx *ctx = cf->ctx;
276 if(ctx->cf_protocol) {
281 if(f == ctx->cf_protocol) {
283 Curl_conn_cf_discard_sub(cf, ctx->cf_protocol, data, FALSE);
287 ctx->cf_protocol = NULL;
316 struct cf_proxy_ctx *ctx = NULL;
320 ctx = calloc(1, sizeof(*ctx));
321 if(!ctx) {
325 result = Curl_cf_create(&cf, &Curl_cft_http_proxy, ctx);
328 ctx = NULL;
332 free(ctx);