search for: header_script_renew

Displaying 3 results from an estimated 3 matches for "header_script_renew".

2020 Jul 15
0
[PATCH nbdkit v2] curl: Implement header and cookie scripts.
...FS_H +#define NBDKIT_CURLDEFS_H + +extern const char *url; + +extern const char *cainfo; +extern const char *capath; +extern char *cookie; +extern const char *cookie_script; +extern unsigned cookie_script_renew; +extern struct curl_slist *headers; +extern const char *header_script; +extern unsigned header_script_renew; +extern char *password; +extern long protocols; +extern const char *proxy; +extern char *proxy_password; +extern const char *proxy_user; +extern bool sslverify; +extern bool tcp_keepalive; +extern bool tcp_nodelay; +extern uint32_t timeout; +extern const char *unix_socket_path; +extern const char...
2020 Jul 15
2
[PATCH nbdkit v2] curl: Implement header and cookie scripts.
Evolution of this patch series: https://www.redhat.com/archives/libguestfs/2020-July/thread.html#00073 Instead of auth-script, this implements header-script and cookie-script. It can be used for similar purposes but the implementation is somewhat saner. Rich.
2020 Jul 20
1
Re: [PATCH nbdkit v2] curl: Implement header and cookie scripts.
...const char *user_agent = NULL; > +const char *cainfo = NULL; > +const char *capath = NULL; > +char *cookie = NULL; > +const char *cookie_script = NULL; > +unsigned cookie_script_renew = 0; > +struct curl_slist *headers = NULL; > +const char *header_script = NULL; > +unsigned header_script_renew = 0; > +char *password = NULL; All of these variables are already guaranteed zero-initialized without being explicit, > +long protocols = CURLPROTO_ALL; although consistency with this initialization (which is not necessarily 0) makes sense. > @@ -450,7 +490,11 @@ curl_open (int reado...