Lines Matching refs:result
518 CURLcode result = CURLE_OK;
534 result = Curl_output_negotiate(conn, proxy);
535 if(result)
536 return result;
545 result = Curl_output_ntlm(conn, proxy);
546 if(result)
547 return result;
554 result = Curl_output_ntlm_wb(conn, proxy);
555 if(result)
556 return result;
563 result = Curl_output_digest(conn,
567 if(result)
568 return result;
579 result = http_output_basic(conn, proxy);
580 if(result)
581 return result;
622 CURLcode result = CURLE_OK;
657 result = output_auth_headers(conn, authproxy, request, path, TRUE);
658 if(result)
659 return result;
676 result = output_auth_headers(conn, authhost, request, path, FALSE);
681 return result;
1172 CURLcode result = Curl_add_buffer(in, s, strlen(s));
1174 return result;
1203 /* If current buffer size isn't enough to hold the result, use a
1304 CURLcode result;
1321 result = Curl_proxyCONNECT(conn, FIRSTSOCKET,
1324 if(CURLE_OK != result)
1325 return result;
1337 result = https_connecting(conn, done);
1338 if(result)
1339 return result;
1343 result = Curl_ssl_connect(conn, FIRSTSOCKET);
1344 if(result)
1345 return result;
1372 CURLcode result;
1376 result = Curl_ssl_connect_nonblocking(conn, FIRSTSOCKET, done);
1377 if(result)
1380 return result;
1507 CURLcode result = CURLE_OK;
1521 result = Curl_add_bufferf(req_buffer,
1523 if(result == CURLE_OK)
1527 return result;
1568 CURLcode result = Curl_add_bufferf(req_buffer, "%s\r\n",
1570 if(result)
1571 return result;
1588 CURLcode result;
1592 result = Curl_add_bufferf(req_buffer, "%s\r\n",
1594 if(result)
1595 return result;
1610 CURLcode result = CURLE_OK;
1613 result = Curl_gmtime(data->set.timevalue, &keeptime);
1614 if(result) {
1616 return result;
1641 result = Curl_add_bufferf(req_buffer,
1645 result = Curl_add_bufferf(req_buffer,
1649 result = Curl_add_bufferf(req_buffer,
1654 return result;
1665 CURLcode result=CURLE_OK;
1756 result = Curl_http_output_auth(conn, request, ppath, FALSE);
1757 if(result)
1758 return result;
1974 result = Curl_getformdata(data, &http->sendit, data->set.httppost,
1977 if(result)
1978 return result;
2120 result = Curl_add_bufferf(req_buffer, "%s ", request);
2121 if(result)
2122 return result;
2126 result = Curl_add_bufferf(req_buffer, "ftp://%s:%s@%s",
2130 result = Curl_add_buffer(req_buffer, ppath, strlen(ppath));
2131 if(result)
2132 return result;
2134 result =
2185 if(result)
2186 return result;
2209 result = Curl_add_bufferf(req_buffer, "Cookie: ");
2210 if(result)
2213 result = Curl_add_bufferf(req_buffer,
2216 if(result)
2224 if(addcookies && (CURLE_OK == result)) {
2226 result = Curl_add_bufferf(req_buffer, "Cookie: ");
2227 if(CURLE_OK == result) {
2228 result = Curl_add_bufferf(req_buffer, "%s%s",
2234 if(count && (CURLE_OK == result))
2235 result = Curl_add_buffer(req_buffer, "\r\n", 2);
2237 if(result)
2238 return result;
2243 result = Curl_add_timecondition(data, req_buffer);
2244 if(result)
2245 return result;
2248 result = Curl_add_custom_headers(conn, req_buffer);
2249 if(result)
2250 return result;
2264 result = Curl_add_bufferf(req_buffer, "Content-Length: 0\r\n\r\n");
2265 if(result)
2266 return result;
2268 result = Curl_add_buffer_send(req_buffer, conn,
2270 if(result)
2300 result = Curl_add_bufferf(req_buffer,
2303 if(result)
2304 return result;
2307 result = expect100(data, conn, req_buffer);
2308 if(result)
2309 return result;
2324 result = Curl_add_buffer(req_buffer, contentType, linelength);
2325 if(result)
2326 return result;
2330 result = Curl_add_buffer(req_buffer, "\r\n", 2);
2331 if(result)
2332 return result;
2338 result = Curl_add_buffer_send(req_buffer, conn,
2340 if(result)
2348 if(result) {
2350 return result;
2354 result = Curl_convert_form(data, http->sendit);
2355 if(result) {
2357 return result;
2372 result = Curl_add_bufferf(req_buffer,
2375 if(result)
2376 return result;
2379 result = expect100(data, conn, req_buffer);
2380 if(result)
2381 return result;
2383 result = Curl_add_buffer(req_buffer, "\r\n", 2); /* end of headers */
2384 if(result)
2385 return result;
2391 result = Curl_add_buffer_send(req_buffer, conn,
2393 if(result)
2400 if(result)
2401 return result;
2423 result = Curl_add_bufferf(req_buffer,
2426 if(result)
2427 return result;
2432 result = Curl_add_bufferf(req_buffer,
2435 if(result)
2436 return result;
2449 result = expect100(data, conn, req_buffer);
2450 if(result)
2451 return result;
2467 result = Curl_add_buffer(req_buffer, "\r\n", 2); /* end of headers! */
2468 if(result)
2469 return result;
2474 result = Curl_add_buffer(req_buffer, data->set.postfields,
2480 result = Curl_add_bufferf(req_buffer, "%x\r\n", (int)postsize);
2481 if(CURLE_OK == result)
2482 result = Curl_add_buffer(req_buffer, data->set.postfields,
2484 if(CURLE_OK == result)
2485 result = Curl_add_buffer(req_buffer,
2490 if(result)
2491 return result;
2508 result = Curl_add_buffer(req_buffer, "\r\n", 2); /* end of headers! */
2509 if(result)
2510 return result;
2514 result = Curl_add_buffer(req_buffer, "\r\n", 2); /* end of headers! */
2515 if(result)
2516 return result;
2521 result = Curl_add_buffer(req_buffer,
2524 if(result)
2525 return result;
2542 result = Curl_add_buffer_send(req_buffer, conn, &data->info.request_size,
2545 if(result)
2554 result = Curl_add_buffer(req_buffer, "\r\n", 2);
2555 if(result)
2556 return result;
2559 result = Curl_add_buffer_send(req_buffer, conn,
2562 if(result)
2570 if(result)
2571 return result;
2578 result = CURLE_ABORTED_BY_CALLBACK;
2592 return result;
2733 CURLcode result;
2751 result = header_append(data, k, *nread);
2752 if(result)
2753 return result;
2776 result = header_append(data, k, full_length);
2777 if(result)
2778 return result;
2879 result = Curl_client_write(conn, writetype,
2882 if(result)
2883 return result;
2895 result = Curl_http_auth_act(conn);
2897 if(result)
2898 return result;
3093 * result, it's not totally clear how to interpret the
3164 result = Curl_convert_from_network(data, k->p, strlen(k->p));
3166 if(result)
3167 return result;
3395 result = Curl_http_input_auth(conn, k->httpcode, k->p);
3396 if(result)
3397 return result;
3420 result = http_perhapsrewind(conn);
3421 if(result)
3422 return result;
3427 result = Curl_rtsp_parseheader(conn, k->p);
3428 if(result)
3429 return result;
3444 result = Curl_client_write(conn, writetype, k->p, k->hbuflen);
3445 if(result)
3446 return result;