8400
|
|
|
Grant Erickson |
4 days ago
|
 |
|
8399
|
|
|
Grant Erickson |
4 days ago
|
 |
|
8398
|
|
|
Grant Erickson |
4 days ago
|
 |
|
8397
|
|
|
Grant Erickson |
4 days ago
|
 |
|
8396
|
|
|
Grant Erickson |
6 days ago
|
 |
|
8395
|
|
|
Grant Erickson |
6 days ago
|
 |
|
8394
|
|
|
Grant Erickson |
6 days ago
|
 |
|
8393
|
|
|
Grant Erickson |
6 days ago
|
 |
|
8392
|
|
|
Grant Erickson |
6 days ago
|
 |
|
8391
|
|
|
Grant Erickson |
6 days ago
|
 |
|
8390
|
|
|
Grant Erickson |
6 days ago
|
 |
|
8389
|
|
|
Grant Erickson |
6 days ago
|
 |
|
8388
|
|
service: Leverage '__connman_wispr_cancel'.
This leverages the newly-introduced '__connman_wispr_cancel' in 'cancel_online_check' to ensure that a pending or in-flight WISPr portal detection request or an "online" HTTP-based Internet reachability check is canceled not only in the service module but in the WISPr module as well.
This prevents two concurrent, outstanding, and redundant IPv4 WISPr requests from being in-flight when 'EnableOnlineCheck' is asserted.
Prior to this change, this redundancy was set in motion by:
1. The two back-to-back IPv4 probes get triggered by both of the following paths:
a. Triggered from 'default_changed' and 'start_wispr_if_connected'. This is the newer path, chronologically, in the code base.
b. Triggered from 'service_ip_bound', 'address_updated', and 'start_online_check'. This is the older path, chronologically, in the code base.
2. With the following commits addressed:
a. 812e171 ("Close three '__connman_wisp_start' failure closure holes.")
* With this fix alone, at minimum, the first probe above (1) would have resulted, eventually in a failure closure with 'complete_online_check'.
b. 5f95851 ("wispr: Avoid 'connman_proxy_lookup' call for UNKNOWN proxy method.") fixed, the first IPv4 probe from (1) no longer "falls down a 'hole'" and gets lost (closure- and accounting- wise).
* With this fix, the first IPv4 probe is no longer a complete throwaway--it actually succeeds. However, since it does so, it becomes the first of the two redundant IPv4 checks.
By employing '__connman_wispr_cancel', 'cancel_online_check' quells the first IPv4 check triggered from 'default_changed' and 'start_wispr_if_connected' and replaces it, fully (in BOTH the service and WISpr modules), with the second IPv4 check triggered from 'service_ip_bound', 'address_updated', and 'start_online_check'.
|
Grant Erickson |
6 days ago
|
 |
|
8387
|
|
|
Grant Erickson |
6 days ago
|
 |
|
8386
|
|
|
Grant Erickson |
6 days ago
|
 |
|
8385
|
|
|
Grant Erickson |
6 days ago
|
 |
|
8384
|
|
|
Grant Erickson |
6 days ago
|
 |
|
8383
|
|
|
Grant Erickson |
6 days ago
|
 |
|
8382
|
|
|
Grant Erickson |
6 days ago
|
 |
|
8381
|
|
|
Grant Erickson |
6 days ago
|
 |
|