|
|
|
|
@ -65,6 +65,7 @@ int notify_nverify;
|
|
|
|
|
int notify_threads = 5;
|
|
|
|
|
int notify_retries = 10;
|
|
|
|
|
int notify_record;
|
|
|
|
|
int notify_purge;
|
|
|
|
|
|
|
|
|
|
static GQueue threads = G_QUEUE_INIT; // only accessed from main thread
|
|
|
|
|
|
|
|
|
|
@ -221,7 +222,8 @@ static void options(int *argc, char ***argv) {
|
|
|
|
|
{ "notify-concurrency", 0, 0, G_OPTION_ARG_INT, ¬ify_threads,"How many simultaneous requests", "INT" },
|
|
|
|
|
{ "notify-retries", 0, 0, G_OPTION_ARG_INT, ¬ify_retries,"How many times to retry failed requesets","INT" },
|
|
|
|
|
#if CURL_AT_LEAST_VERSION(7,56,0)
|
|
|
|
|
{ "notify-record", 0, 0, G_OPTION_ARG_NONE, ¬ify_record, "Also attach recorded file to request", NULL },
|
|
|
|
|
{ "notify-record", 0, 0, G_OPTION_ARG_NONE, ¬ify_record, "Also attach recorded file to request", NULL },
|
|
|
|
|
{ "notify-purge", 0, 0, G_OPTION_ARG_NONE, ¬ify_purge, "Remove the local file if notify success", NULL },
|
|
|
|
|
#endif
|
|
|
|
|
{ NULL, }
|
|
|
|
|
};
|
|
|
|
|
|