diff options
author | Daniel Stenberg <daniel@haxx.se> | 2017-11-04 12:56:30 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2017-11-04 20:56:26 +0100 |
commit | ee8016b3de0b0e3e9a352a1123c5e6272848aa55 (patch) | |
tree | 65362606421074a0e5fc9582175afba34e47e5a6 /src/tool_cfgable.h | |
parent | 90abb74ff0e3134d8647722cee36b1815c14143d (diff) |
curl: speed up handling of many URLs
By properly keeping track of the last entry in the list of URLs/uploads
to handle, curl now avoids many meaningless traverses of the list which
speeds up many-URL handling *MASSIVELY* (several magnitudes on 100K
URLs).
Added test 1291, to verify that it doesn't take ages - but we don't have
any detection of "too slow" command in the test suite.
Reported-by: arainchik on github
Fixes #1959
Closes #2052
Diffstat (limited to 'src/tool_cfgable.h')
-rw-r--r-- | src/tool_cfgable.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tool_cfgable.h b/src/tool_cfgable.h index 23943fe7b..ddfc9bfce 100644 --- a/src/tool_cfgable.h +++ b/src/tool_cfgable.h @@ -114,6 +114,7 @@ struct OperationConfig { struct getout *url_last; /* point to the last/current node */ struct getout *url_get; /* point to the node to fill in URL */ struct getout *url_out; /* point to the node to fill in outfile */ + struct getout *url_ul; /* point to the node to fill in upload */ char *cipher_list; char *proxy_cipher_list; char *cert; |