diff options
author | Daniel Stenberg <daniel@haxx.se> | 2019-02-27 22:30:32 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2019-02-27 22:30:32 +0100 |
commit | a066f8d16f1575af91b85b67d9de7c475ff0f9ad (patch) | |
tree | 893b9165ec38983fd40f85cdf84bbce3ef8e02a3 /src/macos | |
parent | eb433389411f778ed8e6b516a5b8fa35d57564ef (diff) | |
download | curl-bagder/http-formpost-infilesize.tar.gz |
http: set state.infilesize when sending formpostsbagder/http-formpost-infilesize
Without it set, we would unwillingly triger the "HTTP error before end
of send, stop sending" condition even if the entire POST body had been
sent (since it wouldn't know the expected size) which would
unnecessarily log that message and close the connection when it didn't
have to.
Reported-by: Matt McClure
Bug: https://curl.haxx.se/mail/archive-2019-02/0023.html
Diffstat (limited to 'src/macos')
0 files changed, 0 insertions, 0 deletions