Skip to content

Bugfix - rest 5 request producer double memory allocation#1122

Merged
l-trotta merged 2 commits into
mainfrom
request-producer-bugfix
Jan 8, 2026
Merged

Bugfix - rest 5 request producer double memory allocation#1122
l-trotta merged 2 commits into
mainfrom
request-producer-bugfix

Conversation

@l-trotta

@l-trotta l-trotta commented Jan 8, 2026

Copy link
Copy Markdown
Contributor

Fixed bug in the request producer logic in Rest5Client where if the request type received was itself an instance of request producer (mostly happening with MultiBufferEntity) both "produce" methods would be called (the rest client request producer and the entity ones), causing unnecessary memory allocation where only the entity's method should be called.

@l-trotta
l-trotta merged commit 911b594 into main Jan 8, 2026
12 checks passed
@l-trotta
l-trotta deleted the request-producer-bugfix branch January 8, 2026 13:49
github-actions Bot pushed a commit that referenced this pull request Jan 8, 2026
github-actions Bot pushed a commit that referenced this pull request Jan 8, 2026
github-actions Bot pushed a commit that referenced this pull request Jan 8, 2026
github-actions Bot pushed a commit that referenced this pull request Jan 8, 2026
l-trotta added a commit that referenced this pull request Jan 8, 2026
Co-authored-by: Laura Trotta <153528055+l-trotta@users.noreply.github.com>
l-trotta added a commit that referenced this pull request Jan 8, 2026
Co-authored-by: Laura Trotta <153528055+l-trotta@users.noreply.github.com>
l-trotta added a commit that referenced this pull request Jan 8, 2026
Co-authored-by: Laura Trotta <153528055+l-trotta@users.noreply.github.com>
l-trotta added a commit that referenced this pull request Jan 8, 2026
Co-authored-by: Laura Trotta <153528055+l-trotta@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant