Skip to content

Commit d8bcf7f

Browse files
committed
Merge branch 'release/1.8.3'
2 parents 8afabb7 + cac6d7f commit d8bcf7f

2 files changed

Lines changed: 18 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,18 @@ All notable changes to this project will be documented in this file. Dates are d
44

55
Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
66

7+
#### [1.8.3](https://github.com/rdkcentral/telemetry/compare/1.8.2...1.8.3)
8+
9+
- RDKB-63722: Build fix for ssl crypto error in platforms with lower ssl version [`#291`](https://github.com/rdkcentral/telemetry/pull/291)
10+
711
#### [1.8.2](https://github.com/rdkcentral/telemetry/compare/1.8.1...1.8.2)
812

13+
> 18 March 2026
14+
915
- RDKB-63722:Analyze and fix/mitigate memory leaks from curl_easy_perform calls [`#287`](https://github.com/rdkcentral/telemetry/pull/287)
1016
- Agentic development and maintenance support [`#278`](https://github.com/rdkcentral/telemetry/pull/278)
1117
- RDKEMW-10467: Fix Invalid time values caused by drift [`#212`](https://github.com/rdkcentral/telemetry/pull/212)
18+
- Changelog updates for release 1.8.2 [`28b5426`](https://github.com/rdkcentral/telemetry/commit/28b542668e814411234f0a0d594e5c5d35b98319)
1219

1320
#### [1.8.1](https://github.com/rdkcentral/telemetry/compare/1.8.0...1.8.1)
1421

source/protocol/http/multicurlinterface.c

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
#include <signal.h>
3535
#include <time.h>
3636
#include <openssl/err.h>
37+
#include <openssl/crypto.h>
3738
#include "multicurlinterface.h"
3839
#include "busInterface.h"
3940
#include "t2log_wrapper.h"
@@ -689,8 +690,12 @@ T2ERROR http_pool_get(const char *url, char **response_data, bool enable_file_ou
689690
// Release all OpenSSL per-thread state (ERR stack, cached allocations).
690691
// Called at the end of the worker thread's HTTP operation to prevent
691692
// thread-local memory from accumulating across the daemon lifetime.
692-
OPENSSL_thread_stop();
693693

694+
#if OPENSSL_VERSION_NUMBER >= 0x10100000L
695+
OPENSSL_thread_stop();
696+
#else
697+
ERR_remove_thread_state(NULL);
698+
#endif
694699
release_pool_handle(idx);
695700
return T2ERROR_FAILURE;
696701
}
@@ -1097,9 +1102,12 @@ T2ERROR http_pool_post(const char *url, const char *payload)
10971102
#endif
10981103

10991104
// Release all OpenSSL per-thread state at the end of the worker thread's
1100-
// HTTP operation (see http_pool_get for rationale)
1105+
// HTTP operation
1106+
#if OPENSSL_VERSION_NUMBER >= 0x10100000L
11011107
OPENSSL_thread_stop();
1102-
1108+
#else
1109+
ERR_remove_thread_state(NULL);
1110+
#endif
11031111
// Note: When using LIBRDKCERTSEL_BUILD, pCertURI and pCertPC are owned by the
11041112
// cert selector object and are freed when rdkcertselector_free() is called
11051113
release_pool_handle(idx);

0 commit comments

Comments
 (0)