On 10/30/2017 06:25 PM, Rudy via curl-library wrote:
On 10/10/2017 02:06 AM, Erik Johansson wrote:
On 9 October 2017 at 19:17, Rudy via curl-library
<[email protected] <mailto:[email protected]>> wrote:
Goal:
slow_script.pl <http://slow_script.pl> | curl
"-FmyUpload=@-;filename=foo.txt" --wait-for-eof-for-upload
https://user:[email protected]/upload.php
<https://user:[email protected]/upload.php>
Or install moreutils and use sponge.
slow_script.pl <http://slow_script.pl> | sponge | curl ...
That doesn't work as items in the pipeline are all executed
simultaneously. (Curl starts before sponge finishes.)
It should work with 7.56.1 without any trick since full stdin buffering
for form fields is now re-established in the cli tool.
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html