diff options
-rw-r--r-- | src/tool_operate.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/tool_operate.c b/src/tool_operate.c index ad378e74a..b9183c22a 100644 --- a/src/tool_operate.c +++ b/src/tool_operate.c @@ -1227,8 +1227,6 @@ static CURLcode single_transfer(struct GlobalConfig *global, } #endif - my_setopt_str(curl, CURLOPT_URL, per->this_url); - if(!config->tcp_nodelay) my_setopt(curl, CURLOPT_TCP_NODELAY, 0L); @@ -1267,6 +1265,7 @@ static CURLcode single_transfer(struct GlobalConfig *global, else my_setopt(curl, CURLOPT_BUFFERSIZE, (long)BUFFER_SIZE); + my_setopt_str(curl, CURLOPT_URL, per->this_url); my_setopt(curl, CURLOPT_NOPROGRESS, global->noprogress?1L:0L); if(config->no_body) my_setopt(curl, CURLOPT_NOBODY, 1L); |