Commit 3219dcf
committed
*: use per-stream Finished signal instead of shared sfin channel
Replace the shared sfin channel with stream.Finished(), giving each
stream its own completion signal. The shared channel worked for
single-stream-at-a-time. Per-stream signals are required for
multiplexing where multiple streams finish independently.1 parent 7221ab1 commit 3219dcf
3 files changed
Lines changed: 4 additions & 19 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
83 | | - | |
84 | 83 | | |
85 | 84 | | |
86 | 85 | | |
| |||
119 | 118 | | |
120 | 119 | | |
121 | 120 | | |
122 | | - | |
123 | | - | |
124 | 121 | | |
125 | 122 | | |
126 | 123 | | |
| |||
137 | 134 | | |
138 | 135 | | |
139 | 136 | | |
140 | | - | |
141 | 137 | | |
142 | 138 | | |
143 | 139 | | |
| |||
370 | 366 | | |
371 | 367 | | |
372 | 368 | | |
373 | | - | |
| 369 | + | |
374 | 370 | | |
375 | 371 | | |
376 | | - | |
| 372 | + | |
377 | 373 | | |
378 | 374 | | |
379 | 375 | | |
| |||
394 | 390 | | |
395 | 391 | | |
396 | 392 | | |
397 | | - | |
| 393 | + | |
398 | 394 | | |
399 | 395 | | |
400 | 396 | | |
| |||
407 | 403 | | |
408 | 404 | | |
409 | 405 | | |
410 | | - | |
| 406 | + | |
411 | 407 | | |
412 | 408 | | |
413 | 409 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
49 | 48 | | |
50 | 49 | | |
51 | 50 | | |
| |||
100 | 99 | | |
101 | 100 | | |
102 | 101 | | |
103 | | - | |
104 | 102 | | |
105 | 103 | | |
106 | 104 | | |
| |||
309 | 307 | | |
310 | 308 | | |
311 | 309 | | |
312 | | - | |
313 | | - | |
314 | | - | |
315 | 310 | | |
316 | 311 | | |
317 | 312 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | 26 | | |
33 | 27 | | |
34 | 28 | | |
| |||
0 commit comments