Closed bkonyi closed 3 weeks ago
cc @kenzieschmoll
Summary: This issue addresses two bugs in the Dart network profiler: Socket data displays addresses in a confusing format, and HTTP requests don't show as completed if HttpClientResponse.listen
isn't called. The fix improves the user experience by displaying addresses correctly and ensuring HTTP requests are properly marked as completed.
lgtm
@itsjustkevin is this safe to merge?
Yes @bkonyi please merge.
Commit(s) to merge
791163eef8dd8d2deaaaf5e9c3ecb96308d8a7b3
Target
beta
Prepared changelist for beta/stable
https://dart-review.googlesource.com/c/sdk/+/376125
Issue Description
InternetAddress(<address>, <address type>)
HttpClientResponse.listen
isn't invoked, HTTP requests never show up as completed in the network profilerWhat is the fix
.address
onInternetAddress
instead of.toString()
HttpClientResponse
is drained, not onlyWhy cherry-pick
The network page is difficult to use and confusing for Socket traffic without this change. We have several users blocked by this broken experience. The issue had 10 upvotes, several other duplicate issues filed, and chatter on Discord.
Risk
Low
Issue link(s)
flutter/devtools#8050, flutter/devtools#3033, flutter/devtools#6642
Extra Info
No response