Skip to content

syslog: serialize output from concurrent tasks - #38

Closed
KrX3D wants to merge 1 commit into
syslogfrom
fix/syslog-task-safety
Closed

KrX3D wants to merge 1 commit into
syslogfrom
fix/syslog-task-safety

Conversation

@KrX3D

@KrX3D KrX3D commented Nov 9, 2026

Copy link
Copy Markdown
Owner
  • Guard the line buffer and UDP object with a recursive mutex on ESP32; loop and AsyncTCP output was garbling lines and could overrun the buffer
  • Remove an unused placeholder from the injected UI and ignore the script's generated files

🤖 Generated with Claude Code

Debug prints come from the main loop and the AsyncTCP task, which shared
the line buffer and UDP object unguarded, producing garbled and duplicated
syslog lines and risking a one-byte buffer overrun. Also drop an unused
template placeholder from the injected UI and ignore the script's
generated files.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@KrX3D

KrX3D commented Nov 16, 2026

Copy link
Copy Markdown
Owner Author

breaks

@KrX3D

KrX3D commented Nov 18, 2026

Copy link
Copy Markdown
Owner Author

Superseded by #46: its commit is part of that branch, together with the per-task line buffering fix. Closing.

@KrX3D KrX3D closed this Nov 18, 2026
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.

1 participant