|
|
cURL Mailing List Monthly Index Single Mail
curl-tracker mailing list Archives
[ curl-Bugs-2844110 ] 7.19.6: Uploads from stdin stall
From: SourceForge.net <noreply_at_sourceforge.net>
Date: Tue, 25 Aug 2009 09:13:25 +0000
Bugs item #2844110, was opened at 2009-08-25 10:47
Please note that this message will contain a full copy of the comment thread,
Initial Comment:
- cURL is reading from stdin, which is a pipe
The transfer will stall as soon as cURL exhausts the pipe for the first time (read() will return -1, errno will be EAGAIN). From this point forward, cURL will attempt no further reads. The amount of data transferred varies widely, from zero up to many MB.
This does not happen if stdin is an input redirection from an existing file.
Artificially slowing down cURL, for example by attaching a process trace, will in some cases allow the transfer to complete. "nice -n 19", on an otherwise unloaded system, will not help.
This behavior started with the upgrade from cURL 7.19.5 to 7.19.6 on the affected system. Reverting to version 7.19.5 solved the problem.
----------------------------------------------------------------------
>Comment By: Daniel Stenberg (bagder)
Message:
----------------------------------------------------------------------
You can respond by visiting:
These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info