- Notifications
You must be signed in to change notification settings - Fork1.2k
Commit5d5a036
committed
quic: handle streams moving from the data queue to the meta queue
In Conn.appendStreamFrames, a stream can be moved from thedata queue (for streams with only flow-controlled frames to send)to the metadata queue (for streams with non-flow-controlled framesto send) if some other goroutine asynchronously modifies thestream state.Adjust the check at the end of this function to clear the needSendbool only if queueMeta and queueData are both empty, to avoidlosing track of the need to send frames when this happens.Forgolang/go#58547Change-Id: Ib9ad3b01f543cd7673f5233ceb58b2db9adfff5aReviewed-on:https://go-review.googlesource.com/c/net/+/531656LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>Reviewed-by: Jonathan Amsterdam <jba@google.com>1 parent350aad2 commit5d5a036
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
372 | 372 | | |
373 | 373 | | |
374 | 374 | | |
375 | | - | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
376 | 378 | | |
377 | 379 | | |
378 | 380 | | |
| |||
0 commit comments
Comments
(0)