NetSurf
Data Fields
llcache_fetch_ctx Struct Reference

Low-level cache object fetch context. More...

Collaboration diagram for llcache_fetch_ctx:
[legend]

Data Fields

uint32_t flags
 Fetch flags. More...
 
nsurlreferer
 Referring URL, or NULL if none. More...
 
llcache_post_datapost
 POST data, or NULL for GET. More...
 
struct fetchfetch
 Fetch handle for this object. More...
 
llcache_fetch_state state
 Current state of object fetch. More...
 
uint32_t redirect_count
 Count of redirects followed. More...
 
uint32_t retries_remaining
 Number of times to retry on timeout. More...
 
bool hsts_in_use
 Whether HSTS applies to this fetch. More...
 
bool tried_with_auth
 Whether we've tried with auth. More...
 
bool tried_with_tls_downgrade
 Whether we've tried TLS 1.2. More...
 
bool tainted_tls
 Whether the TLS transport is tainted. More...
 

Detailed Description

Low-level cache object fetch context.

Definition at line 102 of file llcache.c.

Field Documentation

◆ fetch

struct fetch* llcache_fetch_ctx::fetch

◆ flags

uint32_t llcache_fetch_ctx::flags

Fetch flags.

Definition at line 103 of file llcache.c.

Referenced by llcache_fetch_redirect(), llcache_object_notify_users(), and llcache_object_refetch().

◆ hsts_in_use

bool llcache_fetch_ctx::hsts_in_use

Whether HSTS applies to this fetch.

Definition at line 115 of file llcache.c.

Referenced by llcache_fetch_cert_error(), and llcache_fetch_ssl_error().

◆ post

llcache_post_data* llcache_fetch_ctx::post

POST data, or NULL for GET.

Definition at line 105 of file llcache.c.

Referenced by llcache_object_destroy(), and llcache_object_refetch().

◆ redirect_count

uint32_t llcache_fetch_ctx::redirect_count

Count of redirects followed.

Definition at line 111 of file llcache.c.

Referenced by llcache_fetch_redirect().

◆ referer

nsurl* llcache_fetch_ctx::referer

Referring URL, or NULL if none.

Definition at line 104 of file llcache.c.

Referenced by llcache_fetch_redirect(), llcache_object_destroy(), and llcache_object_refetch().

◆ retries_remaining

uint32_t llcache_fetch_ctx::retries_remaining

Number of times to retry on timeout.

Definition at line 113 of file llcache.c.

Referenced by llcache_fetch_timeout().

◆ state

llcache_fetch_state llcache_fetch_ctx::state

Current state of object fetch.

Definition at line 109 of file llcache.c.

Referenced by llcache_fetch_process_data(), llcache_object_is_fresh(), and llcache_object_snapshot().

◆ tainted_tls

bool llcache_fetch_ctx::tainted_tls

Whether the TLS transport is tainted.

Definition at line 121 of file llcache.c.

Referenced by llcache_hsts_update_policy().

◆ tried_with_auth

bool llcache_fetch_ctx::tried_with_auth

Whether we've tried with auth.

Definition at line 117 of file llcache.c.

Referenced by llcache_fetch_auth().

◆ tried_with_tls_downgrade

bool llcache_fetch_ctx::tried_with_tls_downgrade

Whether we've tried TLS 1.2.

Definition at line 119 of file llcache.c.

Referenced by llcache_fetch_ssl_error(), and llcache_object_refetch().


The documentation for this struct was generated from the following file: