X Tutup
Skip to content

Fix crash and logic issues#5

Merged
thebentern merged 1 commit intomeshtastic:masterfrom
db3000:logic_issues
Jul 4, 2025
Merged

Fix crash and logic issues#5
thebentern merged 1 commit intomeshtastic:masterfrom
db3000:logic_issues

Conversation

@db3000
Copy link
Copy Markdown

@db3000 db3000 commented May 13, 2025

Partial set of fixes for meshtastic/firmware#6666

Fixes the following issues detailed in meshtastic/firmware#6666 (comment):

  • Crash due to accessing an instance of HTTPHeaders after it is freed inside the HTTPConnection class. This is fixed by making the instance allocated as a class member of HTTPConnection and only cleared instead of freed.
  • Spurious traces on connection close due to mishandling of the return code from the mbedtls_ssl_close_notify call

Both of these issues seem to predate #4.

@CLAassistant
Copy link
Copy Markdown

CLAassistant commented May 13, 2025

CLA assistant check
All committers have signed the CLA.

@db3000
Copy link
Copy Markdown
Author

db3000 commented May 13, 2025

This works on my RAK11200, at least it doesn't crash or print repeated timeout errors anymore. It does still run out of contiguous heap eventually so my HTTPS connections all start failing then.

@thebentern thebentern merged commit 3223704 into meshtastic:master Jul 4, 2025
1 check passed
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

Successfully merging this pull request may close these issues.

3 participants

X Tutup