mirror of
https://github.com/curl/curl.git
synced 2026-05-28 19:37:30 +03:00
tool_operate: reset the upload glob counter for next URL
Fixes #21402 Adjust test 2012 and 2013 accordingly Closes #21403
This commit is contained in:
parent
dcf535629b
commit
b16be8e244
3 changed files with 1 additions and 10 deletions
|
|
@ -1364,6 +1364,7 @@ static CURLcode create_single(struct OperationConfig *config,
|
|||
glob_cleanup(&state->inglob);
|
||||
state->upidx = 0;
|
||||
state->urlnode = u->next; /* next node */
|
||||
state->upnum = 1;
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -82,11 +82,6 @@ Host: %HOSTIP:%HTTPPORT
|
|||
User-Agent: curl/%VERSION
|
||||
Accept: */*
|
||||
|
||||
GET /%TESTNUMBER0002 HTTP/1.1
|
||||
Host: %HOSTIP:%HTTPPORT
|
||||
User-Agent: curl/%VERSION
|
||||
Accept: */*
|
||||
|
||||
</protocol>
|
||||
<stdout>
|
||||
%EMPTY
|
||||
|
|
|
|||
|
|
@ -77,11 +77,6 @@ Host: %HOSTIP:%HTTPPORT
|
|||
User-Agent: curl/%VERSION
|
||||
Accept: */*
|
||||
|
||||
GET /%TESTNUMBER0002 HTTP/1.1
|
||||
Host: %HOSTIP:%HTTPPORT
|
||||
User-Agent: curl/%VERSION
|
||||
Accept: */*
|
||||
|
||||
</protocol>
|
||||
<stdout>
|
||||
%EMPTY
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue