| Asterisk - The Open Source Telephony Project GIT-master-27fb039
    | 
Context structure passed to ast_curl_header_default_cb. More...
#include <curl_utils.h>

| Data Fields | |
| int | _capture | 
| char * | debug_info | 
| struct ast_variable * | headers | 
| size_t | max_header_len | 
Context structure passed to ast_curl_header_default_cb.
Definition at line 163 of file curl_utils.h.
| int _capture | 
Definition at line 191 of file curl_utils.h.
Referenced by curl_header_cb().
| char* debug_info | 
Identifying info placed at the start of log and trace messages.
Definition at line 177 of file curl_utils.h.
Referenced by curl_download_to_memory(), curl_header_cb(), and curl_header_data_free().
| struct ast_variable* headers | 
This list will contain all the headers received.
Definition at line 182 of file curl_utils.h.
Referenced by curl_download_to_memory(), curl_header_cb(), and curl_header_data_free().
| size_t max_header_len | 
curl's default max header length is 100k but we rarely need that much. It's also possible that a malicious remote server could send tons of 100k headers in an attempt to cause an out-of-memory condition. Setting this value will cause us to simply ignore any header with a length that exceeds it. If not set, the length defined in AST_CURL_DEFAULT_MAX_HEADER_LEN will be used.
Definition at line 173 of file curl_utils.h.
Referenced by curl_header_cb().