Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,18 @@ All notable changes to this project will be documented in this file. Dates are d

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

#### [1.8.3](https://github.com/rdkcentral/telemetry/compare/1.8.2...1.8.3)

- RDKB-63722: Build fix for ssl crypto error in platforms with lower ssl version [`#291`](https://github.com/rdkcentral/telemetry/pull/291)

#### [1.8.2](https://github.com/rdkcentral/telemetry/compare/1.8.1...1.8.2)

> 18 March 2026

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

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

Expand Down
14 changes: 11 additions & 3 deletions source/protocol/http/multicurlinterface.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
#include <signal.h>
#include <time.h>
#include <openssl/err.h>
#include <openssl/crypto.h>
#include "multicurlinterface.h"
#include "busInterface.h"
#include "t2log_wrapper.h"
Expand Down Expand Up @@ -689,8 +690,12 @@ T2ERROR http_pool_get(const char *url, char **response_data, bool enable_file_ou
// Release all OpenSSL per-thread state (ERR stack, cached allocations).
// Called at the end of the worker thread's HTTP operation to prevent
// thread-local memory from accumulating across the daemon lifetime.
OPENSSL_thread_stop();

#if OPENSSL_VERSION_NUMBER >= 0x10100000L
OPENSSL_thread_stop();
#else
ERR_remove_thread_state(NULL);
#endif
release_pool_handle(idx);
return T2ERROR_FAILURE;
}
Expand Down Expand Up @@ -1097,9 +1102,12 @@ T2ERROR http_pool_post(const char *url, const char *payload)
#endif

// Release all OpenSSL per-thread state at the end of the worker thread's
// HTTP operation (see http_pool_get for rationale)
// HTTP operation
#if OPENSSL_VERSION_NUMBER >= 0x10100000L
OPENSSL_thread_stop();

#else
ERR_remove_thread_state(NULL);
#endif
// Note: When using LIBRDKCERTSEL_BUILD, pCertURI and pCertPC are owned by the
// cert selector object and are freed when rdkcertselector_free() is called
release_pool_handle(idx);
Expand Down
Loading