Skip to content

Commit

Permalink
RDKTV-29511 :network will auto disconnect then connect (rdkcentral#5062
Browse files Browse the repository at this point in the history
…) (rdkcentral#5071)

* Increased connectivity monitor timeout to 10 sec becuse of
TPV field issue

---------

Co-authored-by: tabbas651 <[email protected]>
Co-authored-by: Karunakaran A <[email protected]>
  • Loading branch information
3 people authored Mar 27, 2024
1 parent f1bfee7 commit eae6e79
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
4 changes: 4 additions & 0 deletions Network/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ All notable changes to this RDK Service will be documented in this file.

* For more details, refer to [versioning](https://github.com/rdkcentral/rdkservices#versioning) section under Main README.

## [1.3.8] - 2024-03-27
### Fixed
- Increased connectivity monitor timeout to 10 sec

## [1.3.7] - 2024-03-25
### Fixed
- Fixed WPEProcess Crash with function libcdosyscall
Expand Down
2 changes: 1 addition & 1 deletion Network/Network.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ using namespace std;

#define API_VERSION_NUMBER_MAJOR 1
#define API_VERSION_NUMBER_MINOR 3
#define API_VERSION_NUMBER_PATCH 7
#define API_VERSION_NUMBER_PATCH 8

/* Netsrvmgr Based Macros & Structures */
#define IARM_BUS_NM_SRV_MGR_NAME "NET_SRV_MGR"
Expand Down
2 changes: 2 additions & 0 deletions Network/NetworkConnectivity.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -363,10 +363,12 @@ namespace WPEFramework {
}
#endif
}

if(curlVerboseEnabled()) {
LOGINFO("endpoints count = %d response count %d, handles = %d, deadline = %ld, time_now = %ld, time_earlier = %ld",
static_cast<int>(endpoints.size()), static_cast<int>(http_responses.size()), handles, deadline, time_now, time_earlier);
}

for (const auto& curl_easy_handle : curl_easy_handles)
{
curl_easy_getinfo(curl_easy_handle, CURLINFO_PRIVATE, &endpoint);
Expand Down
2 changes: 1 addition & 1 deletion Network/NetworkConnectivity.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#define CAPTIVEPORTAL_MAX_LEN 512
#define DEFAULT_MONITOR_TIMEOUT 60 // in seconds
#define MONITOR_TIMEOUT_INTERVAL_MIN 5
#define TEST_CONNECTIVITY_DEFAULT_TIMEOUT_MS 4000
#define TEST_CONNECTIVITY_DEFAULT_TIMEOUT_MS 10000

enum nsm_ipversion {
NSM_IPRESOLVE_WHATEVER = 0, /* default, resolves addresses to all IP*/
Expand Down

0 comments on commit eae6e79

Please sign in to comment.