/curl/lib/ |
H A D | curl_sasl.c | 350 struct bufref resp; in Curl_sasl_start() local 365 Curl_bufref_init(&resp); in Curl_sasl_start() 507 if(Curl_bufref_ptr(&resp)) in Curl_sasl_start() 508 result = build_message(sasl, &resp); in Curl_sasl_start() 512 Curl_bufref_free(&resp); in Curl_sasl_start() 523 Curl_bufref_free(&resp); in Curl_sasl_start() 538 struct bufref resp; in Curl_sasl_continue() local 552 Curl_bufref_init(&resp); in Curl_sasl_continue() 593 if(!result && Curl_bufref_len(&resp) > 0) in Curl_sasl_continue() 744 result = build_message(sasl, &resp); in Curl_sasl_continue() [all …]
|
H A D | c-hyper.c | 340 hyper_response *resp = NULL; in Curl_hyper_stream() local 437 resp = hyper_task_value(task); in Curl_hyper_stream() 441 if(!resp) { in Curl_hyper_stream() 463 headers = hyper_response_headers(resp); in Curl_hyper_stream() 506 resp_body = hyper_response_body(resp); in Curl_hyper_stream() 525 hyper_response_free(resp); in Curl_hyper_stream() 526 resp = NULL; in Curl_hyper_stream() 528 if(resp) in Curl_hyper_stream() 529 hyper_response_free(resp); in Curl_hyper_stream() 765 http_status = hyper_response_status(resp); in http1xx_cb() [all …]
|
H A D | cf-h2-proxy.c | 70 struct http_resp *resp; member 111 Curl_http_resp_free(ts->resp); in tunnel_stream_clear() 715 if(!ctx->tunnel.resp) in proxy_h2_on_frame_recv() 772 struct http_resp *resp; in proxy_h2_on_header() local 783 resp->prev = ctx->tunnel.resp; in proxy_h2_on_header() 784 ctx->tunnel.resp = resp; in proxy_h2_on_header() 790 if(!ctx->tunnel.resp) in proxy_h2_on_header() 989 DEBUGASSERT(ts->resp); in inspect_response() 990 if(ts->resp->status/100 == 2) { in inspect_response() 996 if(ts->resp->status == 401) { in inspect_response() [all …]
|
H A D | pop3.c | 106 const struct bufref *resp); 207 char *line, size_t len, int *resp) in pop3_endofresp() argument 214 *resp = '-'; in pop3_endofresp() 224 *resp = '+'; in pop3_endofresp() 227 *resp = '*'; in pop3_endofresp() 234 *resp = '+'; in pop3_endofresp() 241 *resp = '*'; in pop3_endofresp() 512 const struct bufref *resp) in pop3_continue_auth() argument 519 "%s", (const char *) Curl_bufref_ptr(resp)); in pop3_continue_auth()
|
H A D | imap.c | 110 const struct bufref *resp); 256 char *line, size_t len, int *resp) in imap_endofresp() argument 269 *resp = IMAP_RESP_OK; in imap_endofresp() 271 *resp = IMAP_RESP_PREAUTH; in imap_endofresp() 273 *resp = IMAP_RESP_NOT_OK; in imap_endofresp() 323 *resp = '*'; in imap_endofresp() 337 *resp = '+'; in imap_endofresp() 342 *resp = -1; in imap_endofresp() 573 const struct bufref *resp) in imap_continue_authenticate() argument 580 "%s", (const char *) Curl_bufref_ptr(resp)); in imap_continue_authenticate()
|
H A D | smtp.c | 111 const struct bufref *resp); 212 char *line, size_t len, int *resp) in smtp_endofresp() argument 232 *resp = curlx_sltosi(strtol(tmpline, NULL, 10)); in smtp_endofresp() 235 if(*resp == 1) in smtp_endofresp() 236 *resp = 0; in smtp_endofresp() 242 *resp = 1; /* Internal response code */ in smtp_endofresp() 459 const struct bufref *resp) in smtp_continue_auth() argument 466 "%s", (const char *) Curl_bufref_ptr(resp)); in smtp_continue_auth()
|
H A D | http.c | 4382 struct http_resp *resp; in Curl_http_resp_make() local 4385 resp = calloc(1, sizeof(*resp)); in Curl_http_resp_make() 4386 if(!resp) in Curl_http_resp_make() 4389 resp->status = status; in Curl_http_resp_make() 4392 if(!resp->description) in Curl_http_resp_make() 4400 if(result && resp) in Curl_http_resp_make() 4401 Curl_http_resp_free(resp); in Curl_http_resp_make() 4408 if(resp) { in Curl_http_resp_free() 4409 free(resp->description); in Curl_http_resp_free() 4412 if(resp->prev) in Curl_http_resp_free() [all …]
|
H A D | http.h | 299 void Curl_http_resp_free(struct http_resp *resp);
|
H A D | openldap.c | 109 const struct bufref *resp); 373 const struct bufref *resp) in oldap_continue_auth() argument 382 cred.bv_val = (char *) Curl_bufref_ptr(resp); in oldap_continue_auth() 383 cred.bv_len = Curl_bufref_len(resp); in oldap_continue_auth()
|
H A D | doh.c | 272 struct dynbuf *resp = &p->serverdoh; in dohprobe() local 280 ERROR_CHECK_SETOPT(CURLOPT_WRITEDATA, resp); in dohprobe()
|
H A D | ftp.c | 2233 char *resp = Curl_dyn_ptr(&pp->recvbuf) + 4; in ftp_state_mdtm_resp() local 2234 if(ftp_213_date(resp, &year, &month, &day, &hour, &minute, &second)) { in ftp_state_mdtm_resp()
|
/curl/tests/unit/ |
H A D | unit1650.c | 91 static const struct dohresp resp[] = { variable 186 for(i = 0; i < sizeof(resp) / sizeof(resp[0]); i++) { 193 rc = doh_decode((const unsigned char *)resp[i].packet, resp[i].size, 194 resp[i].type, &d); 195 if(rc != resp[i].rc) { 197 resp[i].rc, rc); 198 abort_if(rc != resp[i].rc, "return code"); 206 if(resp[i].type == DNS_TYPE_A) { 236 if(resp[i].out && strcmp((char *)buffer, resp[i].out)) { 238 resp[i].out, buffer); [all …]
|
/curl/scripts/ |
H A D | mk-ca-bundle.pl | 305 my $resp; 360 $resp = $ua->mirror($url, $txt); 361 if($resp && $resp->code eq '304') { 369 if(!$resp || $resp->code !~ /^(?:200|304)$/) { 371 . ($resp? $resp->code . ' - ' . $resp->message : "LWP failed"); 377 my $filedate = $resp ? $resp->last_modified : (stat($txt))[9];
|
/curl/lib/vauth/ |
H A D | digest_sspi.c | 402 char *resp; in Curl_auth_create_digest_http_message() local 622 resp = malloc(output_token_len + 1); in Curl_auth_create_digest_http_message() 623 if(!resp) { in Curl_auth_create_digest_http_message() 630 memcpy(resp, output_token, output_token_len); in Curl_auth_create_digest_http_message() 631 resp[output_token_len] = 0; in Curl_auth_create_digest_http_message() 634 *outptr = resp; in Curl_auth_create_digest_http_message()
|
/curl/tests/http/testenv/ |
H A D | curl.py | 221 def add_response(self, resp: Dict): 222 self._response = resp 223 self._responses.append(resp) 757 def fin_response(resp): argument 758 if resp: 759 r.add_response(resp)
|
/curl/docs/ |
H A D | FAQ | 364 them (resp.) are here
|