diff options
author | Daniel Silverstone <dsilvers@digital-scurf.org> | 2020-02-24 17:43:21 +0000 |
---|---|---|
committer | Daniel Silverstone <dsilvers@digital-scurf.org> | 2020-02-24 17:43:21 +0000 |
commit | 4c256408c5b21d20bf703571ba106f7bb6101ada (patch) | |
tree | 214ce6c2dd2ff9dc6832c3d10f887ff8cfae2c50 /include | |
parent | 02c5bde5a9f8a931ddeff425154bf63ebd82fce3 (diff) | |
download | netsurf-4c256408c5b21d20bf703571ba106f7bb6101ada.tar.gz netsurf-4c256408c5b21d20bf703571ba106f7bb6101ada.tar.bz2 |
fetch: Bump last_msg rather than always assigning it
If we are aborting a cURL fetch then it's possible entry to
cURL to clean up could cause a PROGRESS message to happen which
we need to not reset last_msg for, otherwise we spuriously attempt
to send an ERROR message during abort which is not a safe time for
our message callback to be used.
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions