Commit 53bda39
Create stream timeout timer before ondata() opeartions
Originally, Timer for timeout is created after controller.add() where onCancel has been triggered. Timeout events will always be called.
Bug: #37565
Change-Id: I1504694cb746b6653d858effd7c5b33b07de6057
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/109725
Reviewed-by: Lasse R.H. Nielsen <[email protected]>
Commit-Queue: Zichang Guo <[email protected]>1 parent 65d544e commit 53bda39
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1561 | 1561 | | |
1562 | 1562 | | |
1563 | 1563 | | |
1564 | | - | |
1565 | 1564 | | |
| 1565 | + | |
| 1566 | + | |
| 1567 | + | |
| 1568 | + | |
1566 | 1569 | | |
1567 | 1570 | | |
1568 | 1571 | | |
| |||
0 commit comments