… | |
… | |
186 | rate_avail -= ol; |
186 | rate_avail -= ol; |
187 | |
187 | |
188 | int avail = rate_avail; |
188 | int avail = rate_avail; |
189 | |
189 | |
190 | // if we can split images, transfer up to mss packets if possible |
190 | // if we can split images, transfer up to mss packets if possible |
191 | // but never more 768 bytes more. |
191 | // but never 768 bytes more. |
192 | if (fxix) avail += min (768, mss - (ol % mss)); |
192 | if (fxix) avail += min (768, mss - (ol % mss)); |
193 | |
193 | |
194 | bg_scrub = BG_SCRUB_RATE; |
194 | bg_scrub = BG_SCRUB_RATE; |
195 | |
195 | |
196 | while (avail > 0) |
196 | while (avail > 0) |