#include "setup.h"#include <stdio.h>#include <string.h>#include <curl/curl.h>#include "urldata.h"#include "sendf.h"#include "multiif.h"#include "speedcheck.h"Go to the source code of this file.
Functions | |
| void | Curl_speedinit (struct SessionHandle *data) |
| CURLcode | Curl_speedcheck (struct SessionHandle *data, struct timeval now) |
| CURLcode Curl_speedcheck | ( | struct SessionHandle * | data, | |
| struct timeval | now | |||
| ) |
Definition at line 40 of file speedcheck.c.
References Curl_expire(), Curl_tvdiff, Curl_tvlong(), CURLE_OK, CURLE_OPERATION_TIMEOUTED, Progress::current_speed, failf, UrlState::keeps_speed, UserDefined::low_speed_limit, UserDefined::low_speed_time, SessionHandle::progress, SessionHandle::set, and SessionHandle::state.
Referenced by Curl_file(), Curl_readwrite(), and file_upload().
| void Curl_speedinit | ( | struct SessionHandle * | data | ) |
Definition at line 35 of file speedcheck.c.
References UrlState::keeps_speed, and SessionHandle::state.
Referenced by Curl_readwrite_init().
1.5.6