Page 1 of 1

UploadTransferHTTP(limit and msg fix)

PostPosted: 12 Mar 2017 18:23
by ivan386

Re: UploadTransferHTTP(limit and msg fix)

PostPosted: 13 Mar 2017 17:10
by raspopov

Re: UploadTransferHTTP(limit and msg fix)

PostPosted: 13 Mar 2017 18:36
by ivan386
Клиент запрашивает данные в обратном направлении ( m_bBackwards ). Это происходит при загрузке последнего куска когда один источник в отдаёт в прямом направлении а второй в обратном до их пересечения. Тогда оба соединения обрываются.

Если сработал лимит и не выровнять по правому краю при m_bBackwards то за ним останется пустой кусок. А оба соединения оборвутся до полной загрузки файла.

GT:
The client requests data in the opposite direction (m_bBackwards). This happens when the last piece is loaded when one source is given in the forward direction and the other in the reverse one until they intersect. Then both connections terminate.

If the limit is triggered and not right aligned with m_bBackwards, then there will be an empty piece behind it. And both connections terminate before the file is fully downloaded.

Re: UploadTransferHTTP(limit and msg fix)

PostPosted: 13 Mar 2017 19:16
by raspopov
Yep, I understand this already (drawn some graphs :-) ). Added in r9668.