Loading src/tool_cfgable.h +3 −0 Original line number Diff line number Diff line Loading @@ -27,6 +27,8 @@ #include "tool_metalink.h" struct GlobalConfig; struct OperationConfig { CURL *easy; /* A copy of the handle from GlobalConfig */ bool remote_time; Loading Loading @@ -213,6 +215,7 @@ struct OperationConfig { bool nonpn; /* enable/disable TLS NPN extension */ bool noalpn; /* enable/disable TLS ALPN extension */ struct GlobalConfig *global; struct OperationConfig* prev; struct OperationConfig* next; /* Always last in the struct */ }; Loading src/tool_getparam.c +3 −0 Original line number Diff line number Diff line Loading @@ -1838,6 +1838,9 @@ ParameterError parse_args(struct GlobalConfig *config, int argc, /* Copy the easy handle */ operation->next->easy = config->easy; /* Set the global config pointer */ operation->next->global = config; /* Update the last operation pointer */ config->last = operation->next; Loading src/tool_parsecfg.c +3 −0 Original line number Diff line number Diff line Loading @@ -236,6 +236,9 @@ int parseconfig(const char *filename, struct GlobalConfig *global) /* Copy the easy handle */ operation->next->easy = global->easy; /* Set the global config pointer */ operation->next->global = global; /* Update the last operation pointer */ global->last = operation->next; Loading Loading
src/tool_cfgable.h +3 −0 Original line number Diff line number Diff line Loading @@ -27,6 +27,8 @@ #include "tool_metalink.h" struct GlobalConfig; struct OperationConfig { CURL *easy; /* A copy of the handle from GlobalConfig */ bool remote_time; Loading Loading @@ -213,6 +215,7 @@ struct OperationConfig { bool nonpn; /* enable/disable TLS NPN extension */ bool noalpn; /* enable/disable TLS ALPN extension */ struct GlobalConfig *global; struct OperationConfig* prev; struct OperationConfig* next; /* Always last in the struct */ }; Loading
src/tool_getparam.c +3 −0 Original line number Diff line number Diff line Loading @@ -1838,6 +1838,9 @@ ParameterError parse_args(struct GlobalConfig *config, int argc, /* Copy the easy handle */ operation->next->easy = config->easy; /* Set the global config pointer */ operation->next->global = config; /* Update the last operation pointer */ config->last = operation->next; Loading
src/tool_parsecfg.c +3 −0 Original line number Diff line number Diff line Loading @@ -236,6 +236,9 @@ int parseconfig(const char *filename, struct GlobalConfig *global) /* Copy the easy handle */ operation->next->easy = global->easy; /* Set the global config pointer */ operation->next->global = global; /* Update the last operation pointer */ global->last = operation->next; Loading