/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 438 resp = hyper_task_value(task); in Curl_hyper_stream() 442 if(!resp) { in Curl_hyper_stream() 465 headers = hyper_response_headers(resp); in Curl_hyper_stream() 508 resp_body = hyper_response_body(resp); in Curl_hyper_stream() 527 hyper_response_free(resp); in Curl_hyper_stream() 528 resp = NULL; in Curl_hyper_stream() 542 if(resp) in Curl_hyper_stream() 543 hyper_response_free(resp); in Curl_hyper_stream() 789 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() 718 if(!ctx->tunnel.resp) in proxy_h2_on_frame_recv() 775 struct http_resp *resp; in proxy_h2_on_header() local 786 resp->prev = ctx->tunnel.resp; in proxy_h2_on_header() 787 ctx->tunnel.resp = resp; in proxy_h2_on_header() 793 if(!ctx->tunnel.resp) in proxy_h2_on_header() 992 DEBUGASSERT(ts->resp); in inspect_response() 993 if(ts->resp->status/100 == 2) { in inspect_response() 999 if(ts->resp->status == 401) { in inspect_response() [all …]
|
H A D | pop3.c | 110 const struct bufref *resp); 263 char *line, size_t len, int *resp) in pop3_endofresp() argument 270 *resp = '-'; in pop3_endofresp() 280 *resp = '+'; in pop3_endofresp() 283 *resp = '*'; in pop3_endofresp() 290 *resp = '+'; in pop3_endofresp() 297 *resp = '*'; in pop3_endofresp() 568 const struct bufref *resp) in pop3_continue_auth() argument 575 "%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 | 4365 struct http_resp *resp; in Curl_http_resp_make() local 4368 resp = calloc(1, sizeof(*resp)); in Curl_http_resp_make() 4369 if(!resp) in Curl_http_resp_make() 4372 resp->status = status; in Curl_http_resp_make() 4375 if(!resp->description) in Curl_http_resp_make() 4383 if(result && resp) in Curl_http_resp_make() 4384 Curl_http_resp_free(resp); in Curl_http_resp_make() 4391 if(resp) { in Curl_http_resp_free() 4392 free(resp->description); in Curl_http_resp_free() 4395 if(resp->prev) in Curl_http_resp_free() [all …]
|
H A D | http.h | 294 void Curl_http_resp_free(struct http_resp *resp);
|
H A D | openldap.c | 109 const struct bufref *resp); 369 const struct bufref *resp) in oldap_continue_auth() argument 377 cred.bv_val = (char *) Curl_bufref_ptr(resp); in oldap_continue_auth() 378 cred.bv_len = Curl_bufref_len(resp); in oldap_continue_auth()
|
H A D | ftp.c | 2067 char *resp = Curl_dyn_ptr(&pp->recvbuf) + 4; in ftp_state_mdtm_resp() local 2068 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_resp_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 | 303 my $resp; 359 $resp = $ua->mirror($url, $txt); 360 if($resp && $resp->code eq '304') { 368 if(!$resp || $resp->code !~ /^(?:200|304)$/) { 370 . ($resp? $resp->code . ' - ' . $resp->message : "LWP failed"); 376 my $filedate = $resp ? $resp->last_modified : (stat($txt))[9];
|
/curl/lib/vauth/ |
H A D | digest_sspi.c | 404 char *resp; in Curl_auth_create_digest_http_message() local 626 resp = malloc(output_token_len + 1); in Curl_auth_create_digest_http_message() 627 if(!resp) { in Curl_auth_create_digest_http_message() 634 memcpy(resp, output_token, output_token_len); in Curl_auth_create_digest_http_message() 635 resp[output_token_len] = 0; in Curl_auth_create_digest_http_message() 638 *outptr = resp; in Curl_auth_create_digest_http_message()
|
/curl/tests/http/testenv/ |
H A D | curl.py | 306 def add_response(self, resp: Dict): 307 self._response = resp 308 self._responses.append(resp) 898 def fin_response(resp): argument 899 if resp: 900 r.add_response(resp)
|
/curl/docs/ |
H A D | FAQ | 364 them (resp.) are here
|