diff options
author | Steve Holme <steve_holme@hotmail.com> | 2013-09-08 10:30:43 +0100 |
---|---|---|
committer | Steve Holme <steve_holme@hotmail.com> | 2013-09-09 07:40:38 +0100 |
commit | e20e48cbf2a93c0fba7b0018f37de2cacd4df19f (patch) | |
tree | 667525bec20b56209a6b2aa9428907247f2e969c /src/tool_convert.c | |
parent | ee5e2cf6cbe78da65275e7e08e78266b1686811a (diff) |
imap: Fixed calculation of transfer when partial FETCH received
The transfer size would be calculated incorrectly if the email contained
within the FETCH response, had been partially received by the pingpong
layer. As such the following, example output, would be seen if the
amount remaining was smaller than the amount received:
* Excess found in a non pipelined read: excess = 1394, size = 262,
maxdownload = 262, bytecount = 1374
* transfer closed with -1112 bytes remaining to read
Bug: http://curl.haxx.se/mail/lib-2013-08/0170.html
Reported-by: John Dunn
Diffstat (limited to 'src/tool_convert.c')
0 files changed, 0 insertions, 0 deletions