Add the definition of SLAM_MAX_BLOCKS_PER_NACK, which is roughly equivalent to a TCP window size; it represents the maximum number of packets that will be requested in a single NACK. Note that, to keep the code size down, we still limit ourselves to requesting only a single range per NACK; if the missing-block list is discontiguous then we may request fewer than SLAM_MAX_BLOCKS_PER_NACK blocks.tags/v0.9.4
|
|
||
| 94 |
|
94 |
|
| 95 |
|
95 |
|
| 96 |
|
96 |
|
|
97 |
|
|
|
98 |
|
|
|
99 |
|
|
|
100 |
|
|
|
101 |
|
|
|
102 |
|
|
|
103 |
|
|
| 97 |
|
104 |
|
| 98 |
|
105 |
|
| 99 |
|
|
|
|
106 |
|
|
|
107 |
|
|
| 100 |
|
108 |
|
| 101 |
|
|
|
| 102 |
|
|
|
|
109 |
|
|
| 103 |
|
110 |
|
| 104 |
|
111 |
|
| 105 |
|
112 |
|
|
|
||
| 242 |
|
249 |
|
| 243 |
|
250 |
|
| 244 |
|
251 |
|
| 245 |
|
|
|
|
252 |
|
|
|
253 |
|
|
| 246 |
|
254 |
|
| 247 |
|
255 |
|
| 248 |
|
256 |
|
|
|
||
| 263 |
|
271 |
|
| 264 |
|
272 |
|
| 265 |
|
273 |
|
| 266 |
|
|
|
| 267 |
|
|
|
| 268 |
|
|
|
| 269 |
|
|
|
|
274 |
|
|
|
275 |
|
|
|
276 |
|
|
|
277 |
|
|
|
278 |
|
|
|
279 |
|
|
|
280 |
|
|
|
281 |
|
|
|
282 |
|
|
|
283 |
|
|
|
284 |
|
|
|
285 |
|
|
|
286 |
|
|
|
287 |
|
|
| 270 |
|
288 |
|
| 271 |
|
|
|
|
289 |
|
|
|
290 |
|
|
| 272 |
|
291 |
|
| 273 |
|
|
|
|
292 |
|
|
| 274 |
|
293 |
|
| 275 |
|
|
|
|
294 |
|
|
| 276 |
|
295 |
|
| 277 |
|
296 |
|
| 278 |
|
297 |
|