Skip to content

Cancelled requests are shown as "Pending" in Devtools Network Tab #9593

@lewinpauli

Description

@lewinpauli

I am opening this ticket because the original ticket has been falsely closed #6642 or problem occurs again.

Dio provided a feature for canceling requests (http package also has this feature now). Under the hood it uses HttpClientRequest.abort (see here in dio's source.

However, in DevTools it shows the request as Pending:

Image

It would be nice if it could show, that the request has been cancelled.

Flutter Channel stable, 3.38.4 , Linux

Example Code

DartPad dio cancellable request

if you copy the code into a flutter project and open the Dart Devtools Network Page you will see that cancelled request are still displayed as "Pending"

Wireshark is showing correct RST pakets

and chrome devtools are also showing correct cancelled status

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2important to work on, but not at the top of the work list.screen: networkIssues with the Network screen.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions