diff options
author | Michael Vogt <mvo@ubuntu.com> | 2015-01-05 10:27:53 +0100 |
---|---|---|
committer | Michael Vogt <mvo@ubuntu.com> | 2015-01-05 10:27:53 +0100 |
commit | 9127d7aecf01f2999a2589e4b0503288518b2927 (patch) | |
tree | 27eff97a29ea4946f02168f02f460a57e54988c5 /methods/mirror.h | |
parent | 0312a4ab115195b3b34ddf5a7a50ee1a07a59d1a (diff) |
Fix missing URIStart() for https downloads
Add a explicit ReceivedData to HttpsMethod that indicates when
we got data from the connection so that we can send URISTart()
to the parent.
This is needed because URIStart got moved in f9b4f12d from
the progress_callback to write_data() and it only checks for
Res.Size. In the old code if progress_callback is called by
libcurl (and sets Res.Size) before write_data is called then
URIStart() is never send. Making this a explicit ReceivedData
variable fixes this issue.
Diffstat (limited to 'methods/mirror.h')
0 files changed, 0 insertions, 0 deletions