Loading lib/http.c +6 −2 Original line number Diff line number Diff line Loading @@ -1568,11 +1568,15 @@ CURLcode Curl_http(struct connectdata *conn) Curl_pgrsSetUploadSize(data, http->postsize); } } else else { /* set the upload size to the progress meter */ Curl_pgrsSetUploadSize(data, data->set.infilesize); /* issue the request, headers-only */ /* set the pointer to mark that we will send the post body using the read callback */ http->postdata = (char *)&http->postdata; } /* issue the request */ result = add_buffer_send(req_buffer, conn->firstsocket, conn, &data->info.request_size); Loading Loading
lib/http.c +6 −2 Original line number Diff line number Diff line Loading @@ -1568,11 +1568,15 @@ CURLcode Curl_http(struct connectdata *conn) Curl_pgrsSetUploadSize(data, http->postsize); } } else else { /* set the upload size to the progress meter */ Curl_pgrsSetUploadSize(data, data->set.infilesize); /* issue the request, headers-only */ /* set the pointer to mark that we will send the post body using the read callback */ http->postdata = (char *)&http->postdata; } /* issue the request */ result = add_buffer_send(req_buffer, conn->firstsocket, conn, &data->info.request_size); Loading