UploadTransferHTTP(limit and msg fix)

After you have edited the source code, post your patch here.
Forum rules
Home | Wiki | Rules

UploadTransferHTTP(limit and msg fix)

Postby ivan386 » 12 Mar 2017 18:23

Attachments
UploadTransferHTTP(limit and msg fix).zip
(11.66 KiB) Downloaded 147 times
ivan386
 
Posts: 261
Joined: 17 Jun 2009 14:08

Re: UploadTransferHTTP(limit and msg fix)

Postby raspopov » 13 Mar 2017 17:10

User avatar
raspopov
Project Admin
 
Posts: 945
Joined: 13 Jun 2009 12:30

Re: UploadTransferHTTP(limit and msg fix)

Postby ivan386 » 13 Mar 2017 18:36

Клиент запрашивает данные в обратном направлении ( 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.
ivan386
 
Posts: 261
Joined: 17 Jun 2009 14:08

Re: UploadTransferHTTP(limit and msg fix)

Postby raspopov » 13 Mar 2017 19:16

Yep, I understand this already (drawn some graphs :-) ). Added in r9668.
User avatar
raspopov
Project Admin
 
Posts: 945
Joined: 13 Jun 2009 12:30


Return to Code Submission

Who is online

Users browsing this forum: No registered users and 1 guest