Home
last modified time | relevance | path

Searched refs:per (Results 1 – 25 of 51) sorted by relevance

123

/curl/src/
H A Dtool_cb_rea.c48 struct per_transfer *per = userdata; in tool_read_cb() local
51 if((per->uploadfilesize != -1) && in tool_read_cb()
52 (per->uploadedsofar == per->uploadfilesize)) { in tool_read_cb()
59 long msdelta = tvdiff(now, per->start); in tool_read_cb()
77 FD_SET(per->infd, &bits); in tool_read_cb()
84 rc = read(per->infd, buffer, sz*nmemb); in tool_read_cb()
94 if((per->uploadfilesize != -1) && in tool_read_cb()
95 (per->uploadedsofar + rc > per->uploadfilesize)) { in tool_read_cb()
97 curl_off_t delta = per->uploadedsofar + rc - per->uploadfilesize; in tool_read_cb()
101 rc = (ssize_t)(per->uploadfilesize - per->uploadedsofar); in tool_read_cb()
[all …]
H A Dtool_progress.c89 per->dltotal = dltotal; in xferinfo_cb()
90 per->dlnow = dlnow; in xferinfo_cb()
91 per->ultotal = ultotal; in xferinfo_cb()
92 per->ulnow = ulnow; in xferinfo_cb()
94 if(per->abort) in xferinfo_cb()
198 for(per = transfers; per; per = per->next) { in progress_meter()
201 if(!per->dltotal) in progress_meter()
208 if(!per->ultotal) in progress_meter()
215 if(per->added) in progress_meter()
311 if(!per->dltotal_added) { in progress_finalize()
[all …]
H A Dtool_operate.c315 *per = p; in add_per_transfer()
345 free(per); in del_per_transfer()
752 if(per->heads.fopened && per->heads.stream) in post_per_transfer()
2400 per = per->next) { in add_parallel_transfers()
2401 if(per->added || per->skip) in add_parallel_transfers()
2675 for(per = transfers; per; per = per->next) { in parallel_event()
2818 for(per = transfers; per; per = per->next) { in parallel_transfers()
2865 for(per = transfers; per;) { in serial_transfers()
2926 per = del_per_transfer(per); in serial_transfers()
3131 for(per = transfers; per;) { in run_all_transfers()
[all …]
H A Dtool_writeout.c162 (void)per; in writeTime()
207 url = per->url; in urlpart()
275 if(!per->certinfo) { in certinfo()
317 certinfo(per); in writeString()
318 if(per->certinfo) { in writeString()
364 strinfo = (per->errorbuffer && per->errorbuffer[0]) ? in writeString()
376 if(per->url) { in writeString()
401 if(per->url) { in writeString()
453 certinfo(per); in writeLong()
454 longinfo = per->certinfo ? per->certinfo->num_of_certs : 0; in writeLong()
[all …]
H A Dtool_cb_hdr.c90 struct per_transfer *per = userdata; in tool_header_cb() local
92 struct OutStruct *outs = &per->outs; in tool_header_cb()
93 struct OutStruct *heads = &per->heads; in tool_header_cb()
100 if(!per->config) in tool_header_cb()
127 per->config->headerfile); in tool_header_cb()
221 if(per->config->output_dir) { in tool_header_cb()
275 if(per->was_last_header_empty) in tool_header_cb()
276 per->num_headers = 0; in tool_header_cb()
277 per->was_last_header_empty = FALSE; in tool_header_cb()
278 per->num_headers++; in tool_header_cb()
[all …]
H A Dtool_cb_see.c50 struct per_transfer *per = userdata; in tool_seek_cb() local
68 if(LSEEK_ERROR == lseek(per->infd, 0, SEEK_SET)) in tool_seek_cb()
74 if(LSEEK_ERROR == lseek(per->infd, step, SEEK_CUR)) in tool_seek_cb()
83 if(LSEEK_ERROR == lseek(per->infd, offset, whence)) in tool_seek_cb()
H A Dtool_writeout_json.h34 struct per_transfer *per, CURLcode per_result);
35 void headerJSON(FILE *stream, struct per_transfer *per);
H A Dtool_writeout_json.c102 struct per_transfer *per, CURLcode per_result) in ourWriteOutJSON() argument
110 mappings[i].writefunc(stream, &mappings[i], per, per_result, true)) in ourWriteOutJSON()
126 void headerJSON(FILE *stream, struct per_transfer *per) in headerJSON() argument
132 while((header = curl_easy_nextheader(per->curl, CURLH_HEADER, -1, in headerJSON()
152 if(curl_easy_header(per->curl, name, i, CURLH_HEADER, in headerJSON()
H A Dtool_cb_wrt.c138 struct per_transfer *per = userdata; in tool_write_cb() local
139 struct OutStruct *outs = &per->outs; in tool_write_cb()
140 struct OperationConfig *config = per->config; in tool_write_cb()
201 if(!outs->stream && !tool_create_output_file(outs, per->config)) in tool_write_cb()
349 if(per->hdrcbdata.headlist) { in tool_write_cb()
350 if(tool_write_headers(&per->hdrcbdata, outs->stream)) in tool_write_cb()
362 curl_easy_pause(per->curl, CURLPAUSE_CONT); in tool_write_cb()
H A Dtool_cb_prg.c137 struct per_transfer *per = clientp; in tool_progress_cb() local
138 struct OperationConfig *config = per->config; in tool_progress_cb()
139 struct ProgressData *bar = &per->progressbar; in tool_progress_cb()
229 curl_easy_pause(per->curl, CURLPAUSE_CONT); in tool_progress_cb()
H A Dtool_writeout.h109 struct per_transfer *per, CURLcode per_result,
113 void ourWriteOut(struct OperationConfig *config, struct per_transfer *per,
H A Dtool_progress.h37 void progress_finalize(struct per_transfer *per);
/curl/docs/cmdline-opts/
H A Drate.md23 transfer starts per time unit (sometimes called request rate). Without this
33 is number of transfers per hour.
35 If curl is told to allow 10 requests per minute, it does not start the next
39 more than 1000 per second, it instead runs unrestricted.
45 expression. Make curl do no more than 5 transfers per 15 seconds with "5/15s"
46 or limit it to 3 transfers per 4 hours with "3/4h". No spaces allowed.
H A Dspeed-limit.md21 If a transfer is slower than this set speed (in bytes per second) for a given
H A Dspeed-time.md20 If a transfer runs slower than speed-limit bytes per second during a
H A Dmail-rcpt.md23 should be specified as the username or username and domain (as per Section 3.5
H A Dconfig.md38 Only write one option per physical line in the config file. A single line is
83 On Windows two filenames are checked per location: *.curlrc* and *_curlrc*,
/curl/docs/libcurl/opts/
H A DCURLOPT_LOW_SPEED_LIMIT.md19 CURLOPT_LOW_SPEED_LIMIT - low speed limit in bytes per second
32 Pass a long as parameter. It contains the average transfer speed in bytes per
H A DCURLMOPT_MAX_HOST_CONNECTIONS.md48 similarly still treated as a per-connect timeout and might expire even before
68 /* do no more than 2 connections per host */
H A DCURLOPT_TFTP_BLKSIZE.md28 Specify *blocksize* to use for TFTP data transmission. Valid range as per
H A DCURLOPT_MAX_RECV_SPEED_LARGE.md32 (counted in bytes per second) the transfer pauses to keep the average speed
H A DCURLOPT_MAX_SEND_SPEED_LARGE.md31 this speed (counted in bytes per second) the transfer pauses to keep the
H A DCURLOPT_ABSTRACT_UNIX_SOCKET.md42 share the same storage and therefore only one of them can be set per handle.
H A DCURLOPT_TCP_NODELAY.md39 Maximizing the amount of data sent per TCP segment is good because it
/curl/docs/libcurl/
H A Dcurl_easy_unescape.md45 per-handle character conversion support for some old operating systems such as

Completed in 57 milliseconds

123