Skip to content

Feature: CORE-37261: transport framing#32

Merged
twallis-cpr merged 6 commits into
mainfrom
feature/CORE-37261-transport-framing
May 21, 2026
Merged

Feature: CORE-37261: transport framing#32
twallis-cpr merged 6 commits into
mainfrom
feature/CORE-37261-transport-framing

Conversation

@twallis-cpr
Copy link
Copy Markdown
Contributor

Part of the larger proton re-architecture here (internal CPR/OTTO employee eyes only 👀 )

This PR reorganizes the serial transport functions from protonc and adds a new UDP4 transport header for future revisions of the protocol.

The existing serial spec is unchanged, and will likely not be changed in the future. The serial functionality was retained, but the function names were updated to denote that they're specifically for the serial framing, rather than the generic name they had. The functions were moved into core/transport/serial.c and core/include/proton/transport/serial.h. They were previously in common.h.

Existing dependencies on the serial framing (examples, and protoncpp) were updated to temporarily use the new serial.h/serial.c files, before we liquidate them as part of the overall refactor.

Also, added some (admittedly AI generated) unit tests for serial and UDP4 framing. The logic is simple enough.

@twallis-cpr twallis-cpr self-assigned this May 19, 2026
@twallis-cpr twallis-cpr requested a review from a team as a code owner May 19, 2026 21:15
@twallis-cpr twallis-cpr requested review from luis-camero and nnarain-cpr and removed request for a team May 19, 2026 21:15
@twallis-cpr twallis-cpr merged commit 8362ed7 into main May 21, 2026
9 checks passed
@twallis-cpr twallis-cpr deleted the feature/CORE-37261-transport-framing branch May 21, 2026 17:59
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.

2 participants