Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

To big BearSSL::WiFiClientSecure buffer size #231

Open
se-fLa opened this issue May 1, 2024 · 0 comments
Open

To big BearSSL::WiFiClientSecure buffer size #231

se-fLa opened this issue May 1, 2024 · 0 comments

Comments

@se-fLa
Copy link

se-fLa commented May 1, 2024

writePoint failes and often crashes with out of memory on ESP12 device due to big buffer size and possibly TLS1.3
Refer to suggestion: #230

Steps to reproduce:
Secure connection to InfluxDb server from a ESP12 device, 4MB.

Expected behavior:
Not crash, be able to specify buffer sizes and TLS version.
The MFLN should limit the buffer size but not working.

Actual behavior:
OOM crash and writePoint() fails to write the data point due to big buffer and causes crash.
Works if buffer set to 512,512 and TLS1.2

Refer to: #230

Specifications:

  • Library Version: 3.13.1
  • InfluxDB Version: InfluxDB v2.7.5
  • Board/ESP chip: ESP12 4MB
  • Device Arduino SDK version: 1.8.19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant