Skip to content

TCP improvements#194

Open
ZipFile wants to merge 1 commit into
attwad:mainfrom
ZipFile:tcp-cleanup
Open

TCP improvements#194
ZipFile wants to merge 1 commit into
attwad:mainfrom
ZipFile:tcp-cleanup

Conversation

@ZipFile

@ZipFile ZipFile commented Jul 14, 2026

Copy link
Copy Markdown
  • Deduplicate framing parsing:
    • It was done 4 times in 4 different places. Not good.
    • New implementation tries to avoid excess memory allocations. Could be done better, but that would require major architectural changes.
    • Abstractions for the god of abstractions.
  • Remove redundant logging, since this info in one way or another is logged by Python itself (see changes in examples).
  • Update TCP examples to utilize request-response feature. There already was some logic to print responses, but nothing were sent to the server that would trigger actual response.

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