Open xhc-code opened 2 days ago
Ask an off topic question,May I ask why there have been no new builds for releases since 2020?
https://github.com/flutter/devtools/issues/8502 The same problem, but after reading the content inside, it has not been solved.
https://github.com/xhc-code/my_flutter_network_problem.git
The code here includes both HTTP and sockets when using Dio to request linked data. Moreover, the number of socket and get requests is not equal.
The request for Image.network network images is not displayed in the network view.
Having the same issues with using http package on latest Flutter 3.24.4.
What is actually requested in the picture https://cdn.pixabay.com/photo/2023/09/25/20/138/lisbon-8275994_1280.jpg Request, but in Flutter's debugging network, it shows a socket request and cannot see the parameters of the request and response. May I ask why this is? We are using Flutter>version 3.4.1 and the Dio: ^ 5.4.3+1 request library.
The actual requests sent are all HTTP or HTTPS, but all the requests displayed in the socket are socket requests. I don't know where the problem lies because the socket is clearly not used.
Using an Android emulator
Image.network("https://cdn.pixabay.com/photo/2023/09/25/20/138/lisbon-8275994_1280.jpg", width: 50, height: 50,), This is the image component that makes the request, and requests made using the Dio library are also socket requests displayed on the network.