Closed Bug 604978 Opened 14 years ago Closed 5 years ago

Connection-Request sometimes take very long on Mobile Devices

Categories

(Firefox for Android Graveyard :: General, defect)

ARM
MeeGo
defect
Not set
normal

Tracking

(fennec-)

RESOLVED WONTFIX
Tracking Status
fennec - ---

People

(Reporter: jbos, Unassigned)

Details

The user is offline and want to load a website. Currently it can take up to 2-5 minutes until she sees a connection dialog.

DETAILES:
The issue is that we at first create a socket and try to load data. Only if we fail in loading, we are requesting a connection. 
But in fact, this takes sometimes very long - regarding to slow DNS Lookups (timeout of 1 minute), Proxys and so on this can take very long.
The idea is, that we - at firs which are slow of a lot of different nameservers, routes and interfaces to try. 

SOLUTION?
The solution might be that at first, when we create a socket (onSocketEvent) in nsSocketTransport2 - we check if we are online, if so - we are just keep doing what we already did and react on Error. But if we are offline we are just requesting the connection - without try'n'error first.
tracking-fennec: --- → ?
not blocking.  love to see a patch to address this, but not blocking fennec 2.0.
tracking-fennec: ? → 2.0-
Closing all opened bug in a graveyard component
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.