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)
Tracking
(Not tracked)
RESOLVED
WONTFIX
fennec1.0a2
People
(Reporter: christian.bugzilla, Assigned: mcmanus)
References
Details
Attachments
(2 files)
35.02 KB,
patch
|
Details | Diff | Splinter Review | |
1.27 KB,
patch
|
Details | Diff | Splinter Review |
No description provided.
Reporter | ||
Updated•16 years ago
|
Assignee: nobody → mcmanus
Status: NEW → ASSIGNED
Priority: -- → P2
Assignee | ||
Comment 1•16 years ago
|
||
* 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
Updated•16 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → DUPLICATE
Assignee | ||
Updated•16 years ago
|
Assignee | ||
Comment 3•16 years ago
|
||
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.
Assignee | ||
Comment 4•16 years ago
|
||
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.
Assignee | ||
Comment 5•12 years ago
|
||
this is an old maemo bug .. b2g has better approaches now
Status: REOPENED → RESOLVED
Closed: 16 years ago → 12 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•