Closed Bug 465307 Opened 16 years ago Closed 12 years ago

Optimize network behavior in accordance with bearer

Categories

(Firefox for Android Graveyard :: General, enhancement, P2)

Other
Maemo
enhancement

Tracking

(Not tracked)

RESOLVED WONTFIX
fennec1.0a2

People

(Reporter: christian.bugzilla, Assigned: mcmanus)

References

Details

Attachments

(2 files)

No description provided.
Assignee: nobody → mcmanus
Status: NEW → ASSIGNED
Priority: -- → P2
* would probably want to udpate the usual suspects: parallelism, pipelining, proxy definitions and their auth tokens * would also want to close any persistent connections and flush the dns cache on change of network I'm pretty sure that can all be done dynamically in the existing framework by shuffling prefs around. Trickier is how to trigger that (i.e. how to identify change of network) and how to configure it. I can't think of anything portable to get that information. But there do seem to be some platform specific answers. Googling around a bit for platform based solutions, suggestor is probably thinking of doing it with libconic which is in maemo: http://maemo.org/api_refs/4.1/libconic-0.16/ It looks like windows can provide something too http://msdn.microsoft.com/en-us/library/ms729302(VS.85).aspx target n810 + maemo first
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → DUPLICATE
Blocks: 437953
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
This patch does the following - * extend nsINetworkLinkService (2) to provide accessors for network name (often wifi name), and network type (mobile, wired, wlan, unknown). Observer notification made when any of those properties change. * Implement new interface for Maemo via DBus * create nsILinkBasedPrefs interface and implementation. Implementation links together default preferences with link-property contexts. Using this you can set different default preferences for different types of networks, or different network names. For instance "pref("network.linkpref.name.ducksong.misc.tree", false);" would set misc.tree to false if and only if the current network name was "ducksong". If the network name changed again misc.tree would be reset to its original value. * Change the DNS implementation to note the change-in-link notification, and on receipt of this to clear its cache. This can help improve robustness in the case of mobile clients on split-DNS networks.
When the mobile device is known to be using a wired or wlan network, disable the pipelining default. We might also want to use this infrastructure for other properties that are found to be latency sensitive - paint delay might be a candidate for that. users may want to use this infrastructure for setting proxy preferneces - as you change networks the proxy settings can change automatically.
this is an old maemo bug .. b2g has better approaches now
Status: REOPENED → RESOLVED
Closed: 16 years ago12 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: