Displaying 2 results from an estimated 2 matches for "usp_param".
Did you mean:
tmp_param
2020 Jul 15
0
[PATCH nbdkit v2] curl: Implement header and cookie scripts.
...ed) == NULL) {
+ fprintf (stderr, "%s: no/incorrect iteration cookie in request\n",
+ program_name);
+ exit (EXIT_FAILURE);
+ }
+}
+
+static char buf[512];
+
+int
+main (int argc, char *argv[])
+{
+ const char *sockpath;
+ struct nbd_handle *nbd;
+ CLEANUP_FREE char *usp_param = NULL;
+
+#ifndef HAVE_CURLOPT_UNIX_SOCKET_PATH
+ fprintf (stderr, "%s: curl does not support CURLOPT_UNIX_SOCKET_PATH\n",
+ program_name);
+ exit (77);
+#endif
+
+ sockpath = web_server ("disk", check_request);
+ if (sockpath == NULL) {
+ fprintf (stderr, &quo...
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.