dart-lang / dart-lang/http

The onDone method could not be called when the connection is broken In LTE.

Open
#1,630 2 comments 2 reactions 0 assignees View on GitHub
package:web_socket_channel
Dominant language
Dart
Stars
1.1k
Forks
419
Avg merge
4d 14h
Merged PRs (30d)
8

Description

I found something wrong, maybe it's a bug of the channel. The thing is that When the channel connecting with LTE, it is ok. But later I have closen the LTE. The stranger thing appeared. The onDone method was not called. I think it 's a bug of the web_socket_channel.
But When using the Wifi, I didn't find the situation. The problem above in my real phone did not exist. Just in simulator.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the reported sequence in the simulator: establish a channel over LTE, disable LTE, and observe whether onDone is called. Compare the behavior with Wi-Fi and a real phone, then trace the web_socket_channel connection lifecycle. Done means the broken LTE connection reliably triggers onDone or the issue is narrowed to the simulator or channel.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart
Domain
networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.