libgpac
Documentation of the core library of GPAC
__gf_download_session Struct Reference
+ Collaboration diagram for __gf_download_session:

Data Fields

u32 reserved
 
struct __gf_download_managerdm
 
GF_Thread * th
 
GF_Mutex * mx
 
GF_SessTaskftask
 
Bool in_callback
 
Bool destroy
 
u32 proxy_enabled
 
Bool allow_direct_reuse
 
char * log_name
 
char * server_name
 
u16 port
 
char * orig_url
 
char * orig_url_before_redirect
 
char * remote_path
 
GF_UserCredentials * creds
 
char cookie [GF_MAX_PATH]
 
DownloadedCacheEntry cache_entry
 
Bool reused_cache_entry
 
FILE * cached_file
 
u32 http_buf_size
 
char * http_buf
 
char * mime_type
 
GF_List * headers
 
u32 rsp_code
 
const char * netcap_id
 
GF_Socket * sock
 
u32 num_retry
 
GF_NetIOStatus status
 
u32 flags
 
u32 total_size
 
u32 bytes_done
 
u32 icy_metaint
 
u32 icy_count
 
u32 icy_bytes
 
u32 full_resource_size
 
u64 start_time
 
u32 nb_redirect
 
u32 bytes_per_sec
 
u32 max_data_rate
 
u64 start_time_utc
 
Bool rate_regulated
 
Bool last_chunk_found
 
Bool connection_close
 
Bool is_range_continuation
 
u32 needs_cache_reconfig
 
Bool needs_range
 
u64 range_start
 
u64 range_end
 
u32 connect_time
 
u32 ssl_setup_time
 
u32 reply_time
 
u32 total_time_since_req
 
u32 req_hdr_size
 
u32 rsp_hdr_size
 
enum REQUEST_TYPE http_read_type
 
GF_Err last_error
 
char * init_data
 
u32 init_data_size
 
Bool server_only_understand_get
 
Bool use_cache_file
 
Bool disable_cache
 
Bool force_data_write_callback
 
u32 connect_pending
 
void(* do_requests )(struct __gf_download_session *)
 
gf_dm_user_io user_proc
 
void * usr_cbk
 
Bool reassigned
 
Bool chunked
 
u32 nb_left_in_chunk
 
u32 current_chunk_size
 
u64 current_chunk_start
 
u64 request_start_time
 
u64 last_fetch_time
 
void * ext
 
char * remaining_data
 
u32 remaining_data_size
 
u32 conn_timeout
 
u32 request_timeout
 
Bool local_cache_only
 
Bool server_mode
 
u32 put_state
 
u64 last_cap_rate_time
 
u64 last_cap_rate_bytes
 
u32 last_cap_rate_bytes_per_sec
 
u64 last_chunk_start_time
 
u32 chunk_wnd_dur
 
u32 chunk_bytes
 
u32 chunk_header_bytes
 
u32 cumulated_chunk_header_bytes
 
Double cumulated_chunk_rate
 
u32 connection_timeout_ms
 
u8async_req_reply
 
u32 async_req_reply_size
 
u8async_buf
 
u32 async_buf_size
 
u32 async_buf_alloc
 
GF_SockGroup * sock_group
 

Field Documentation

◆ reserved

u32 __gf_download_session::reserved

◆ dm

struct __gf_download_manager* __gf_download_session::dm

◆ th

GF_Thread* __gf_download_session::th

◆ mx

GF_Mutex* __gf_download_session::mx

◆ ftask

GF_SessTask* __gf_download_session::ftask

◆ in_callback

Bool __gf_download_session::in_callback

◆ destroy

Bool __gf_download_session::destroy

◆ proxy_enabled

u32 __gf_download_session::proxy_enabled

◆ allow_direct_reuse

Bool __gf_download_session::allow_direct_reuse

◆ log_name

char* __gf_download_session::log_name

◆ server_name

char* __gf_download_session::server_name

◆ port

u16 __gf_download_session::port

◆ orig_url

char* __gf_download_session::orig_url

◆ orig_url_before_redirect

char* __gf_download_session::orig_url_before_redirect

◆ remote_path

char* __gf_download_session::remote_path

◆ creds

GF_UserCredentials* __gf_download_session::creds

◆ cookie

char __gf_download_session::cookie[GF_MAX_PATH]

◆ cache_entry

DownloadedCacheEntry __gf_download_session::cache_entry

◆ reused_cache_entry

Bool __gf_download_session::reused_cache_entry

◆ cached_file

FILE* __gf_download_session::cached_file

◆ http_buf_size

u32 __gf_download_session::http_buf_size

◆ http_buf

char* __gf_download_session::http_buf

◆ mime_type

char* __gf_download_session::mime_type

◆ headers

GF_List* __gf_download_session::headers

◆ rsp_code

u32 __gf_download_session::rsp_code

◆ netcap_id

const char* __gf_download_session::netcap_id

◆ sock

GF_Socket* __gf_download_session::sock

◆ num_retry

u32 __gf_download_session::num_retry

◆ status

GF_NetIOStatus __gf_download_session::status

◆ flags

u32 __gf_download_session::flags

◆ total_size

u32 __gf_download_session::total_size

◆ bytes_done

u32 __gf_download_session::bytes_done

◆ icy_metaint

u32 __gf_download_session::icy_metaint

◆ icy_count

u32 __gf_download_session::icy_count

◆ icy_bytes

u32 __gf_download_session::icy_bytes

◆ full_resource_size

u32 __gf_download_session::full_resource_size

◆ start_time

u64 __gf_download_session::start_time

◆ nb_redirect

u32 __gf_download_session::nb_redirect

◆ bytes_per_sec

u32 __gf_download_session::bytes_per_sec

◆ max_data_rate

u32 __gf_download_session::max_data_rate

◆ start_time_utc

u64 __gf_download_session::start_time_utc

◆ rate_regulated

Bool __gf_download_session::rate_regulated

◆ last_chunk_found

Bool __gf_download_session::last_chunk_found

◆ connection_close

Bool __gf_download_session::connection_close

◆ is_range_continuation

Bool __gf_download_session::is_range_continuation

◆ needs_cache_reconfig

u32 __gf_download_session::needs_cache_reconfig

◆ needs_range

Bool __gf_download_session::needs_range

◆ range_start

u64 __gf_download_session::range_start

◆ range_end

u64 __gf_download_session::range_end

◆ connect_time

u32 __gf_download_session::connect_time

◆ ssl_setup_time

u32 __gf_download_session::ssl_setup_time

◆ reply_time

u32 __gf_download_session::reply_time

◆ total_time_since_req

u32 __gf_download_session::total_time_since_req

◆ req_hdr_size

u32 __gf_download_session::req_hdr_size

◆ rsp_hdr_size

u32 __gf_download_session::rsp_hdr_size

◆ http_read_type

enum REQUEST_TYPE __gf_download_session::http_read_type

◆ last_error

GF_Err __gf_download_session::last_error

◆ init_data

char* __gf_download_session::init_data

◆ init_data_size

u32 __gf_download_session::init_data_size

◆ server_only_understand_get

Bool __gf_download_session::server_only_understand_get

◆ use_cache_file

Bool __gf_download_session::use_cache_file

◆ disable_cache

Bool __gf_download_session::disable_cache

◆ force_data_write_callback

Bool __gf_download_session::force_data_write_callback

◆ connect_pending

u32 __gf_download_session::connect_pending

◆ do_requests

void(* __gf_download_session::do_requests) (struct __gf_download_session *)

◆ user_proc

gf_dm_user_io __gf_download_session::user_proc

◆ usr_cbk

void* __gf_download_session::usr_cbk

◆ reassigned

Bool __gf_download_session::reassigned

◆ chunked

Bool __gf_download_session::chunked

◆ nb_left_in_chunk

u32 __gf_download_session::nb_left_in_chunk

◆ current_chunk_size

u32 __gf_download_session::current_chunk_size

◆ current_chunk_start

u64 __gf_download_session::current_chunk_start

◆ request_start_time

u64 __gf_download_session::request_start_time

◆ last_fetch_time

u64 __gf_download_session::last_fetch_time

◆ ext

void* __gf_download_session::ext

◆ remaining_data

char* __gf_download_session::remaining_data

◆ remaining_data_size

u32 __gf_download_session::remaining_data_size

◆ conn_timeout

u32 __gf_download_session::conn_timeout

◆ request_timeout

u32 __gf_download_session::request_timeout

◆ local_cache_only

Bool __gf_download_session::local_cache_only

◆ server_mode

Bool __gf_download_session::server_mode

◆ put_state

u32 __gf_download_session::put_state

◆ last_cap_rate_time

u64 __gf_download_session::last_cap_rate_time

◆ last_cap_rate_bytes

u64 __gf_download_session::last_cap_rate_bytes

◆ last_cap_rate_bytes_per_sec

u32 __gf_download_session::last_cap_rate_bytes_per_sec

◆ last_chunk_start_time

u64 __gf_download_session::last_chunk_start_time

◆ chunk_wnd_dur

u32 __gf_download_session::chunk_wnd_dur

◆ chunk_bytes

u32 __gf_download_session::chunk_bytes

◆ chunk_header_bytes

u32 __gf_download_session::chunk_header_bytes

◆ cumulated_chunk_header_bytes

u32 __gf_download_session::cumulated_chunk_header_bytes

◆ cumulated_chunk_rate

Double __gf_download_session::cumulated_chunk_rate

◆ connection_timeout_ms

u32 __gf_download_session::connection_timeout_ms

◆ async_req_reply

u8* __gf_download_session::async_req_reply

◆ async_req_reply_size

u32 __gf_download_session::async_req_reply_size

◆ async_buf

u8* __gf_download_session::async_buf

◆ async_buf_size

u32 __gf_download_session::async_buf_size

◆ async_buf_alloc

u32 __gf_download_session::async_buf_alloc

◆ sock_group

GF_SockGroup* __gf_download_session::sock_group