NetSurf
|
Information for a single fetch. More...
Data Fields | |
struct fetch * | fetch_handle |
The fetch handle we're parented by. More... | |
CURL * | curl_handle |
cURL handle if being fetched, or 0. More... | |
bool | sent_ssl_chain |
Have we tried to send the SSL chain. More... | |
bool | had_headers |
Headers have been processed. More... | |
bool | abort |
Abort requested. More... | |
bool | stopped |
Download stopped on purpose. More... | |
bool | only_2xx |
Only HTTP 2xx responses acceptable. More... | |
bool | downgrade_tls |
Downgrade to TLS 1.2. More... | |
nsurl * | url |
URL of this fetch. More... | |
lwc_string * | host |
The hostname of this fetch. More... | |
struct curl_slist * | headers |
List of request headers. More... | |
char * | location |
Response Location header, or 0. More... | |
unsigned long | content_length |
Response Content-Length, or 0. More... | |
char * | cookie_string |
Cookie string for this fetch. More... | |
char * | realm |
HTTP Auth Realm. More... | |
struct fetch_postdata * | postdata |
POST data. More... | |
NSCURL_POSTDATA_T * | curl_postdata |
POST data in curl representation. More... | |
long | http_code |
HTTP result code from cURL. More... | |
uint64_t | last_progress_update |
Time of last progress update. More... | |
int | cert_depth |
deepest certificate in use More... | |
struct cert_info | cert_data [MAX_CERT_DEPTH] |
HTTPS certificate data. More... | |
bool curl_fetch_info::abort |
Abort requested.
Definition at line 240 of file curl.c.
Referenced by fetch_curl_abort(), fetch_curl_data(), fetch_curl_done(), fetch_curl_header(), fetch_curl_process_headers(), and fetch_curl_progress().
struct cert_info curl_fetch_info::cert_data[MAX_CERT_DEPTH] |
unsigned long curl_fetch_info::content_length |
Response Content-Length, or 0.
Definition at line 248 of file curl.c.
Referenced by fetch_curl_header().
char* curl_fetch_info::cookie_string |
Cookie string for this fetch.
Definition at line 249 of file curl.c.
Referenced by fetch_curl_free(), and fetch_curl_set_options().
CURL* curl_fetch_info::curl_handle |
cURL handle if being fetched, or 0.
Definition at line 237 of file curl.c.
Referenced by fetch_curl_abort(), fetch_curl_data(), fetch_curl_done(), fetch_curl_free(), fetch_curl_process_headers(), fetch_curl_set_postdata(), and fetch_curl_stop().
NSCURL_POSTDATA_T* curl_fetch_info::curl_postdata |
POST data in curl representation.
Definition at line 252 of file curl.c.
Referenced by fetch_curl_free(), and fetch_curl_set_postdata().
bool curl_fetch_info::downgrade_tls |
Downgrade to TLS 1.2.
Definition at line 243 of file curl.c.
Referenced by fetch_curl_set_options().
struct fetch* curl_fetch_info::fetch_handle |
The fetch handle we're parented by.
Definition at line 236 of file curl.c.
Referenced by fetch_curl_abort(), fetch_curl_data(), fetch_curl_done(), fetch_curl_header(), fetch_curl_process_headers(), fetch_curl_progress(), fetch_curl_report_certs_upstream(), and fetch_curl_stop().
bool curl_fetch_info::had_headers |
Headers have been processed.
Definition at line 239 of file curl.c.
Referenced by fetch_curl_data(), fetch_curl_done(), and fetch_curl_process_headers().
struct curl_slist* curl_fetch_info::headers |
List of request headers.
Definition at line 246 of file curl.c.
Referenced by fetch_curl_free(), and fetch_curl_set_options().
lwc_string* curl_fetch_info::host |
The hostname of this fetch.
Definition at line 245 of file curl.c.
Referenced by fetch_curl_free(), and fetch_curl_stop().
long curl_fetch_info::http_code |
HTTP result code from cURL.
Definition at line 254 of file curl.c.
Referenced by fetch_curl_data(), and fetch_curl_process_headers().
uint64_t curl_fetch_info::last_progress_update |
Time of last progress update.
Definition at line 256 of file curl.c.
Referenced by fetch_curl_progress().
char* curl_fetch_info::location |
Response Location header, or 0.
Definition at line 247 of file curl.c.
Referenced by fetch_curl_free(), fetch_curl_header(), and fetch_curl_process_headers().
bool curl_fetch_info::only_2xx |
Only HTTP 2xx responses acceptable.
Definition at line 242 of file curl.c.
Referenced by fetch_curl_process_headers().
struct fetch_postdata* curl_fetch_info::postdata |
POST data.
Definition at line 251 of file curl.c.
Referenced by fetch_curl_free(), fetch_curl_process_headers(), and fetch_curl_set_postdata().
char* curl_fetch_info::realm |
HTTP Auth Realm.
Definition at line 250 of file curl.c.
Referenced by fetch_curl_free(), fetch_curl_header(), and fetch_curl_process_headers().
bool curl_fetch_info::sent_ssl_chain |
Have we tried to send the SSL chain.
Definition at line 238 of file curl.c.
Referenced by fetch_curl_done(), fetch_curl_header(), and fetch_curl_report_certs_upstream().
bool curl_fetch_info::stopped |
Download stopped on purpose.
Definition at line 241 of file curl.c.
Referenced by fetch_curl_data(), fetch_curl_done(), and fetch_curl_header().
nsurl* curl_fetch_info::url |
URL of this fetch.
Definition at line 244 of file curl.c.
Referenced by fetch_curl_abort(), fetch_curl_done(), fetch_curl_free(), fetch_curl_process_headers(), fetch_curl_report_certs_upstream(), fetch_curl_set_options(), and fetch_curl_stop().