diff options
author | Patrick Monnerat <patrick@monnerat.net> | 2017-10-12 14:25:59 +0100 |
---|---|---|
committer | Patrick Monnerat <patrick@monnerat.net> | 2017-10-12 14:25:59 +0100 |
commit | 665b3e48bc95713ecceaddf445fc2049440a6fb3 (patch) | |
tree | 17e6220116aee5201c5df39fa709d32c8e503511 /src/macos/curl.mcp.xml.sit.hqx | |
parent | f64c05278e5fcd9425c3389b5cee84aa211677dc (diff) |
cli tool: reimplement stdin buffering in -F option.
If stdin is not a regular file, its content is memory-buffered to enable
a possible data "rewind".
In all cases, stdin data size is determined before real use to avoid
having an unknown part's size.
--libcurl generated code is left as an unbuffered stdin fread/fseek callback
part with unknown data size.
Buffering is not supported in deprecated curl_formadd() API.
Diffstat (limited to 'src/macos/curl.mcp.xml.sit.hqx')
0 files changed, 0 insertions, 0 deletions